4913 Commits

Author SHA1 Message Date
Paul Bourke
158a852998 Add defaults for interfaces to all.yml
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-24 14:45:14 +00:00
Duong Ha-Quang
1d56fcb4f0 Fix bug in Elasticsearch role
Add Ansbile reconfigure playbook to Elasticsearch role.
Add run condition to start playbook in Elasticsearch role.

Change-Id: I7862089cae55d392eb2d922f89a382d392cf8b97
Closes-Bug: #1616005
2016-08-24 20:12:47 +07:00
Jenkins
bf991ff61f Merge "ironic.conf file missing enabled_drivers info" 2016-08-24 11:47:38 +00:00
Jenkins
0d661a1e59 Merge "Fix Ubuntu binary build and deploy gate" 2016-08-24 11:46:27 +00:00
Jeffrey Zhang
2a1c25d6e3
Fix Ubuntu binary build and deploy gate
Signed-off-by: Jeffrey Zhang <jeffrey.zhang@99cloud.net>
Closes-Bug: #1616349
Change-Id: I82a245474392d22017faf30fa89d6dc5e01ab2c2
2016-08-24 16:14:04 +08:00
Jenkins
d8755e173f Merge "Add missing \n at end of file" 2016-08-24 05:35:59 +00:00
Christian Berendt
598b71876a Add missing \n at end of file
TrivialFix

Change-Id: If5221d695bf966b4de57b4f3f7bfe1eeeb4199ff
2016-08-23 23:45:27 +02:00
Stephan Michaud
29c542186b Add mariadb client binaries to kolla-toolbox
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-23 16:54:18 -04:00
Jenkins
ed678a829a Merge "add baremetal role to install kolla deps." 2016-08-23 16:28:17 +00:00
Jenkins
20706e223d Merge "Remove log propagate configuration" 2016-08-23 12:02:31 +00:00
Jenkins
999f8c3c32 Merge "Sync the local_settings.j2 with horizon" 2016-08-23 11:44:55 +00:00
Jenkins
e1e28f7505 Merge "Remove Kazoo dependency and Kolla Zookeeper helper" 2016-08-23 10:57:30 +00:00
Jenkins
c03ed5d16e Merge "Pin Ansible version to 2.1.1.0 in kolla-toolbox" 2016-08-23 10:21:15 +00:00
Jenkins
f4b82072cb Merge "Updated from global requirements" 2016-08-23 10:21:06 +00:00
Jenkins
a9f875cddb Merge "Fix some minor errors in the doc" 2016-08-23 10:12:13 +00:00
Jenkins
4d1b3e2471 Merge "py3:Remove six.iterXXX" 2016-08-23 10:12:06 +00:00
Jenkins
9d37b789ac Merge "Added Test case for env and volume comp" 2016-08-23 09:48:25 +00:00
Jenkins
3cec06ea72 Merge "Added Test case for attribute comp" 2016-08-23 09:48:18 +00:00
caowei
c3410a9cfe Fix some minor errors in the doc
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-23 07:37:17 +00:00
Lu lei
2fb98a6b82 py3:Remove six.iterXXX
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-23 14:34:35 +08:00
Tin Lam
02da8e5104 Fix typo in iscsi pull playbook
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-22 21:12:38 -05:00
Swapnil Kulkarni (coolsvap)
61e74c9273 Vagrant doc updates
Updated vagrant doc to include

- package installs for CentOS
- add git and gcc required during install

Change-Id: Ic52350fb16f69cde87bd1a8177d4a76ef7fd4f5e
2016-08-22 04:23:23 +00:00
zhubingbing
860e341034 fix sahara dockerfile
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-21 16:16:10 +00:00
Jeffrey Zhang
1a7af3e10b Pin Ansible version to 2.1.1.0 in kolla-toolbox
Use a fixed and released Ansible version to keep stability.

Change-Id: I885816d85249b15be91b5a101718a05841a20c18
Closes-Bug: #1615350
2016-08-21 16:53:39 +08:00
Jeffrey Zhang
9946b566d5 Remove log propagate configuration
Disable the log propagate for all logger is bad.

TrivialFix

Change-Id: I5e9a3356c7a34710ac2c020fa32370b5172411d2
2016-08-21 00:54:01 +00:00
OpenStack Proposal Bot
08f1ddad88 Updated from global requirements
Change-Id: I402fdf7d24071cf85c9bb5ca839cff785e69e08e
2016-08-21 00:04:43 +00:00
Jeffrey Zhang
254f7cc33d Sync the local_settings.j2 with horizon
local_settings.j2 is out of date, sync with the horizon

TrivialFix

