8795 Commits

Author SHA1 Message Date
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
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
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
Zuul
fd0c73006f Merge "Allow setting computes_need_external_bridge." 2018-05-08 02:01:09 +00:00
Jorge Niedbalski
6c5a6c65f1 Enforce removal of container network namespace.
This patch enforces the removal of the container
network namespace when the environment is destroyed.

Closes-Bug: #1769651

Change-Id: I9b0bbbb5a59e6067a745635c555051ef97b79f9a
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
2018-05-07 16:23:02 -03:00
Zuul
d67a2d288d Merge "Only copy custom fluentd filters when fluentd is enabled" 2018-05-07 18:45:35 +00:00
Jorge Niedbalski
bb1da0074f Allow setting computes_need_external_bridge.
Allow to set computes_need_external_bridge to true/false
depending on the desired configuration, for allowing
cases such as disable dvr and enable l3 ha.

Closes-Bug: #1769686

Change-Id: I1565b08dfccb7bec2ddda8c048b7d951c9eb1824
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
2018-05-07 15:38:12 -03:00
Zuul
47b94cb6e4 Merge "add the environment attribute to etcd deploy" 2018-05-07 09:03:05 +00:00
Zuul
ef228c3d61 Merge "Automatically add Prometheus as a Grafana datasource" 2018-05-07 09:00:23 +00:00
Zuul
b5a6bed708 Merge "Make sure aodh/service_credentials wotks with internalURL" 2018-05-07 08:15:08 +00:00
Zuul
7ae618e55e Merge "kolla-ansible fix to correct magnum k8s deployment" 2018-05-07 08:09:15 +00:00
chenxing
6397c2abf5 Extra fix for removed module_extra_vars
Some variables should be modified too, just like this commit:
https://review.openstack.org/552863

Change-Id: Id43eefb948a05de03d19c46048b6151bf6f5dc0a
Related-Bug: #1769463
2018-05-07 10:38:47 +08:00
Zuul
017eadd844 Merge "Add endpoint type specifications to murano config" 2018-05-07 00:15:35 +00:00
Zuul
1a5bf1e574 Merge "Fix "tox -e pep8" warning" 2018-05-06 13:44:35 +00:00
yuqian
bf0f155d13 Make sure aodh/service_credentials wotks with internalURL
Aodh service credential defaults to publicURL.

Aodh should work with the internal interface (v3 API Identity syntax):

.....
[service_credentials]
interface = internal
.....

Change-Id: Ie11290be25291fee1938032ae6294546fb7a98f3
2018-05-06 17:42:12 +08:00
Simon Piette
fdb325aba6 add the environment attribute to etcd deploy
In ansible/roles/etcd/tasks/config.yml, the kolla_docker
compare_container action doesn't check environment.

Once a container is created, it won't get recreated if only the
environment change. This commit add the environment attribute to the
kolla_docker action in etcd role

Change-Id: I8fb71cc945867e06acc67f6d1256bf62f4276206
Closes-Bug: #1765517
2018-05-04 14:37:59 -04:00
Bharat Kunwar
c20c69ee5e kolla-ansible fix to correct magnum k8s deployment
Magnum was unable to fire up k8s cluster because heat-container-agent
inside kube-master was pointing to internal keystone endpoint instead of
public endpoint. This fix tells kolla ansible to set clients_keystone
auth_uri to public endpoint so that heat-container-agent communication
with heat is successfully authenticated by keystone.

Change-Id: Ida49528f88685710b5e6b8f3c4d4622506af5ae1
Closes-Bug: #1762754
2018-05-04 17:23:37 +01:00
Mark Goddard
7c046ee9a4 Only copy custom fluentd filters when fluentd is enabled
Change-Id: Iedf87342eeee90d58734ba21216296f3d94f76c8
TrivialFix
2018-05-04 11:39:39 +01:00
wu.chunyang
998b9fbbec Remove "keystone_token_provider==uuid" from keystone.conf
it missing from [0]

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

Change-Id: I990dea52d3aa45d3d7c352c2664541799d912cdc
2018-05-04 18:01:53 +08:00
Zuul
4caea9d6d2 Merge "Remove uuid as keystone_token_provider" 2018-05-04 07:48:40 +00:00
ZhijunWei
6bda3feb6e Fix "tox -e pep8" warning
warning  missing document start "---"

Change-Id: Ie26f816504996e4f6a1cf7c146843f8883c072af
2018-05-04 06:51:04 +00:00
Zuul
d3198580f5 Merge "Restructure the vpnaas roles" 2018-05-04 06:36:13 +00:00
Zuul
5abeaff832 Merge "Ironic dnsmasq should not use VIP for TFTP server" 2018-05-04 05:42:18 +00:00
Duong Ha-Quang
84aeff4e92 Remove uuid as keystone_token_provider
Keystone removed uuid token provider in Rocky

