1664 Commits

Author SHA1 Message Date
Jenkins
57203424c2 Merge "ansible: swift: Fix swift-object-expirer restart loop" 2016-10-14 18:08:12 +00:00
Jeffrey Zhang
ce5a11a374 Fix stale namespace removal issue
When using both /run and /run/netns in docker container, mount
propagation won't work when delete namespace after the containers are
restarted. This PS makes /run mount as shared.

Closes-Bug: #1616268
Change-Id: Ie16699e1b193b2bf1263d89ea634e89ea69add9e
2016-10-15 01:49:13 +08:00
zhubingbing
bb51ca3a3d Fix mariadb upgrade permission issue
Change-Id: I356d41d030365b7b4f917b1334f9f68e560b7512
Co-Authored-By: Michal (inc0) Jastrzebski <inc007@gmail.com>
Partial-Bug: #1631503
2016-10-14 16:51:03 +00:00
Eduardo Gonzalez
d189134870 Port prechecks only for enabled services
This PS adds logic to control when port prechecks
are made depending if the service is enabled or not.
Using conditionals will reduce prechecks role
execution time.

TrivialFix

Change-Id: I81b7359a4d80ac2da169267661f372b9f17e6a8f
2016-10-14 18:29:56 +02:00
Jenkins
d73615a1a7 Merge "Fix glance upgrade permission issue" 2016-10-14 16:18:46 +00:00
Jenkins
0bc18f0bf6 Merge "Remove indentation from l3_agent.ini.j2" 2016-10-14 15:57:39 +00:00
Jenkins
3257d04adb Merge "Fix keystone upgrade permission issue" 2016-10-14 15:28:48 +00:00
Jenkins
f3767135c6 Merge "Fix ceilometer idempotent" 2016-10-14 15:26:21 +00:00
Jeffrey Zhang
2828fe8c6b Fix glance upgrade permission issue
Change-Id: I8316310c13017b86eb13c3ffad260fecb0e7f61b
Partial-Bug: #1631503
2016-10-14 22:33:53 +08:00
James McCarthy
cd968665eb Remove indentation from l3_agent.ini.j2
If enable_neutron_dvr is set, it leads to a failure of the
'Copying over l3_agent.ini' task due to parsing errors.

TrivialFix
Closes-bug: #1633488

Change-Id: Ia30970d65cf7b09fff336fe878d2be02e934b082
2016-10-14 15:05:45 +01:00
Jeffrey Zhang
033a444fef Fix ceilometer idempotent
bootstrap_service in ceilometer should only be ran once during multi
deployment to keep idempotent

Partial-Bug: #1633463
Change-Id: Ic5d256e2e887661b4679c4518e8c3865b85189bf
2016-10-14 20:54:26 +08:00
Jenkins
b53988a088 Merge "add kibana to precheck" 2016-10-14 11:24:35 +00:00
James McCarthy
64e6e58627 Reorder the interface/network checks.
Perform the interface specific checks first, then do the network
related checks (not the other way around)

TrivialFix

Change-Id: Iae2c9fb9491060f1e33f067c08d22479108c3c98
2016-10-14 10:04:50 +01:00
Jenkins
dbf05f076f Merge "add magnum to precheck" 2016-10-14 08:28:21 +00:00
Jenkins
a683486a07 Merge "Remove unneeded blank lines" 2016-10-14 08:28:14 +00:00
Jeffrey Zhang
e7bdc62d02 Fix keystone upgrade permission issue
Change-Id: I211d9f2dbdd9647ec99e8b43be6332c8ad64114e
Partial-Bug: #1631503
2016-10-14 16:11:40 +08:00
caoyuan
ec0a7fbdb0 Add watcher checking to port_checks.yml
TrivialFix

Change-Id: Idf2a53025afb53a12cbe3c4e2feed1dd3dddfe02
2016-10-14 15:35:59 +08:00
zhubingbing
982e3bffa3 add magnum to precheck
TrivialFix

Change-Id: Ib9b199c2edcc48972491b46b41ae502953cd8a81
2016-10-14 03:21:41 +00:00
Jenkins
5661f72f98 Merge "Remove default values from conf file" 2016-10-14 02:17:00 +00:00
zhubingbing
3c645f1e31 add kibana to precheck
TrivialFix

