8941 Commits

Author SHA1 Message Date
Zuul
ae9dbdfbdd Merge "Fix Grafana config for extra conf" 2018-05-17 01:11:42 +00:00
Zuul
ce65cfa1ab Merge "Optimize reconfiguration for murano" 2018-05-17 00:44:46 +00:00
Zuul
c4928b5068 Merge "Fix missed kolla_action and kolla_serial" 2018-05-16 15:38:29 +00:00
Kevin Tibi
1d249ca966 Fix Grafana config for extra conf
Previous change[1] of config for grafana introduced
new bugs.

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

Change-Id: Ib62f0670003612073ff08f702febe81c753b72e5
2018-05-16 16:29:22 +02:00
Zuul
e0b870a321 Merge "Fix the freezer-scheduler start failed" 2018-05-16 14:15:37 +00:00
Zuul
cbb7cce7c1 Merge "[haproxy] Enable global optimization options" 2018-05-16 12:25:09 +00:00
Mark Goddard
2e190597bb Fix missed kolla_action and kolla_serial
In change I78cb60168aaa40bb6439198283546b7faf33917c, action was changed
to kolla_action, and serial to kolla_serial, to avoid Ansible warnings
due to use of reserved keywords. In that change, some keywords were
missed, and some changes that were merged since then have not switched
to the new variables. This change fixes all current instances of those
issues.

Change-Id: I357dffdfcb2b405e280a962d366ee65eebf0a8d1
Implements: blueprint migrate-to-ansible-2-2-0
2018-05-16 13:13:06 +01:00
wu.chunyang
3093f44ca3 Optimize reconfiguration for murano
Change-Id: Ib5116e76a9a5c97571282225b8eaf480f120f9b1
Partially-implements: blueprint better-reconfigure
Co-Authored-By: ZhijunWei <wzj334965317@outlook.com>
2018-05-16 10:01:53 +00:00
Jeffrey Zhang
be6798fc30 Compatible with ubuntu 18.04
Depends-On: https://review.openstack.org/568529
Change-Id: I8084e4c8406c818589ca984afe5b5364c00b08ca
2018-05-16 18:00:44 +08:00
Zuul
e303c74e68 Merge "dev mode: Add support for senlin" 2018-05-16 07:20:25 +00:00
chenxing
1da05bd5be Update the deprecated vnc options
- Option "vncserver_listen" from group "vnc" is deprecated.
  Use option "server_listen" from group "vnc".
- Option "vncserver_proxyclient_address" from group "vnc" is deprecated.
  Use option "server_proxyclient_address" from group "vnc".

Change-Id: If4be4e787b7e899bd0d265cf22f3df3dd3f18f43
2018-05-16 10:29:52 +08:00
Zuul
b1a7f406be Merge "Delete the null notify" 2018-05-15 16:03:08 +00:00
caoyuan
895f202e76 Fix the freezer-scheduler start failed
the action has updated to kolla_aciton[0], but the freezer-scheduler
missing, this ps to add.

[0]: https://review.openstack.org/#/c/537742/

Change-Id: Ic7add6116af8cf9fa6147285ecc8d44352824dd2
2018-05-15 23:51:04 +08:00
Zuul
d3bff002e6 Merge "Remove keystone_authtoken section for ceilometer" 2018-05-15 14:20:45 +00:00
ZhijunWei
5c26ccff64 Delete the null notify
Change-Id: I3789e98034b0080d2dba62f8b59fbff8b2b3e4d7
2018-05-15 14:00:38 +00:00
Zuul
ef9944aa1f Merge "Fix create Magnum trustee user role failed" 2018-05-15 08:13:18 +00:00
wangwei
5da1cb0b5e Fix the permissions of mgr and mds keyring
Change-Id: I6d1e6d7dc21eaf6051c89b467cd6d886d8e3c469
2018-05-15 10:13:24 +09:00
Zuul
6bce632416 Merge "Remove kubetoolbox image from common role" 2018-05-14 23:08:52 +00:00
caoyuan
05f81ecda6 Update the freezer services link
Change-Id: I436711ca17b3d1b4adb90b40521c96eafc3bb823
2018-05-15 00:22:38 +08:00
ZhijunWei
c56765b3e5 Update the supermark for Kolla-ansible link
Change-Id: Ibe179113ad05bb5a42e0bb583b7d0db10c9e8ada
2018-05-14 15:55:17 +00:00
ZhijunWei
96d2749e8d Remove keystone_authtoken section for ceilometer
Now, the ceilometer use [service_credentials] to get credentials[0][1],
remove the unused [keystone_authtoken]