Change-Id: I4771452504a7f0caeeac7b8801dcc2350e70b6ca
2016-08-20 17:30:47 +00:00
Jeffrey Zhang
2b741eb870 Create the nova instances directory when need during starting
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-20 17:30:13 +00:00
Jeffrey Zhang
6710bbeb7c Use dumb-init to manage the pid 1 process
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-20 17:27:17 +00:00
Steven Dake
755d5172b3 Make tox -e docs work
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-20 09:31:07 -07:00
Jenkins
6667bcfc97 Merge "Pin to Ubuntu 16.04" 2016-08-20 15:57:39 +00:00
Jenkins
d24004efec Merge "Fix Ubuntu source gate deployment" 2016-08-20 15:48:57 +00:00
Jenkins
6d89528171 Merge "Fix the location of Kolla configurations in the evaluation workflow" 2016-08-20 15:47:34 +00:00
Jeffrey Zhang
04d6736e89 Pin to Ubuntu 16.04
Upgrade Ubuntu base image to Xenial

Closes-Bug: #1593599
Change-Id: I5832a729a9a4fa73c02442047c92ba088ce20db3
2016-08-20 22:30:28 +08:00
Jeffrey Zhang
2e0c5ecbf8 Fix Ubuntu source gate deployment
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-20 22:28:13 +08:00
Eduardo Gonzalez
423e3f3fdf Remove unnecessary host at haproxy in site.yml
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-20 12:52:51 +02:00
Jeffrey Zhang
f2a2b69c6a Remove the RUN directive for macros.install_packages in the Dockerfile
TrivialFix

Change-Id: Ib2474257554e0b294bc39a658108326fcbbdbe58
2016-08-20 13:35:09 +08:00
Jenkins
464715d1ad Merge "Optimize horizon cache and compress for http response" 2016-08-19 15:54:02 +00:00
Jenkins
8b49d6611e Merge "Add basic checking for network_interface to prechecks" 2016-08-19 15:53:10 +00:00
Jenkins
edf0d99dcc Merge "Customizations for Elasticsearch" 2016-08-19 15:41:58 +00:00
Szymon Konefal
e0a9347ebc Remove Kazoo dependency and Kolla Zookeeper helper
Related-Bug: #1577194

Change-Id: Idad2a78d3b4251a321c1a05b435bff4625d5fe56
2016-08-19 17:07:19 +02:00
Jenkins
3d1171f0d3 Merge "Start using orchestration_engine variable" 2016-08-19 15:06:07 +00:00
Abishek Subramanian
0002898617 Fix the location of Kolla configurations in the evaluation workflow
The location for the Kolla configurations in the workflow for evaluation
needs to be fixed correctly to /usr/share/kolla/etc_examples

This was brought up on IRC -
http://eavesdrop.openstack.org/irclogs/%23openstack-kolla/%23openstack-kolla.2016-08-18.log.html#t2016-08-18T21:02:18

Change-Id: Ie9f651308a7b51cfd3ad1c617637bab1b5cc568e
2016-08-19 11:06:05 -04:00
Jenkins
d9db6bb81e Merge "Update heat base Dockerfile to include footers" 2016-08-19 14:14:58 +00:00
Jenkins
24c55ff789 Merge "Handle empty package list for install_packages" 2016-08-19 13:28:55 +00:00
Jenkins
cafe368a72 Merge "Add Dockerfile for congress" 2016-08-19 10:51:01 +00:00
Shaun Smekel
a9d08726f5 Handle empty package list for install_packages
Currently if the install_packages macro is run with an empty
package list, it will add a yum or apt-get command with no
packages listed.

This bug fix aims to omit this line when no packages have
been given, or, the operator wants to use the "_override" /
"_remove" functionality to disable all packages being
installed in a Dockerfile.

Co-Authored-By: Paul Bourke <paul.bourke@oracle.com>
Change-Id: Ifaaaebfccc3adb0f2f68a35ac08e59378bc87fdb
Closes-bug: 1612446
2016-08-19 10:49:03 +00:00
Paul Bourke
a01b803b53 Add basic checking for network_interface to prechecks
Add the following prechecks for network_interface:

* Check it exists on the node
* Check its up
* Check it has an IP associated

TrivialFix
Change-Id: I86f1d79d8592a3b108822e7d19541f91a1c0d716
Co-Authored-By: James McCarthy <james.m.mccarthy@oracle.com>
2016-08-19 09:39:50 +00:00
OpenStack Proposal Bot
69bbb75833 Updated from global requirements
Change-Id: Ic5710257758d3b6c8655443a5498cfa64d756263
2016-08-19 09:04:45 +00:00
Jenkins
0b7e853784 Merge "Fix the variable name mismatch" 2016-08-19 04:03:14 +00:00