2599 Commits

Author SHA1 Message Date
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
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
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
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
9afbc3c4e9 Merge "Access placement service through internal interface rather than public" 2017-03-07 14:32:52 +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
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
446e2bb55b Merge "Add empty volume item check in kolla_docker module" 2017-03-06 19:26:33 +00:00
Jeffrey Zhang
57dc5b3e36 Use internal interface instead of public interface
In some case, public interface may not reachable in internal.

Change-Id: Ibcdef571a6814e6626216fe33028e5e69889b4f2
Closes-Bug: #1670259
2017-03-06 14:08:35 +08:00
Jeffrey Zhang
78e5c865f4 Fix the incompatible of docker-py 2.0.0
docker-py 2.0.0 is released with renaming docker.Client to
docker.APIClient. and with a new python package name "docker" rather
than "docker-py".
This patch support docker and docker-py packages.

Change-Id: Ib4400a4d2ce803191ee6215c5b28f0052970332c
Closes-Bug: #1668346
2017-03-05 13:35:23 +08:00
Jenkins
2466cb9d3b Merge "Disable unneeded fact gathering" 2017-03-02 21:15:55 +00:00
Jenkins
3cc95229eb Merge "Fix Creating Panko MongoDB database failed" 2017-03-02 18:27:47 +00:00
Jenkins
365bffa2a7 Merge "Fix designate deploy/genconfig" 2017-03-02 18:27:37 +00:00
Jenkins
18c0c66679 Merge "Set default value for osds/osd_ids facts when facts not set" 2017-03-02 18:27:16 +00:00
Jenkins
4e3e08ad4f Merge "Update the file format for baremetal" 2017-03-02 15:27:30 +00:00
caoyuan
ab3bdd8aac Fix Creating Panko MongoDB database failed
The check whether 'already' presents in mongodb output
should belong to changed_when.

Change-Id: I829c8906f0f7b61d3f6e0211319899d126e6850c
Closes-Bug: #1668216
2017-03-02 09:55:36 +00:00
caoyuan
c39e896e7c Update the file format for baremetal
Change-Id: I1e90b0aeebaa0db0b91370eccfc0b707d9668752
2017-03-02 05:46:18 +00:00
Charlie Kang
099a1ea17d Etcd fails to start - missing environment parameter
add environment parameter to handlers restart etcd container as
there are env parameters in default

Closes-Bug: #1669089

Change-Id: I99266e7a367cb54c77b3d3da35ba5055acd98f62
2017-03-01 15:58:01 -08:00
Jenkins
f25db61072 Merge "Use correct inventory file for Bifrost" 2017-03-01 19:43:25 +00:00
Jenkins
2683ef63db Merge "Add default dnsmasq_dns_servers in dhcp_agent.ini file" 2017-03-01 17:05:53 +00:00
Eduardo Gonzalez
03feeb0235 Fix designate deploy/genconfig
While deploying/genconfig designate, raise an error due
a missing .key in the item iteration
designate_rndc_key var is already used and replaced by the register
Changed register to other name.
Bind9 container should be started before other designate services.

Change-Id: Ia6aa89af1cf2317fa8f006b8d35d3760e7fb9980
2017-03-01 11:59:53 +00:00
Jenkins
dafd9bfe72 Merge "Fix the ironic tasks name" 2017-03-01 09:35:02 +00:00
pomac
63e5c444dd Enable heat-api proxy header parsing
heat-api kept redirecting clients to use http:// instead of https://
when communicating with our https:// only loadbalancer

Please examine the logic for enabling it carefully, it's hard to know
if it should be enabled or not, potenitially it could be a security
risk.

Based on openstack-ansible-os_heat:
commit 4033a0f854cba6719c61812ef5b553e932a6c6c2
Author: Kyle L. Henderson <kyleh@us.ibm.com>

    Enable oslo_middleware proxy header parsing

"Heat has moved to using oslo_middleware for the http proxy header
parsing, however the default is to not parse the headers.  When
the external protocol differs from the internal protocol this
parsing is required in order for heat to work properly since it
will return 302 redirects to the client during some operations
(such as delete stack).

An example of this is when using haproxy with https configured
for the external protocol and http for the internal protocol.
If the oslo_middleware does not parse the headers, then any
302 redirects would specify a url with http rather than
correctly specifying https and the heat client would fail to
connect on the redirect url."

Change-Id: I38661a0bc2163a7f72febd98b7ae6f51c5d45ad5
2017-03-01 09:57:21 +01:00
Jenkins
71aab9392c Merge "Fix Creating Ceilometer MongoDB database failed" 2017-03-01 05:20:06 +00:00
caoyuan
93a5a5c322 Fix the ironic tasks name
- add the missing "API"

Change-Id: I06ccf48047d1b4ea493d169f78d95c09b7945a27
2017-03-01 09:38:41 +08:00