4189 Commits

Author SHA1 Message Date
Mark Goddard
4283dff9b4 Fix ownership of virtualenv in bootstrap-servers
In I86bf5e1df3d6568c4f1ca6f4757f08a3dd22754d, creation of the kolla user
was moved to after package installation to ensure the sudo package is
installed when required. This change does not work when python
dependencies are installed in a virtual environment however - when the
virtualenv variable is set.

This change moves the ownership change of the virtualenv to after the
kolla user has been created. It also uses the kolla_user and kolla_group
variables to set the user and group appropriately.

Change-Id: I320e5d611099ad162945a98d5505a79606da0eba
TrivialFix
2018-07-09 18:58:53 +01:00
Zuul
53b2cdca2c Merge "Remove trusts_delegated_roles" 2018-07-06 06:42:04 +00:00
Zuul
095ec410de Merge "Skydive: Update Keystone and Neutron configuration" 2018-07-06 06:27:58 +00:00
Zuul
bbacab5fb2 Merge "Standardise Monasca Kafka variable name" 2018-07-05 12:41:54 +00:00
Zuul
344ee2fc57 Merge "Fix missed notify for zun-wsproxy container." 2018-07-05 11:17:55 +00:00
Zuul
66205ab1fa Merge "Migrate ceph keyring creation to kolla_ceph_keyring module" 2018-07-05 07:29:37 +00:00
Peter Cipriano
acccec75a3 Fix missed notify for zun-wsproxy container.
Change-Id: I8b8631e1c215580dd7711a0c0b3683b06ddc47d3
2018-07-04 22:19:19 -04:00
Zuul
17cc67816f Merge "Option for enable SSL verification on docker registry" 2018-07-04 15:02:55 +00:00
Doug Szumski
b54ceef8bf Standardise Monasca Kafka variable name
Other lists of servers have the postfix _servers. To be consistent
this change uses the same format for Kafka.

Change-Id: Ia595f2ab485904e76fb76211f6715a7c019886ea
Partially-Implements: blueprint monasca-roles
2018-07-04 11:12:08 +01:00
Sylvain Baubeau
d0f85e3fe5 Skydive: Update Keystone and Neutron configuration
Skydive recently splitted the OpenStack configuration:
one for the authentication - on the analyzer - 'auth.keystone'
and an other one for the Neutron probe on the agent
'agent.topology.neutron'.

Change-Id: Idce277d30f01e7a36499b1aee24c54779c54a807
2018-07-03 16:29:28 +02:00
Zuul
f1c6d54cef Merge "Only start tgtd when cinder_iscsi_helper=tgtadm" 2018-07-03 14:09:49 +00:00
Zuul
19d79f9484 Merge "dev mode: Add support for blazar" 2018-07-03 13:48:25 +00:00
Zuul
80916b3678 Merge "Fix default value logic of 'glance_backend_file' variable" 2018-07-03 12:44:33 +00:00
Zuul
58007e89ac Merge "fix freezer prechecks" 2018-07-03 12:37:06 +00:00
Zuul
9dd3b527b6 Merge "Create and use keystone_admin[project|user]" 2018-07-03 12:26:38 +00:00
Kien Nguyen
c4b8bedd01 Remove trusts_delegated_roles
This option's default value has changed since Newton.[1]

[1] aab01c00ff

Change-Id: I981a59be716072aab40862b3e23bbb1fbd1d63fc
2018-07-03 17:04:49 +07:00
Zuul
34d424a3ee Merge "Make Swift log_level changeable" 2018-07-03 07:24:58 +00:00
caoyuan
8397d3a7b6 Add kuryr prechecks for zun
the zun is need kuryr to be enabled[0], add it into
prechecks is a good idea.

[0]: https://docs.openstack.org/zun/latest/install/compute-install-ubuntu.html#install-and-configure-components

Change-Id: I4f46907c9b47b9108a9aa7bfbd668b833db420af
2018-07-03 12:45:03 +08:00
Zuul
28c0b0d252 Merge "Add zun-wsproxy into kolla-ansible" 2018-07-03 04:11:31 +00:00
Joshua Harlow
6a331d4e37 Create and use keystone_admin[project|user]
It is not always convenient to use the the given
admin project and admin user; especially when some clouds
use different user and project for there keystone 'admin'

