6877 Commits

Author SHA1 Message Date
Jeffrey Zhang
30546d2d52 Revert "Fixes problem with kolla-kubernetes 3.0.2 images"
This reverts commit 6cb4507267e0a368a69c0ba1d02a6e16301ddf43.

Change-Id: I33a0b8ba4ca69e5e34edb11248fb614a5a913f65
2017-03-10 23:24:40 +08:00
Bertrand Lallau
cb1d214d3e Fix heat-engine and heat-api-cfn workers configuration
Change-Id: I5c04712b1ae9ebe36b5c57eed05c34fec09f1fd8
Closes-Bug: #1671784
2017-03-10 15:49:28 +01:00
Jenkins
c0df4ab8b6 Merge "Set mistral-server workers using openstack_service_workers" 2017-03-10 14:36:38 +00:00
rcherrueau
dcdbe44190
Multi-regions Support
Add support for basic multiple regions, that is to say, many OpenStack
with a shared Keystone (same users) and Horizon. The shared Keystone
and Horizon are deployed into one region, for instance RegionOne.
Services of other regions have an access to this Keystone. This
support assumes that the operator knows the name of all OpenStack
regions in advance, and considers as many Kolla runs as there are
regions.

The new variable, multiple_regions_names, contains the name of
regions. It is needed by the region that includes Keystone and
Horizon. In register.yml, it specifies to create as many Keystone
endpoints as there are regiones, so that services of other regions can
connect to Keystone. In local_settings.j2, it changes the render to
support multiple regions in Horizon. The multi-regions.rst explains
how to perform a multiple regions deployment.

Implements: blueprint multi-kolla-config
Change-Id: Icab2aebfc4de0e3bc609950956e0af397705f403
2017-03-10 14:24:42 +01:00
Bertrand Lallau
3aba2ff3a6 Set tacker-server api_workers using openstack_service_workers
Closes-Bug: #1671806
Change-Id: I13145c495b865a16a2eccbaf778c37a82882a7a8
2017-03-10 13:26:04 +01:00
Bertrand Lallau
45f331a524 Set karbor-api workers using openstack_service_workers
Change-Id: I76f86e22908f757d19a9e5cdeee7e7913ac51616
Closes-Bug: #1671779
2017-03-10 11:42:31 +01:00
Bertrand Lallau
4c8accaf69 Set magnum-api workers using openstack_service_workers
Change-Id: I8df89250d8430cf5abe3d0bd6387a3966591e435
Closes-Bug: #1671777
2017-03-10 11:33:23 +01:00
Bertrand Lallau
48093ee5df Set mistral-server workers using openstack_service_workers
Change-Id: Ic5511cb4551a92f1ef7d2d830678d9629b0f0f1f
Closes-Bug: #1671759
2017-03-10 10:46:10 +01:00
Eduardo Gonzalez
55beaca4a4 Fix vpnaas custom config dir
node_custom_config is /etc/kolla/config
not need add config after.

Change-Id: Iac9747a705185e87b5e7d62856a9ada99f589078
Closes-Bug: #1671758
2017-03-10 09:29:14 +00:00
Bertrand Lallau
7b1bac50f1 Set senlin-api workers using openstack_service_workers
Closes-Bug: #1671741
Change-Id: I05ab2fa4aec5fe492382a20b93242f6d2f80e98d
2017-03-10 09:52:01 +01:00
Bertrand Lallau
a290e83d63 Set searchlight-api workers using openstack_service_workers
Change-Id: I8b9c8b374fa35f97876f27f1a50a3b188ce9dae0
Closes-Bug: #1671739
2017-03-10 09:32:30 +01:00
Jenkins
0160521337 Merge "Fix typo in nova external ceph" 2017-03-10 02:09:58 +00:00
Jenkins
5ce03840d1 Merge "Remove cell setup and db creation nova upgrade" 2017-03-09 17:45:36 +00:00
Jenkins
60379615f3 Merge "Fix the incompatible of docker-py 2.0.0" 2017-03-09 17:34:43 +00:00
Jenkins
4fde3b10b3 Merge "Enable run nova-compute-ironic with nova-compute on the same node" 2017-03-09 17:33:43 +00:00
Jenkins
9d0daa015a Merge "Enable sanity checks from kolla-ansible" 2017-03-09 17:31:51 +00:00
Eduardo Gonzalez
07a8c47f33 Fix typo in nova external ceph
Nova external ceph task have a type which break deployment.
State module not present, the module used should be stat.