Change-Id: I47fa57087258bad33ad21033f76f4fb2bf5f6f31
2016-10-14 02:02:39 +00:00
Jenkins
4bda9aa844 Merge "Add HNAS as Manila backend" 2016-10-13 19:37:29 +00:00
Martin Matyáš
157dc0f177 Make iscsi config.yml consistent with start.yml
As part of non-lvm iscsi bugfix, changes were introduced
to iscsi's start.yml. Same changes/conditions should be
reflected to config.yml so container configuration is deployed on
the same nodes as containers are started.

TrivialFix

Change-Id: Ib988df2d36983d63a3aff4226224dc5fc6064221
2016-10-13 10:10:16 -07:00
Jenkins
4b8e2c9476 Merge "precheck fails due to unknown cinder_volume_group" 2016-10-13 17:01:24 +00:00
Jenkins
45f4540002 Merge "Fix template for multiple physical networks" 2016-10-13 17:01:17 +00:00
Jenkins
a101a4484c Merge "Fix wrong mongodb address variable in ceilomter bootstrap" 2016-10-13 16:59:19 +00:00
Jenkins
917dccfac8 Merge "add ceilometer congress to precheck.yml" 2016-10-13 16:43:37 +00:00
Jenkins
1165246bb7 Merge "copy iscsid logrotate config" 2016-10-13 16:38:34 +00:00
Jenkins
45b0f2cf63 Merge "Remove do_reconfigure.yml file for all roles" 2016-10-13 16:20:30 +00:00
Waldemar Znoinski
223524b5dc copy iscsid logrotate config
This change adds copying iscsid logrotate
conf file for config task in common role.

Closes-bug: #1633127
Change-Id: I7da1f9ff794ed62f1baf70c04a2f6d0ca8d426aa
2016-10-13 15:51:35 +00:00
Jenkins
67237bd081 Merge "Update the location of Glance Registry HAProxy checks" 2016-10-13 15:38:45 +00:00
Jenkins
086eb5fb2f Merge "Cleanup container script improvement" 2016-10-13 15:30:36 +00:00
Jenkins
dae88516fc Merge "set basic kolla structures for iscsid" 2016-10-13 14:06:28 +00:00
Jenkins
2abef796d6 Merge "Mount host localtime for containers" 2016-10-13 14:06:20 +00:00
Jenkins
db9003e39b Merge "Fix keystone fernet file exchange via ssh" 2016-10-13 13:50:46 +00:00
Jenkins
8ad1ca0fb1 Merge "Fix rabbitmq upgrade permission issue" 2016-10-13 13:50:39 +00:00
liyingjun
1706e17ae9 Fix template for multiple physical networks
This patch [1] adds support to config multiple physical networks for
ovs neutron plugin, but it missed to change ml2_conf.ini.j2
correspondingly.

[1]: https://review.openstack.org/#/c/373455/

Change-Id: I1937e1e5986657470add07d4bcf8587642aa45ec
Closes-bug: #1631903
2016-10-13 12:10:34 +00:00
Jeffrey Zhang
16a1f9f006 Mount host localtime for containers
Add /etc/localtime:/etc/localtime:ro to volume for aodh, barbican, etcd,
gnocchi, kuryr and sahara.
All the containers are added in Netwon cycle, so no need to backport

Closes-Bug: #1633049
Change-Id: I9cdba54cf730af44fb1a9ff6f2c936d23dadbe9a
2016-10-13 11:35:03 +00:00
Waldemar Znoinski
96016b756b set basic kolla structures for iscsid
* enable iscsid when ironic is enabled
* update sample inventory files with above
* add logrotate conf template for iscsid
* add 'common' role dependency for iscsi role

Change-Id: I3054b9139a43542febf26c3ce9a71b65f2fcdd84
Closes-bug: #1632850
2016-10-13 10:49:32 +00:00
Vladislav Belogrudov
a0da381d00 precheck fails due to unknown cinder_volume_group
cinder_volume_group property is not seen by precheck tasks -
moving it to common group variables.