This allows setting the variables for these users to something
else, and defaults them to there current values of 'admin'.

Change-Id: I22b79a30f01c90a92ecc0974886edf3791518f2f
2018-07-02 22:12:51 +00:00
Kevin Tibi
acfc4fd26a Option for enable SSL verification on docker registry
By default, kolla configure docker to use an insecure connection
with the private registry. If we want to use SSL verification we need
to add an option.

Change-Id: Id1805c9cfeb499da9bb56c70028f14c6f8bb20b6
2018-07-02 17:01:29 +02:00
Zuul
0a24bc4198 Merge "Add sudo package for bootstrap-servers" 2018-07-02 13:05:35 +00:00
Zuul
f8848529fa Merge "config proxy settings inside glance_api container" 2018-07-02 11:46:43 +00:00
Jeffrey Zhang
3397668d10 Migrate ceph keyring creation to kolla_ceph_keyring module
In this way, keyring caps is updatable.

Change-Id: Idf7f222645b5073e2c72d59eecf3d47b3f1dc6ba
2018-07-02 09:49:48 +08:00
Zuul
716a428c62 Merge "Expire mysql binary logs out of the box" 2018-06-29 18:53:11 +00:00
Paul Bourke
4423f25d84 Only start tgtd when cinder_iscsi_helper=tgtadm
Change-Id: I1b0e1df0e91b7a4abc408ee4b0852e1278e441ef
2018-06-28 10:04:23 +00:00
caoyuan
1b2bb2ef36 Add zun-wsproxy into kolla-ansible
the zun-wsproxy image is exists in kolla[0], but kolla-ansible
missing, this ps to add it.

[0]: https://github.com/openstack/kolla/tree/master/docker/zun/zun-wsproxy
Co-Authored-By: ZhijunWei <wzj334965317@outlook.com>

Change-Id: I89ef3463dfa5df8cf2d963ff0f0c7ddc382fc79b
Closes-Bug: #1765728
2018-06-27 15:18:49 +00:00
Zuul
12d8ba0523 Merge "Stop enabling the ironic's pxe_ipmitool driver" 2018-06-27 10:52:54 +00:00
Zuul
88d69fa0b6 Merge "Revert "Remove keystone_authtoken section for aodh"" 2018-06-27 09:55:32 +00:00
Zuul
b138820bf4 Merge "Fix cinder volume issue with multipathd" 2018-06-27 03:11:10 +00:00
Zuul
30f6456e81 Merge "Fix the task about --limit does not perform" 2018-06-27 01:49:39 +00:00
Doug Szumski
f450dd9779 Expire mysql binary logs out of the box
As reported in the bug, these can grow to 10s to 100s of GB
in a month. To reduce the chance of filling the disk and
bringing down the control plane this change defines
an expiry time.

Closes-Bug: 1720113
Change-Id: I508aad1f515d5108a3d08c90318b70d0a918908c
2018-06-26 17:26:59 +01:00
Benjamin Diaz
fbddccd5f1 Revert "Remove keystone_authtoken section for aodh"
This reverts commit f8fd06011aed5cd9028a8c1e206762a78e137df7.

Based on the code, overall uses service_credentials, but looks like a
few parts is using keystonemiddleware.auth_*

Closes-Bug: #1775956

Change-Id: I766a5624737cae892fe77fa8151b20e0972ed5b2
2018-06-26 12:37:13 -03:00
Zuul
0844bf33f5 Merge "Optimse the external ceph configure action" 2018-06-26 14:02:37 +00:00
Dmitry Tantsur
b698435c45 Stop enabling the ironic's pxe_ipmitool driver
Both the driver and the enabled_drivers options are being removed
this week. Stop setting them to avoid breakages.

Change-Id: I0e0bf851424b8f5839b159ef83f1cc65c30e2fb3
2018-06-26 15:20:43 +02:00
wangwei
ec0c645529 Fix the task about --limit does not perform
Kolla-ansible supports the deployment with specified tags,
"--tags, -t <tags> Only run plays and tasks tagged with
these values".
However, when specifying a tag, if the tag of the task
is not "always" or different from the specified tag,
it will not be run.
This task "Gather facts for all hosts (if using --limit)"
is not executed when the --limit parameter is added and
deployment with specified tag.