Change-Id: Ie8a0b30f44fc35a597334383a85353d324e765cd
Closes-Bug: #1671526
2017-03-09 16:54:30 +00:00
Jenkins
8749ca2dd1 Merge "Updated from global requirements" 2017-03-09 16:18:13 +00:00
Jenkins
1bd7d391c3 Merge "Set empty openstack_release option" 2017-03-09 16:15:18 +00:00
Jenkins
bf12ad23a7 Merge "ironic_pxe bootstrap should run on all hosts" 2017-03-09 14:25:28 +00:00
Paul Bourke
5418ada148 Enable sanity checks from kolla-ansible
Add a new subcommand 'check' to kolla-ansible, used to run the
smoke/sanity checks.

Add stub files to all services that don't currently have checks.

Change-Id: I9f661c5fc51fd5b9b266f23f6c524884613dee48
Partially-implements: blueprint sanity-check-container
2017-03-09 10:37:06 +00:00
OpenStack Proposal Bot
3172a2ccf5 Updated from global requirements
Change-Id: I275f2ec2ad608c2d71fefd330a4585c15d5265b3
2017-03-08 23:24:28 +00:00
Eduardo Gonzalez
34b3bcf89d Set empty openstack_release option
globals.yml have the highest var precedence in Ansible vars
as is added in kolla-ansible as -e @globals.yml
Setting openstack_release: "auto" causes error while
deploying/pulling as this var override the fact set in site.yml.

Value in globals.yml should be a real kolla version
(3.0.0, 4.0.0, etc)
Value in group_vars/all works fine with auto.

Change-Id: If99f7b4b1507909c6c2628b6d6fc6ce2519c9a24
Closes-Bug: #1671143
2017-03-08 18:58:35 +00:00
Eduardo Gonzalez
58195bd264 Remove cell setup and db creation nova upgrade
cell0 is already setup in Ocata, when upgrading to Pike
is not anymore necessary to create.
All nova DBs (nova_api, nova and nova_cell0) are already
created in Ocata too. Only bootstrap_service is needed
while upgrading.

Change-Id: Idc4941334faf91feee868472155a8c8ea0eba436
2017-03-08 18:53:55 +00:00
Jenkins
d860cefd51 Merge "Disable running playbooks in serial by default" 2017-03-08 16:51:13 +00:00
Jenkins
67a0c52a2d Merge "Fix Ceilometer cannot create MySQL database" 2017-03-08 15:55:44 +00:00
Jenkins
80e701482a Merge "Fix dbPath typo in templates/mongodb.json.j2" 2017-03-08 15:38:41 +00:00
Jenkins
90569a6c8d Merge "Make qemu use nova user" 2017-03-08 15:30:36 +00:00
Jenkins
a6da1bda59 Merge "Fix booting from volume failure" 2017-03-08 15:28:27 +00:00
Javier Castillo Alcíbar
44e8419a5f Fix dbPath typo in templates/mongodb.json.j2
During mongodb upgrade process "/var/lib/mongodb" should have
correct permissions, but a typo present in config.json was giving
permissions to "/var/lib/kolla/mongodb"

Change-Id: I916e7d831531131b2f141a2f7ac712d4a82f7e86
Closes-Bug: #1668303
2017-03-08 15:53:16 +01:00
Jenkins
91eb42c708 Merge "Fix keystone idempotency" 2017-03-08 14:00:46 +00:00
Jeffrey Zhang
a2f2e322be Enable run nova-compute-ironic with nova-compute on the same node
It is unnecessary and a waste to run nova-compute-ironic on a single
node, change the host name field in nova-compute-ironic could ensure
nova-compute and nova-compute-ironic run on the same node.

Change-Id: If2acbf25caab0570da444472003599b9e0f2a1ff
Closes-Bug: #1671103
2017-03-08 21:59:09 +08:00
Jeffrey Zhang
cad7fc35f7 Disable running playbooks in serial by default
Run playbooks in serial are unnecessary and may cause some issue. This
patch disables serial.

This patch also removes the serial for MariaDB playbook. MariaDB handle
this internally.

Partial-Bug: #1668185
Change-Id: I3b4216dd82607475e9bd9b44590b631be4abdbdd
2017-03-08 21:27:29 +08:00
Jeffrey Zhang
d06efcecc5 Fix booting from volume failure
Booting from volume require cinder's ceph client secret now. Move cinder
before nova in site.yml, because nova depends on cinder ceph client key
now.