This patch change the default value and fix comments for the option.

Change-Id: Idca0004852b688fcdd34ef47c38dec6b8bf05f86
Closes-Bug: #1757520
2018-05-04 11:58:40 +07:00
Zuul
ad2b856178 Merge "Let haproxy to be ODL websocket's frontend" 2018-05-04 04:09:21 +00:00
Mark Giles
6777c903a0 Automatically add Prometheus as a Grafana datasource
Assuming both Prometheus and Grafana are enabled, this change
configures Grafana such that it can use data collected by the
Prometheus server.

Partially-Implements: blueprint prometheus
Change-Id: I0290806d0c622b1de33cf7047f099795b4c780b9
2018-05-03 11:29:27 -04:00
Zuul
fad67b99ff Merge "Config typo in external Ceph guide" 2018-05-03 15:09:35 +00:00
Zuul
f27ca1a395 Merge "Add cap NET_ADMIN for ironic_dnsmasq" 2018-05-03 14:46:13 +00:00
ZhijunWei
585f028e21 Update the Blazar link
Change-Id: I4fa8e419a7cdd70a869961912e8b239d61658d1b
2018-05-03 13:44:49 +00:00
Stig Telfer
bb9f24e534 Config typo in external Ceph guide
The documentation for integration with external Ceph refers to
enable_manila_backend_ceph_native where it should be
enable_manila_backend_cephfs_native.

Change-Id: If727166e61a8e911445630dc6d6adaa2126fa7e8
2018-05-03 14:14:18 +01:00
Zuul
a7a28f65b5 Merge "Fix the ceph-mgr connect to cluster failed" 2018-05-02 16:43:42 +00:00
Zuul
4223ea58d2 Merge "Update the Bugs link for triage" 2018-05-02 16:41:39 +00:00
Mark Giles
ecfc28dbd3 Add endpoint type specifications to murano config
Setting endpoint_type to internalURL in the murano config allows murano
to work properly when using self-signed certificates.

Change-Id: I5873f92994d790d597ec5e97163bbf8001c362b9
2018-05-02 11:30:42 -04:00
Zuul
32fa09968b Merge "Add node state management to ironic guide" 2018-05-02 09:54:46 +00:00
wu.chunyang
8cf67e9a87 Fix the ceph-mgr connect to cluster failed
For luminous, the ceph_mgr service provide the
dashborad for ceph, and it need connect to cluster,
but now it failed to connect ceph cluster due to
ceph.client.admin.keyring missing, this ps to fix it.

Co-Authored-By: chenqiaomin <chen.qiaomin@99cloud.net>
Closes-Bug: #1768462

Change-Id: Idb24661bc5674780db390220ca02e22975490663
2018-05-02 16:44:18 +08:00
Zuul
51bb42eb97 Merge "Update swift_devices_mount_point propagation settings" 2018-05-02 08:33:40 +00:00
Zuul
074cc7459d Merge "Update the Ceph pgs value for tests" 2018-05-02 08:17:38 +00:00
chenxing
9fe70f45f3 Restructure the vpnaas roles
As neutron-vpnaas-agent has been loaded just inside of the existing l3 agent
rather than requiring operators to run a completely different binary with a
subclass of the existing L3 agent[1]. We need restructure this role to fit
with this new feature.

[1] https://review.openstack.org/488247

Depends-On: I47cd8ba5a14da3c76d5b1eb0b4c0cf0c729eb2ff
Change-Id: Id690a652bc9facf1c3e39358f548ab7ddd967d80
Implements: blueprint restructure-neutron-vpnaas
Closes-Bug: #1731498
2018-05-02 15:32:02 +08:00
Zuul
848196736a Merge "Fix rabbitmq-env.conf ownership in bifrost" 2018-05-02 07:10:22 +00:00
Mark Goddard
abf8a3b862 Add node state management to ironic guide
Without these commands, the bare metal node will not be available for
scheduling in nova.

Change-Id: If1fc16721110b6c6e362bdd59aac02d9ec5d8415
2018-05-01 18:33:58 +01:00
Zuul
c93ec09dc7 Merge "Fix the prechecks action for prometheus_server" 2018-05-01 06:30:37 +00:00
ZhijunWei
585efc27ab Update the Ceph pgs value for tests
refer to https://review.openstack.org/#/c/564169/

Change-Id: I093b0b8fd3b34c9b35149c9e4ae945a8e0e67f53
2018-04-30 15:46:19 +00:00
Zuul
8892111bfe Merge "Add test for credentials set" 2018-04-30 15:25:06 +00:00
Zuul
82c8afd425 Merge "Make DNS resolvers configurable." 2018-04-30 14:11:37 +00:00