summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-08-26Fix toolbox permission issue when enabling cephliyingjun1-0/+3
Directory /home/ansible/.ansible and file /var/log/kolla/ansible.log are not created by default in toolbox image, so when ceph enabled, the directory and file will be created with user 'root' instead of user 'ansible' after running bootstrap osds because it using sudo when bootstraping osds, this will cause permission denied issue for other commands not using sudo. Fixes this issue by initializing ansible by running 'ansible localhost --version' using user 'ansible' TrivialFix Change-Id: Ibac3f98b3b72cbe287ee1d3a69ed9cea7ae3cd9e
2016-08-25Import the Murano core libary as part of setupPaul Bourke5-3/+53
In order for Murano to be operational the core library package must be imported [0] Add Ansible tasks to do this idempotently. [0] http://docs.openstack.org/developer/murano/install/manual.html TrivialFix Change-Id: I2c49e9d663595650b885267839012b543505337a
2016-08-25Customizations for NovaPaul Bourke12-171/+270
Change-Id: I7556d6cd473516c7ceb4aba7c1ba1130af2544ee Partially-implements: blueprint third-party-plugin-support
2016-08-25Customizations for IronicShaun Smekel5-60/+57
This patchset contains customization of Dockerfile of Ironic containers. Change-Id: If6ffb741111127886f754ddebd17059174387fc8 Partially-implements: blueprint third-party-plugin-support
2016-08-25Customizations for RabbitMQShaun Smekel1-12/+17
This patchset contains customization of Dockerfile of the RabbitMQ container. Change-Id: I5b0120dc63586b3bf2312375de963fe8434a48b8 Partially-implements: blueprint third-party-plugin-support
2016-08-25Add dockerfiles for keystone fernetShaun Smekel11-23/+230
This adds the docker aspects of fernet key bootstrapping as well as distributed key rotation. - Bootstrapping is handled in the same way as keystone bootstrap. - A new keystone-fernet and keystone-ssh container is created to allow the nodes to communicate with each other (taken from nova-ssh). - The keystone-fernet is a keystone container with crontab installed. This will handle key rotations through keystone-manage and trigger an rsync to push new tokens to other nodes. The Ansible component is implemented in: https://review.openstack.org/#/c/349366 Change-Id: Id610e00e8c63c7f1bc0974c0aa1b3f44c18e1019 Partially-Implements: blueprint keystone-fernet-token Partially-Implements: blueprint third-party-plugin-support
2016-08-25Add full support for fernetShaun Smekel24-12/+384
This addresses the ansible aspects of fernet key bootstrapping as well as distributed key rotation. - Bootstrapping is handled in the same way as keystone bootstrap. - A new keystone-fernet and keystone-ssh container is created to allow the nodes to communicate with each other (taken from nova-ssh). - The keystone-fernet is a keystone container with crontab installed. This will handle key rotations through keystone-manage and trigger an rsync to push new tokens to other nodes. - Key rotation is setup to be balanced across the keystone nodes using a round-robbin style. This ensures that any node failures will not stop the keys from rotating. This is configured by a desired token expiration time which then determines the cron scheduling for each node as well as the number of fernet tokens in rotation. - Ability for recovered node to resync with the cluster. When a node starts it will run sanity checks to ensure that its fernet tokens are not stale. If they are it will rsync with other nodes to ensure its tokens are up to date. The Docker component is implemented in: https://review.openstack.org/#/c/349366 Change-Id: I15052c25a1d1149d364236f10ced2e2346119738 Implements: blueprint keystone-fernet-token
2016-08-25Set 'balance source' for Horizon in haproxyPaul Bourke1-0/+2
This ensures that the same client IP address will always reach the same server as long as no server goes down or up. [0] Prevents a situation where during Murano package upload - we end up having zip file on one control node but the import continues on another and ends up failing. [0] http://cbonte.github.io/haproxy-dconv/configuration-1.7.html#4-balance TrivialFix Co-Authored-By: Vladislav Belogrudov <vladislav.belogrudov@oracle.com> Change-Id: I5f90d2757f31e8b24459a585153d5aa7fe6ad90a
2016-08-25Move to transport_url for rabbitmq configurationJeffrey Zhang13-78/+24
rabbit_hosts, rabbit_userid and rabbit_password are deprecated for removal.[0] rpc_backend is deprecated for removal.[1] rabbit_ha_queues is deprecated. it is useless when using RabbitMQ >= 3.0 [2] [0] https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/impl_rabbit.py#L112,#L134 [1] https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/transport.py#L46 [2] https://github.com/openstack/oslo.messaging/blob/master/oslo_messaging/_drivers/impl_rabbit.py#L163,L174 Closes-Bug: #1614082 Change-Id: I05d318ba6c11c5dbfa9fbf67d088a43ab465be30
2016-08-25Updated from global requirementsOpenStack Proposal Bot1-1/+1
Change-Id: Ifbfd85ae44985049fdfb73a90078893511f0beab
2016-08-24Add etcd containerHui Kang5-1/+38
Change-Id: Ib5a853c0048a45d9085c55804580c7ed2fd0fc07 Partially-implements: bp kuryr-docker-plugin
2016-08-24Add defaults for interfaces to all.ymlPaul Bourke2-2/+10
The values for 'network_interface' and 'neutron_external_interface' are missing from all.yml, meaning it is impossible to override them on a per node / per group basis. (globals.yml get's top precedence). Make these consistent with the rest of the variables and move the defaults into all.yml. Operators can still override / update these in globals.yml as before, but those wanting more flexibility now have it via host / group variables. Change-Id: I2575921f76a8e245106da765757c70353bd6762c Closes-Bug: #1604129
2016-08-24Fix bug in Elasticsearch roleDuong Ha-Quang3-0/+68
Add Ansbile reconfigure playbook to Elasticsearch role. Add run condition to start playbook in Elasticsearch role. Change-Id: I7862089cae55d392eb2d922f89a382d392cf8b97 Closes-Bug: #1616005
2016-08-24Merge "ironic.conf file missing enabled_drivers info"Jenkins1-0/+2
2016-08-24Merge "Fix Ubuntu binary build and deploy gate"Jenkins4-3/+8
2016-08-24Fix Ubuntu binary build and deploy gateJeffrey Zhang4-3/+8
Signed-off-by: Jeffrey Zhang <jeffrey.zhang@99cloud.net> Closes-Bug: #1616349 Change-Id: I82a245474392d22017faf30fa89d6dc5e01ab2c2
2016-08-24Merge "Add missing \n at end of file"Jenkins2-2/+2
2016-08-23Add missing \n at end of fileChristian Berendt2-2/+2
TrivialFix Change-Id: If5221d695bf966b4de57b4f3f7bfe1eeeb4199ff
2016-08-23Add mariadb client binaries to kolla-toolboxStephan Michaud1-0/+2
The kolla-toolbox container contains ansible which has the mysql_db module which helps on various mysql tasks such as db creation. The mysql_db module requires certain mysql binaries in order to accomplish tasks such as restoring a database from a dump. This change adds those client libraries which weren't previously included in the container. Change-Id: I6516838381bf9327c8901fc4c32ebd5151fb053f Signed-off-by: Stephan Michaud <michauds90@gmail.com> Closes-Bug: #1616155
2016-08-23Merge "add baremetal role to install kolla deps."Jenkins18-2/+454
2016-08-23Merge "Remove log propagate configuration"Jenkins1-1/+0
2016-08-23Merge "Sync the local_settings.j2 with horizon"Jenkins1-60/+203
2016-08-23Merge "Remove Kazoo dependency and Kolla Zookeeper helper"Jenkins4-71/+2
2016-08-23Merge "Pin Ansible version to 2.1.1.0 in kolla-toolbox"Jenkins1-1/+1
2016-08-23Merge "Updated from global requirements"Jenkins1-1/+1
2016-08-23Merge "Fix some minor errors in the doc"Jenkins2-2/+6
2016-08-23Merge "py3:Remove six.iterXXX"Jenkins2-4/+2
2016-08-23Merge "Added Test case for env and volume comp"Jenkins1-0/+56
2016-08-23Merge "Added Test case for attribute comp"Jenkins1-0/+71
2016-08-23Fix some minor errors in the doccaowei2-2/+6
1.remove the # - it makes copy and paste very difficult 2.change "ubuntu" to "Ubuntu" 3.add "Restart docker by executing the following commands: " TrivialFix Change-Id: I0192d9fd7f597b0e2dc8d26d4fe5ba8b32483ce0
2016-08-23py3:Remove six.iterXXXLu lei2-4/+2
1、As mentioned in [1], we should avoid using six.iteritems/keys achieve iterators. We can use dict.items/keys instead, as it will return iterators in PY3 as well. And dict.items/keys will more readable. 2、In py2, the performance about list should be negligible, see the link [2]. [1] https://wiki.openstack.org/wiki/Python3 [2] http://lists.openstack.org/pipermail/openstack-dev/ 2015-June/066391.html TrivialFix. Change-Id: I0cbe8af3210233a58d25f0df187c3d085405aa2a
2016-08-22Fix typo in iscsi pull playbookTin Lam1-3/+3
In ansible/roles/iscsi/tasks/pull.yml, there are references to 'iscsi', which should be 'iscsid' instead. This patchset fixes this typo. Change-Id: Id2c31bf69556ec8dcf66cc1d32d2bfe77f02367b Closes-bug: #1602566
2016-08-22Vagrant doc updatesSwapnil Kulkarni (coolsvap)1-4/+10
Updated vagrant doc to include - package installs for CentOS - add git and gcc required during install Change-Id: Ic52350fb16f69cde87bd1a8177d4a76ef7fd4f5e
2016-08-21fix sahara dockerfilezhubingbing4-7/+17
1. add sahara sudoer 2. sahara config path is error sahara config path is : /sahara/etc/sahara 3. sahara sync db command is error sync db command is: sahara-db-manage Reference link: http://docs.openstack.org/developer/sahara/userdoc/installation.guide.html Change-Id: Ic4967248079bb555a2f6c0948782fc3c02d2903d Closes-Bug: #1609860
2016-08-21Pin Ansible version to 2.1.1.0 in kolla-toolboxJeffrey Zhang1-1/+1
Use a fixed and released Ansible version to keep stability. Change-Id: I885816d85249b15be91b5a101718a05841a20c18 Closes-Bug: #1615350
2016-08-21Remove log propagate configurationJeffrey Zhang1-1/+0
Disable the log propagate for all logger is bad. TrivialFix Change-Id: I5e9a3356c7a34710ac2c020fa32370b5172411d2
2016-08-21Updated from global requirementsOpenStack Proposal Bot1-1/+1
Change-Id: I402fdf7d24071cf85c9bb5ca839cff785e69e08e
2016-08-20Sync the local_settings.j2 with horizonJeffrey Zhang1-60/+203
local_settings.j2 is out of date, sync with the horizon TrivialFix Change-Id: I4771452504a7f0caeeac7b8801dcc2350e70b6ca
2016-08-20Implement mongodb replication set clusterJeffrey Zhang7-15/+67
Closes-Bug: #1605457 Change-Id: I1a8e746f79f4dfcc5a43e736c3461b316db3f593
2016-08-20Create the nova instances directory when need during startingJeffrey Zhang2-37/+1
The /var/lib/nova/instances should be create if it do not exist during starting nova-compute container. Rather than create it at the bootstrap service stage. Change-Id: Ibcc5fb8eec0b38cf2b4313f48d1beb3ba83b1e85 Closes-Bug: #1614970
2016-08-20Use dumb-init to manage the pid 1 processJeffrey Zhang4-3/+8
Normally, when you launch a Docker container, the process you're executing becomes PID 1, giving it the quirks and responsibilities that come with being the init system for the container. There are two common issues this presents: * In most cases, signals won't be handled properly. * Orphaned zombie processes aren't properly reaped. the dumb-init acting like a simple init system. It launches a single process and then proxies all received signals to a session rooted at that child process. Closes-Bug: #1614509 Change-Id: I9d3d04648e151ddc7c6732b92ffd3b6c9fe467ec
2016-08-20Make tox -e docs workSteven Dake2-15/+17
There were some problems in the documentaiton that prevented tox -e docs from working. Also changed attention to WARNING since attention was not as eye-grabbing as I'd hoped during a previous review. Change-Id: I2b661afa2cd4a4331bbcc99240d3e127a5d94a11
2016-08-20Merge "Pin to Ubuntu 16.04"Jenkins7-14/+21
2016-08-20Merge "Fix Ubuntu source gate deployment"Jenkins1-2/+17
2016-08-20Merge "Fix the location of Kolla configurations in the evaluation workflow"Jenkins1-5/+4
2016-08-20Pin to Ubuntu 16.04Jeffrey Zhang7-14/+21
Upgrade Ubuntu base image to Xenial Closes-Bug: #1593599 Change-Id: I5832a729a9a4fa73c02442047c92ba088ce20db3
2016-08-20Fix Ubuntu source gate deploymentJeffrey Zhang1-2/+17
In CI environment, MySQL-python wheel package has a wrong _mysql.so file, which is not compatible with Ubuntu. Disable wheel index in the CI for pip. Closes-Bug: #1615231 Change-Id: I127ebb017e09a5bf245e0fdad9bf052203e68e55
2016-08-20Remove unnecessary host at haproxy in site.ymlEduardo Gonzalez1-15/+1
A list of host is not necessary because in haproxy/main.yml [0] the role is only applied to haproxy hosts [0] https://github.com/openstack/kolla/blob/master/ansible/roles/haproxy/tasks/main.yml Change-Id: Id462315dc225d235917093cdf377ec574368a458 Closes-Bug: #1613648 Signed-off-by: Eduardo Gonzalez <dabarren@gmail.com>
2016-08-20Remove the RUN directive for macros.install_packages in the DockerfileJeffrey Zhang2-2/+2
TrivialFix Change-Id: Ib2474257554e0b294bc39a658108326fcbbdbe58
2016-08-19Merge "Optimize horizon cache and compress for http response"Jenkins2-0/+45