Change-Id: I01c9ed80843d98305b8963894c4917c21a35d3ac
Closes-Bug: #1670676
2017-03-08 21:16:06 +08:00
Eduardo Gonzalez
ea9b1577ad Apply correct permissions to kolla_logs/ceilometer
Ceilometer-*.json does not apply permissions at
kolla_logs/ceilometer as other roles do at config.json.
This is causing ceilometer-central to keep restarting
due cannot read/write to ceilometer-polling.log file.

Change-Id: I865bf01d6c3d87f1a2cf31976ca9e46bcbcad744
Closes-Bug: #1671020
2017-03-08 10:56:08 +00:00
zhuzeyu
f70599b2da Modify the directory path in running-tests.rst
Change-Id: I289c80c7d1c3a08d1ced9e596e06659aac280640
partially-implements: blueprint documentation-rework
2017-03-08 17:04:35 +08:00
Jeffrey Zhang
8fc8d327b3 Fix mongodb cluster using wrong network interface
MongoDB cluster only uses api_interface.

Change-Id: If24a1c9bd685b268068cb676a28316636af52b78
Closes-Bug: #1626339
2017-03-08 16:40:31 +08:00
Michal (inc0) Jastrzebski
b7f8abac29 Make qemu use nova user
Libvirt 2.5 (latest version in cloud archive) seems to have changed
behavior of dynamic_ownership.

Change-Id: Icf9592c2f82f0f4a35074b9b13a51643a32631e9
Closes-bug: #1668654
2017-03-08 06:50:07 +00:00
Duong Ha-Quang
a2a9c17d51 Fix Ceilometer cannot create MySQL database
Due to kolla-toolbox return json object instead of just
plain string, we can use the object directly.

Change-Id: I55613f0f8ba97d1a14595c8c9b09e1ad6d2366e7
Closes-Bug: #1668521
2017-03-08 06:41:03 +00:00
Jenkins
56445484d5 Merge "Update Multinode deployment of kolla guide" 2017-03-07 17:49:53 +00:00
Sayantani Goswami
3637644fa9 Update Multinode deployment of kolla guide
Improvement to the existing Multinode Deployment Guide

Change-Id: I55d1bb174459bb705fa1106e231a28836ba0af6e
2017-03-07 17:32:32 +00:00
Jenkins
9afbc3c4e9 Merge "Access placement service through internal interface rather than public" 2017-03-07 14:32:52 +00:00
Jenkins
706c529bdf Merge "Run precheck after deployed openstack" 2017-03-07 14:06:21 +00:00
Jenkins
37958ae0f7 Merge "Fix the failure when running precheck after deploy" 2017-03-07 14:05:57 +00:00
Jenkins
d1d855794d Merge "Use internal interface instead of public interface" 2017-03-07 13:30:46 +00:00
Jeffrey Zhang
c7ee875c58 Access placement service through internal interface rather than public
Change-Id: Ie26b20bb4012d35bfbcd43440d32c9eac7a471d6
Closes-Bug: #1670673
2017-03-07 21:18:00 +08:00
Jeffrey Zhang
3c23d480d3 Run precheck after deployed openstack
Change-Id: Iad58edcbbf98405349bda175821b9966fdb10d34
2017-03-07 13:10:23 +00:00
Bertrand Lallau
4286a50113 Fix Magnum Kolla demo in contrib
Magnum demo scripts doesn't work cause compose/openstack.env
doesn't exist anymore.
* NETWORK_MANAGER check has been removed
* script has been updated to use Openstack client instead of
deprecated clients (neutron-client, glance-client).
* Magnum client calls have been adapted too.
* some enhancements (logs, variable) have been performed too.

Change-Id: I294b1876c9c7090785c0ebdd09b43843f88fb00b
Closes-Bug: #1670618
2017-03-07 10:51:02 +01:00
Jeffrey Zhang
47762d4850 Fix the failure when running precheck after deploy
* Move the tasks to the role
* Skip the task when container is already running

Change-Id: I1990d4dd2a02efa2b3766329000aa23419e0ff17
Closes-Bug: #1670286
2017-03-07 06:57:16 +00:00
Jenkins
2852af4376 Merge "Release note for reconfiguration optimizaiton" 2017-03-07 03:36:43 +00:00