[0]: https://github.com/openstack/ceilometer/blob/master/devstack/plugin.sh#L294
[1]: https://docs.openstack.org/ceilometer/latest/configuration/index.html

Change-Id: Ic92f9ecb1a43c11311f2a428611e78c0986f02cf
2018-05-14 14:38:07 +00:00
Paul Bourke
0dbd8af314 Remove old upgrade task from Ceilometer
This is due for removal since Queens.

Change-Id: I16999287defa1bdf3e14a33577389985b7da0f2d
2018-05-14 15:01:25 +01:00
caoyuan
87d1276a86 Fix create Magnum trustee user role failed
when run creating Magnum trustee user role task, the
domain parameter must be domain id[0]. so kolla-ansible
need to register the result of Creating Magnum trustee
domain task, and use the domain id when creating
Magnum trustee user role.

[0]: https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/magnum/tasks/register.yml#L59

Co-Authored-By: ZhijunWei <wzj334965317@outlook.com>
Change-Id: I57cdd011b7fc863133f9e3b43ae783cd1486e644
Closes-Bug: #1766410
2018-05-14 16:30:40 +08:00
caoyuan
c3c7b4827e dev mode: Add support for mistral
Provide support for kolla dev mode in mistral. When
'kolla_dev_mode' or 'mistral_dev_mode' variables are
enabled, source code of mistral project is cloned
and bind mounted.

Partially implements: blueprint mount-sources
Co-Authored-By: chenqiaomin <chen.qiaomin@99cloud.net>

Change-Id: I6e5f9b1a6b35dbb672905987e715cae4bf10af7f
2018-05-12 22:20:41 +08:00
wu.chunyang
a0f43fde5d optimize the freezer tag
keep consistent with other projects

Change-Id: I3eae5efbc148a87dea44ce1fe727f6314a437e98
2018-05-12 10:50:53 +08:00
Zuul
905de55cda Merge "Remove ironic_host_manager usage" 2018-05-11 21:52:43 +00:00
Jorge Niedbalski
48231e1df0 [haproxy] Enable global optimization options
This patch enables 3 new configuration options for haproxy.cfg
global section.

  - haproxy_processes: number of haproxy processes (default:1).
  - haproxy_max_connections: number of concurrent connections (default:4000)
  - haproxy_process_cpu_map: enforces 1:1 mapping/affinity between
process and core. (default: no).

Closes-Bug: #1770060
Change-Id: I33fc499b083c7bcc548133498e44406a479389f1
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
2018-05-11 10:28:09 -03:00
Zuul
06b46533a4 Merge "Fix ansible warning" 2018-05-11 04:13:44 +00:00
Zuul
10b3e38961 Merge "Apply Glance database migration" 2018-05-11 02:55:14 +00:00
Jeffrey Zhang
c567055176 Fix ansible warning
- rename action and serial to kolla_ansible and kolla_serial
- use become instead of "sudo <command>" in shell
- Remove quota for failed_when and changed_when in rabbitmq tasks

Change-Id: I78cb60168aaa40bb6439198283546b7faf33917c
Implements: blueprint migrate-to-ansible-2-2-0
2018-05-11 02:54:02 +00:00
Zuul
f3484f8fd3 Merge "Make the workers configurable for gnocchi metricd" 2018-05-11 02:37:51 +00:00
Zuul
ece6b40ed2 Merge "Fix nova_proxy_admin_tenant_name typo" 2018-05-11 02:28:47 +00:00
Zuul
62237489f0 Merge "Make generated private key files not world readable" 2018-05-10 15:43:17 +00:00
Zuul
9bbdb71ada Merge "Update "ceph -s" command output" 2018-05-10 12:14:52 +00:00
Zuul
d3f496ec7f Merge "List and map compute hosts by service instead of by compute node." 2018-05-10 08:53:03 +00:00
Zuul
25a9456491 Merge "Disable glance-registry" 2018-05-10 08:36:41 +00:00
Mohamed El Gindi
558bf6b345 Fix nova_proxy_admin_tenant_name typo
In trove-taskmanager.conf a typo has been
introduced for nova_proxy_admin_tenant_name
option.

It currently is:
"nova_proxy_admin_tenant_name = services"
But should be:
"nova_proxy_admin_tenant_name = service"

Change-Id: I7b5d0ca4c6c994b6dd3c5de3f0a79637fda88177
Closes-Bug: #1770262
2018-05-09 13:59:59 -07:00
Mark Giles
3991ebcd79 Make generated private key files not world readable
The kolla-ansible certificates command creates a self-signed
certificate and corresponding private key.  This change sets the
file mode on the files that contain the private key so that they
are not world readable.

