1435 Commits

Author SHA1 Message Date
zhubingbing
709cbd345e
Fix manila upgrade permission issue
Change-Id: I52e47aee0d373be102c855cc791c7f369468302a
Partial-Bug: #1631503
2016-10-15 18:57:47 +08: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
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
Jenkins
4bda9aa844 Merge "Add HNAS as Manila backend" 2016-10-13 19:37:29 +00: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
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
Jenkins
e6ec2a5184 Merge "Make Kuryr upgrade not crater the upgrade" 2016-10-11 14:24:24 +00:00
Steven Dake
86fe4c99da Make Kuryr upgrade not crater the upgrade
TrivialFix

Co-Authored-By: zhubingbing <zhubingbing10@gmail.com>

Change-Id: Idcd4c0024f93266746a00a2320980c08eca8b7e2
2016-10-11 12:43:53 +00:00
liyingjun
626967c1a4 Enable keystone authentication for Barbican
By default Barbican has not enabled the Keystone authentication:

[pipeline:barbican_api]
pipeline = cors unauthenticated-context apiapp

According to the Barbican install guide[1] this pipeline should be:

pipeline = cors authtoken context apiapp

[1]: http://docs.openstack.org/developer/barbican/setup/keystone.html

Change-Id: I941515a98772a72762b20507e100e7872f3b4ab8
Closes-bug: #1625337
2016-10-11 17:44:17 +08:00
liyingjun
cd0336658f Fix 'Address already in use' for barbican-api
By default barbican uwsgi is configured to listen all address on host
[1], we need to change this to the ip address of the host.

[1]:
https://github.com/openstack/barbican/blob/master/etc/barbican/vassals/barbican-api.ini

Change-Id: I4a1f9fb44ad55caf21f82c1b6d272a9743d65fd8
Closes-bug: #1632177
2016-10-11 17:43:19 +08:00
Jenkins
24ec175f95 Merge "fix mistral requires auth_uri to point to v3 explicitly" 2016-10-11 08:52:00 +00:00
Jenkins
5779833f84 Merge "remove extra blank lines" 2016-10-11 01:37:17 +00:00
Jenkins
b81fec89cf Merge "Add upgrade tasks for Kibana" 2016-10-10 19:42:14 +00:00
Jenkins
6d40d52dcd Merge "Make sahara api worker configurable" 2016-10-10 19:31:09 +00:00
Mauricio Lima
44f5f5bec8 Add HNAS as Manila backend
Co-Authored-By: Denis Cavalcante <dencaval@gmail.com>
Co-Authored-By: Francisco Edigleison Barbosa <barbosaedigleison@gmail.com>
Change-Id: I986623a2753140acad0e2b7f1838356f00ae36b0
Implements: bp add-hnas-as-manila-backend
2016-10-10 13:23:13 -03:00
zhubingbing
852329f3d2 remove extra blank lines
TrivialFix

Change-Id: If98f7aff71b5d003effc466cc8b6dbec219792cf
2016-10-10 15:56:29 +00:00
Jeffrey Zhang
0c15da00c8 Fix the wrong setting for Grafana session
The provider_config is configured wrong. And Grafana only supports one
Memcached instance for session, which is bad for high available.

Use mysql to provider the session storage.

TrivialFix

Change-Id: I889a961d7f36f44701654fbac04b4bff05043506
2016-10-10 19:47:32 +08:00
Christian Berendt
2bc6f65340 Add upgrade tasks for Kibana
Change-Id: I860fdc3268d0fdcb775ea345bb0eb621c8dafe07
Closes-bug: #1631902
2016-10-10 12:17:02 +02:00
Jenkins
5a427a941f Merge "integrate gnocchi with cloudkitty" 2016-10-10 06:47:41 +00:00
liyingjun
9de0894fbd Make sahara api worker configurable
Sahara api workers is hard-coded to 2 [1], it should be configurable as
other services do.

[1]:
https://github.com/openstack/kolla/blob/master/ansible/roles/sahara/templates/sahara.conf.j2#L9

Change-Id: Iefb487275c4e0d02f58a198e3995ca096f5e9218
Closes-bug: 1631835
2016-10-10 12:06:22 +08:00
zhubingbing
e7df182461 integrate gnocchi with cloudkitty
Closes-Bug: #1630947

Change-Id: Ie28ec6399add384962cfdcf83c93c3bef132d57e
2016-10-10 03:40:48 +00:00
liyingjun
d1b95be49a Use rootwrap in sahara config
In cases where a proxy command is being used to access cluster
instances, rootwrap is needed for sahara user in docker container.

http://docs.openstack.org/developer/sahara/userdoc/advanced.configuration.guide.html#non-root-users

TrivialFix

Change-Id: Ic2b7deb6bd0e5f740944c32d89390fb56b88f4fa
2016-10-10 10:53:26 +08:00
Jenkins
b13b0aad05 Merge "Choose node with largest seqno number for mariadb recovery" 2016-10-09 16:48:49 +00:00
Jeffrey Zhang
1bcb139392 Choose node with largest seqno number for mariadb recovery
When all mariadb nodes are stopped gracefully, mariadb galera will
write it's last executed position into the grastate.dat file. Need find
the node with largest seqno number in that file and recovery from that
node.

Closes-Bug: #1627717
Change-Id: I6e97c190eec99c966bffde0698f783e519ba14bd
2016-10-09 12:08:58 +00:00