Change-Id: Id7614bb428bb0bf7217eab71b3ec28189e4032b5
Closes-Bug: #1631569
2016-10-13 12:49:07 +03:00
liyingjun
d5fe8a30f9 Cleanup container script improvement
Currently, when there are some qemu processes which may be some useful
virtual machines running by the operator running on non compute node, the
cleanup script will fail the cleanup operation for that node. We need to
ignore the qemu process check for non compute nodes.

Change-Id: If49a1a30764063935b2a65312de8f3b2357c7fbc
Closes-bug: 1633005
2016-10-13 17:31:17 +08:00
Christian Berendt
d54c1d6a82 Add missing debugging paramters to nova config
Debugging for glance and guestfs has to be enabled by using separate
parameters.

TrivialFix

Change-Id: I41c62ffed3a64f3a652393acd064e004ebe39c60
2016-10-13 11:18:57 +02:00
Serguei Bezverkhi
749679448a Adds Fluentd docker image required for kolla-kube
This PS adds Fluentd docker image to Kolla. Kolla
currently does not use Fluentd for log collection, but this image
is required for Kubernetes centralized logging solution.

Change-Id: I719661d75f5044239a1fd52080d322c77490ecae
Partially_Implements: blueprint kubernetes-images
2016-10-12 13:32:23 -04:00
Jeffrey Zhang
4c207bc039 Fix rabbitmq upgrade permission issue
During the upgrade from Mitaka to Newton, the uid/gid may change for the
same image. Especially on Ubuntu, we moved to Ubuntu Xenial in Newton
and it added systemd related user which break all the uid/gid during an
upgrade. It will the permissions in all docker named volumes.

This fix extends set_config.py to set the proper permission during
container start. This is super light then add commands in
extend_start.sh file  or add ansible tasks.

This patch just fixes rabbitmq case. Other services will be fixed in
following patches.

Partial-Bug: #1631503
Change-Id: Ib17027b97abbc9bf4e3cd503601b8010325b5c5b
2016-10-13 01:19:05 +08:00
Christian Berendt
bedca5b35e Fix keystone fernet file exchange via ssh
* install openssh client in keystone-fernet container
* install rsync in keystone-ssh container
* fix syntax issue in ssh configuration
* copy ssh configuration into keystone-fernet container
* copy id_rsa.pub into keystone-ssh container
* copy id_rsa into keystone-fernet container
* use full path to ssh binary in used scripts
* add missing newlines at EOF
* when using type source set /var/lib/keystone as home
  directory for the user keystone

Co-Authored-By: Jeffrey Zhang <jeffrey.zhang@99cloud.net>
Change-Id: Id6b41030056a69f6516a054beb2fc0e08226e876
Closes-bug: #1623013
2016-10-12 16:29:34 +00:00
Jeffrey Zhang
6796a95820 Fix wrong mongodb address variable in ceilomter bootstrap
The correct variable is ceilometer_database_mongodb_address rather than
ceilometer_database_address

TrivialFix

Change-Id: I1d5331b5b9e1433c7b271a999ce47941d9a447eb
2016-10-12 23:56:42 +08:00
Jenkins
40e768ec2a Merge "Add register to upgrade.yml to create correct endpoint" 2016-10-12 14:48:18 +00:00
Jenkins
a6962e28ed Merge "Enable keystone authentication for Barbican" 2016-10-12 13:31:54 +00:00
Jenkins
528425dfcb Merge "Fix 'Address already in use' for barbican-api" 2016-10-12 13:31:23 +00:00
Mick Thompson
ae7d9e3e1e Add register to upgrade.yml to create correct endpoint
Change-Id: I9779d5df65c5d560854dec55cc0a70cb82f895c4
Closes-Bug: #1632697
2016-10-12 14:09:26 +01:00
Otavio Salvador
9eb38405b7 ansible: swift: Fix swift-object-expirer restart loop
The swift-object-expirer is provided by the 'openstack-swift-proxy'
package and thus it is unavailable on swift-object image. This change
adds a new Docker image to fulfill this requirement and stop using
swift-object image in this case.

This image is needed while RDO does not fix the packaging. The issue
is being tracked in:

  https://bugzilla.redhat.com/show_bug.cgi?id=1382921

Change-Id: Idc7ee92d756d8923da2198ede33abf5ed1142041
Closes-Bug: 1630425
2016-10-11 14:56:18 -03:00