9041 Commits

Author SHA1 Message Date
chenxing
f7e64beaed Add enable_ironic_ipxe option to globals.yml
Kolla Ironic reference point out enable booting via iPXE by setting
"enable_ironic_ipxe" to "true" in "/etc/kolla/globals.yml", but there
is no enable_ironic_ipxe option exists in globals.yml.

Change-Id: I5794fc5a7d236f7f486011f53366a5b3f4c59731
2018-07-05 15:44:08 +08:00
Zuul
66205ab1fa Merge "Migrate ceph keyring creation to kolla_ceph_keyring module" 2018-07-05 07:29:37 +00:00
Zuul
b44bade5f3 Merge "Update using openstack section of quickstart" 2018-07-05 02:59:58 +00:00
Zuul
fd3f54faed Merge "Add a job for testing deployment of bifrost" 2018-07-04 15:51:45 +00:00
Zuul
17cc67816f Merge "Option for enable SSL verification on docker registry" 2018-07-04 15:02:55 +00:00
Zuul
dbd97822a0 Merge "Update docker config docs for insecure registry" 2018-07-04 06:20:32 +00: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
45c0f0167c Merge "fixed destroy confirmation no properly evaluated" 2018-07-03 12:36:56 +00:00
Zuul
9dd3b527b6 Merge "Create and use keystone_admin[project|user]" 2018-07-03 12:26:38 +00:00
Christian Zunker
8233bc7a84 Update docker config docs for insecure registry
Change-Id: I751c3901b831aaed03b88d36184cd9cc5df1789b
Closes-Bug: #1779110
2018-07-03 13:26:10 +02:00
Zuul
34d424a3ee Merge "Make Swift log_level changeable" 2018-07-03 07:24:58 +00:00
Zuul
f715a97558 Merge "Add kuryr prechecks for zun" 2018-07-03 07:05:46 +00:00
Zuul
f14ac4bc3c Merge "Enable yamllint strict mode" 2018-07-03 06:51:20 +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
yuqian
8f156691ce fixed destroy confirmation no properly evaluated
To destroy a kolla-ansible environment a confirmation string should be passed
along with kolla-ansible command: kolla-ansible destroy -i ~/multinode \
--yes-i-really-really-mean-it
However, this string is not evaluated right and just putting --y starts destroy
process: ./kolla-ansible destroy -i ~/multinode --y

Change-Id: I5983f9c7fd3859d60741dfd23ad10dfd91872eeb
Closes-Bug: #1701313
2018-07-02 14:08:54 +08: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
chenxing
47e2b6221b Update using openstack section of quickstart
Change-Id: I0e3c098db9d1f0a8fda383910c05ed5efc929994
2018-06-27 07:24:43 -04: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
ba1b709704 Merge "Drop python-cinderclient usage" 2018-06-27 09:34:06 +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
Zuul
2a8de86873 Merge "Doc: update ceph-guide in kolla-ansible" 2018-06-26 13:25:24 +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
Zuul
4229da7012 Merge "Use full path for globals.yml" 2018-06-26 05:17:48 +00:00
Zuul
2dd69e9140 Merge "Correct path to use for development" 2018-06-26 04:57:32 +00:00
caoyuan
1842ce98a5 Drop python-cinderclient usage
We've switched everything to python-openstackclient and therefore
the usage of python-cinderclient is no longer necessary.

Change-Id: I27d1b675f422aeb07ffdf41ea945a83121f562cf
2018-06-25 16:19:47 +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
Liping Mao (limao)
3566daec76 Enable yamllint strict mode
To make sure we can find the yaml warning before code merge[1].
We can enable strict mode to treat warning as error[2].

[1] https://review.openstack.org/#/c/573482/1
[2] http://yamllint.readthedocs.io/en/stable/configuration.html#errors-and-warnings

Change-Id: I0b54bc2bd384f092f2fcd1b0396e133a0d95befe
2018-06-24 16:40:12 +08:00
ZhijunWei
2363a8d297 Use full path for globals.yml
1. the default backend better use file, rather than File
2. use full path for globals.yml

Change-Id: Ife9b3a3d9cf602ab524fffc8cb52d4ba2224b906
2018-06-23 00:50:09 -04:00