Change-Id: I7bfba5975af8d230e5d00c2ce801a914fbbf2d4e
2018-05-09 14:39:05 -04:00
Zuul
b60468f06e Merge "Do not create nova db user if database unchanged" 2018-05-09 16:32:36 +00:00
Zuul
55396810e8 Merge "Update the cirros default password" 2018-05-09 16:32:35 +00:00
Duong Ha-Quang
365e3d3a3f Apply Glance database migration
Apply Glance database upgrade procedure:

https://docs.openstack.org/glance/latest/admin/zero-downtime-db-upgrade.html

Rolling upgrade in Glance requires that glance-registry is not deployed and run

Depends-On: https://review.openstack.org/532128
Depends-On: https://review.openstack.org/566804

Change-Id: Ia5d0cee2385facefda9d423051b74ab51d075f13
Implements: blueprint apply-service-upgrade-procedure
2018-05-09 16:29:27 +00:00
wu.chunyang
c65861c356 Update "ceph -s" command output
Since the version of ceph bump to L, the output should
be updated.

Change-Id: I4c05b9b7423369a43dcb5855a2f0ef016ddbe488
2018-05-09 22:09:53 +08:00
wu.chunyang
bd708d9433 Make the workers configurable for gnocchi metricd
By default, the workers for gnocchi_metricd is 5[0], it's too
small for production environment, this PS to make it configurable,
in this way, user can change it according to actual needs.

[0]: https://github.com/openstack/kolla-ansible/blob/master/ansible/group_vars/all.yml#L356

Change-Id: Ibf4dec793f02c407547c77963cc13799d044b90f
2018-05-09 21:45:18 +08:00
Jorge Niedbalski
b0ba58d536 List and map compute hosts by service instead of by compute node.
This commit adds the --by-service flag in the discover_hosts
command of the nova cell subsystem, using this flag,
hosts are mapped based on the existing nova-compute services instead
of using the compute node reference.

In this way, we can ensure that the host mappings exists
for this new host (and create it if not) preventing the
HostMappingNotFound exception to loop over and over.

Bug: #1768094
Change-Id: I948004031bc3e125f929ed3e6c670aea11e73a31
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
2018-05-09 10:02:53 -03:00
chenxing
f7d995d619 Update the cirros default password
Following by https://docs.openstack.org/image-guide/obtain-images.html#cirros-test

Change-Id: Ide3508b3af6923a06e63242dc730b2742147ce37
2018-05-09 17:00:35 +08:00
Mark Goddard
af9203c621 Reinstate testing of changes to requirements.txt
Change I0c1328237d2109b1d1d5dcb40f331fff1ab10257 recently prevented
running kolla deployment CI jobs against changes to some files,
including requirements.txt. This change reinstates testing of changes to
requirements.txt, since this can have an effect on the operation of
kolla ansible.

Change-Id: I3d839de9aed60cddebea7d1140f618d3261cca2a
2018-05-09 09:21:58 +01:00
Zuul
3f100310ee Merge "Avoid running kolla source jobs for unnecessary files" 2018-05-09 06:17:49 +00:00
ghanshyam
9ac94ccd85 Avoid running kolla source jobs for unnecessary files
While fixing test-requirement.txt, I found that
check pipeline can be more optimized in term of selecting
the jobs to run based on file change.
- https://review.openstack.org/#/c/567083/
kolla main jobs are not needed to be run on check
pipeline for test-requirements.txt, releasenotes/* etc.

This commit skip those jobs when only above files
are changed in patch. This is will save time as well
as infra resource also.

Change-Id: I0c1328237d2109b1d1d5dcb40f331fff1ab10257
2018-05-09 04:38:50 +00:00
ghanshyam
ccd542f7ea Gate fix: Cap hacking to avoid gate failure
hacking is not capped in g-r and it is in
blacklist for requirement as hacking new version
can break the gate jobs.

Hacking can break gate jobs because of various
reasons:
- There might be new rule addition in hacking
- Some rules becomes default from non-default
- Updates in pycodestyle etc

That was the main reason it was not added in g-r
auto sync also. Most of the project maintained the
compatible and cap the hacking version in
test-requirements.txt and update to new version when
project is ready. Bumping new version might need code
fix also on project side depends on what new in that
version.

If project does not have cap the hacking version then,
there is possibility of gate failure whenever new hacking
version is released by QA team.

Example of such failure in recent release of hacking 1.1.0
- http://lists.openstack.org/pipermail/openstack-dev/2018-May/130282.html

Change-Id: I05790c5f946a4127fe6c8d9867cc618cb83d67fb
2018-05-09 01:01:53 +00:00
Zuul
12f7b96546 Merge "Enforce removal of container network namespace." 2018-05-08 08:11:26 +00:00