Closes-bug: #1711266

Change-Id: If50db2718b765f1d65b5d79eb042b0d95775bafc
2018-06-26 10:10:58 +00:00
wu.chunyang
8da9379269 dev mode: Add support for blazar
Provide support for kolla dev mode in blazar. When
'kolla_dev_mode' or 'blazar_dev_mode' variables are
enabled, source code of blazar project will be  cloned
and mounted automatically

Partially implements: blueprint mount-sources

Change-Id: I50c5eb97be1123b76b1d42fbb25a0ecbaa2c1a44
2018-06-26 09:08:53 +00:00
Zuul
949f1c2c09 Merge "Allow Kolla Ceph to deploy bluestore OSDs in Kolla-ansible" 2018-06-26 08:34:29 +00:00
Zhaokun Fu
af6306aecd Fix cinder volume issue with multipathd
Deploy multipathd with cinder-volume when multipathd is enabled

Change-Id: Ibc6cab29498508769d6c42a870cf34f587ec7cc7
Closes-Bug:1757379
2018-06-25 13:44:34 +00:00
fan_guiju
9ff5d5483e Add sudo package for bootstrap-servers
sudo package is required when we use ubuntu base on centos to deploy.

The following tasks belong to the environment check after
installation of environment-related software packages.
So, move to the post-install module.

    Create kolla user
    Add public key to kolla user authorized keys
    Grant kolla user passwordless sudo
    Ensure node_config_directory directory exists for user kolla
    Ensure node_config_directory directory exists

Change-Id: I86bf5e1df3d6568c4f1ca6f4757f08a3dd22754d
Closes-Bug: #1777571
2018-06-25 16:22:11 +08:00
Mark Duggan
87043bc918 config proxy settings inside glance_api container
Adding the capability to configure settings for http_proxy https_proxy
and no_proxy inside glance_api container. This is required when import
images from external http resources behind a proxy.

Co-Authored-By: Paul Bourke <paul.bourke@oracle.com>
Closes-bug: #1775815
Change-Id: I85661f04311d5671adecc84c470f2e4db07cfe1d
2018-06-24 11:51:32 +00:00
wu.chunyang
b42508ff43 fix freezer prechecks
the value of {{ freezer_services.keys() }} is freezer-api and
freezer-scheduler ,but we just need freezer_api,not freezer-api and
freezer-scheduler

Change-Id: Idcc2428b9080bee1afa9ef83bc3c5e5c89ca0ee9
2018-06-24 11:23:39 +00:00
Zuul
ab5fd56bb0 Merge "Enable ceph dashboard by default" 2018-06-22 06:19:08 +00:00
tone.zhang
cebb77d7e2 Make Swift log_level changeable
The log_level in Swift is fixed to INFO. The patch make it changeable
according to the value of "openstack_logging_debug".

When "openstack_logging_debug" is "False", the log_level is set to
"INFO". It is default value. Otherwise, the log_level is set to
"DEBUG".

Closes-Bug: #1777982

Change-Id: I62f430abd8f332cc2ece56a6733776fa03b10f77
Signed-off-by: tone.zhang <tone.zhang@arm.com>
2018-06-21 14:02:04 +08:00
Zuul
105671009d Merge "Add possibility to increase Murano agent timeout" 2018-06-21 03:27:20 +00:00
Zuul
a3bac93880 Merge "Enable neutron vpnaas dashboard dynamically" 2018-06-20 16:34:45 +00:00
Zuul
a6d799b02e Merge "dev mode: Add support for designate" 2018-06-20 10:18:35 +00:00
Zuul
5b9a3f8f89 Merge "dev mode: Add support for vitrage" 2018-06-20 10:16:10 +00:00
jing.liuqing
695d44fac4 Enable neutron vpnaas dashboard dynamically
neutron-vpnaas-dashboard is split into standalone repo. Need enable it
dynamic.

Depends-On: Ife1e39d4fff9e878a101ff716545166a30091f69
Change-Id: Ia3faa5b52f9321349e57902b5b1d90068d388cc0
Closes-Bug: #1777750
2018-06-20 11:07:03 +08:00
Zuul
13cf0e05bd Merge "Add endpoint_type for vitrage" 2018-06-19 16:19:57 +00:00