7477 Commits

Author SHA1 Message Date
Eduardo Gonzalez
ca82b29858 Wait keystone_fernet running before init tokens
Init fernet task fails if keystone_fernet container
is not running and ssh port bind.
This change add a check to ensure all keystone_fernet containers
are running before init fernet tokens.

Change-Id: Ib95bb5a47a9174f1a00b82cc8b697c0dc19c848e
Closes-Bug: #1704758
2017-07-26 10:52:59 +00:00
Jenkins
8c92888657 Merge "Add VMware DataStore support to cinder" 2017-07-17 08:57:49 +00:00
Jenkins
413bd848f2 Merge "Fix wsgi file path and log-file parameter" 2017-07-17 08:21:54 +00:00
Jenkins
aa64cd384e Merge "delete delimiter from init fernet condition check" 2017-07-17 08:18:16 +00:00
Jeffrey Zhang
65ebba8b1d Fix wsgi file path and log-file parameter
* use gnocchi-api script for wsgi based on this commit[0].
* logfile is deprecated. Use log-file instead[1].

[0] c8717e8b71
[1] https://github.com/gnocchixyz/gnocchi/blob/master/gnocchi/opts.py#L77,L82

Change-Id: I8fbe8425e43d82e0f9601ba6303dd7f24142a2e6
2017-07-17 10:02:28 +08:00
OpenStack Proposal Bot
322c0733bf Updated from global requirements
Change-Id: I4fdefac7bd2cd9959bb5ffb69351bc68441f9746
2017-07-14 23:03:31 +00:00
Jenkins
2cb46ffbae Merge "Allow tmp path to download registry" 2017-07-14 17:38:20 +00:00
Jenkins
b1eee8e073 Merge "Fix bandit tests directory" 2017-07-14 17:01:52 +00:00
Jenkins
29211e317a Merge "Fix tools/cleanup-images script error" 2017-07-14 13:25:52 +00:00
Jenkins
41475bdc7b Merge "Fix searchlight nova resources indexation" 2017-07-14 13:25:17 +00:00
Jenkins
d6d0e7d44b Merge "Searchlight: activate Ironic resources" 2017-07-14 13:24:37 +00:00
Jenkins
d5c6689629 Merge "Fix fwaas options" 2017-07-14 13:17:42 +00:00
Jenkins
00e3d2f805 Merge "Pull cinder cephx keyring only when enable_cinder is true in nova" 2017-07-14 13:11:10 +00:00
OpenStack Proposal Bot
f68aa1d906 Updated from global requirements
Change-Id: Iaa85ff659906b438ef80efc70b51ee8b82755ddd
2017-07-14 04:59:46 +00:00
Jeffrey Zhang
6a12fd8a85 Pull cinder cephx keyring only when enable_cinder is true in nova
cinder_backup_ceph is true in default when enable_ceph is true.

Change-Id: Ic3cbd041a784610323cda4419acb6702f2aa35c1
Closes-Bug: #1699658
2017-07-14 10:05:32 +08:00
Jenkins
003450a2c6 Merge "Only use br-tun on network and compute nodes" 2017-07-13 12:08:41 +00:00
Jenkins
1515164e15 Merge "Migrate cinder-api under apache" 2017-07-13 11:37:49 +00:00
Jenkins
a981b9e325 Merge "Fix depends-on kolla gates" 2017-07-13 10:07:38 +00:00
Jenkins
6f7ce1331a Merge "Set api_v2 to True in image-feature-enabled" 2017-07-13 09:40:19 +00:00
Jenkins
c88b9eb40e Merge "Clean some Boolean condition checks" 2017-07-13 08:48:44 +00:00
Jenkins
5320e5ea54 Merge "Revert "Fix a typo and complement doc in ceph-guide.rst"" 2017-07-13 08:05:11 +00:00
shaofeng_cheng
f12a4a6dad Add VMware DataStore support to cinder
Add VMware VMDK driver supports to cinder service.
The VMware driver for OpenStack Block Storage is recommended and
should be used for managing volumes based on vSphere data stores.
see
https://docs.openstack.org/ocata/config-reference/compute/hypervisor-vmware.html
https://docs.openstack.org/ocata/config-reference/block-storage/drivers/vmware-vmdk-driver.html#block-storage-vmdk-driver

Partially-implements: blueprint kolla-ansible-support-vsphere

Change-Id: Ic3eb7ae34c1e8584945b3d97f8b427ee67ea8fba
2017-07-13 09:44:12 +08:00
Michal (inc0) Jastrzebski
50735ff1bb Allow tmp path to download registry
Required for dockerhub publisher

Change-Id: I0231bd07415ef05b3f4f937e32a9df4cd0643672
2017-07-12 14:34:02 -07:00
Michal (inc0) Jastrzebski
2f00c64616 Enable proxy cache for tarballs download
Lately, after we increased number of jobs, infra started to experience
network traffic issues due to us downloading registries. This
per-nodepool cache should help and also speed up actual gate.

Change-Id: I621a9c91e4508ef208a28137a736fd8468388219
Depends-On: I527d32f9b43dabb7640bfb056e2bf828b7c1dfa9
2017-07-12 11:50:44 -07:00
Jenkins
49b8a22d56 Merge "Add ceph rgw object store support into trove" 2017-07-12 15:52:28 +00:00
Jenkins
05eecdc451 Merge "Fix glance Upload large image haproxy timeout when using external" 2017-07-12 12:35:32 +00:00
zhubingbing
2c9d9c9105 Set api_v2 to True in image-feature-enabled
Either api_v1 or api_v2 must be True in [image-feature-enabled]

Change-Id: I8d25d4b43b030c58e9c365937d81c82418a47436
Closes-bug: #1703722
2017-07-12 10:30:17 +08:00
Jenkins
a71aa61ea7 Merge "Use unified vars in task" 2017-07-12 01:56:12 +00:00
Jenkins
9e2a023397 Merge "Use /run for all containers when need access namespace" 2017-07-12 01:55:23 +00:00
Jeffrey Zhang
75c5700acb Revert "Fix a typo and complement doc in ceph-guide.rst"
This reverts commit 4e8bd619dda87c256ff6a06287de9d7c0f6c0dff.

The original doc is correct. The 5GB journal is create in ceph-osd
bootstrap script in kolla code base[0]. And there is no script to handle
KOLLA_CEPH_OSD_BOOTSTRAP_D label too.

[0] https://github.com/openstack/kolla/blob/master/docker/ceph/ceph-osd/extend_start.sh#L20,L24

Change-Id: Ia1b05af64915c204e185dccde30963d2ad1788ed
2017-07-12 09:40:34 +08:00
Jenkins
16730ea68c Merge "Fix option api_v1 in tempest.conf" 2017-07-11 13:48:38 +00:00
Jenkins
d5c328af3b Merge "Fix designate-api listen interface" 2017-07-11 11:29:02 +00:00
zhubingbing
17ac22c40d Fix option api_v1 in tempest.conf
Change-Id: Ia92ea9114ffec1dc3108969cb48a3264a23e0eea
Closes-bug: #1703515
2017-07-11 05:57:16 +00:00
Bertrand Lallau
f8bbba5531 Fix designate-api listen interface
designate-api service is launched using dns_interface instead of api_interface.
Haproxy is using the good interface (api_interface), hence designate_api
can't be accessed.

Change-Id: I24e356c167c931a6b69a283efba12117fcff936a
Closes-Bug: #1703425
2017-07-10 19:12:37 +00:00
Bertrand Lallau
efc50df560 Searchlight: activate Ironic resources
Ironic resources can be indexed by Searchlight.
This patch enable it.

Change-Id: I003a10055629189791adbb522344e6c9cec597f3
2017-07-10 20:53:50 +02:00
Bertrand Lallau
dbce666b54 Fix searchlight nova resources indexation
* nova_server resources resources are not actually
indexed.

* nova flavor are not indexed too, cause the notifications topic for
flavors is versioned_notifications.
We need to config notifications_topics_exchanges with value
'versioned_notifications,nova' in order to get the related versioned.

Change-Id: Ibf4ee7d7efceee5aefac5f83e22b994ae33ce047
Closes-Bug: #1703435
2017-07-10 20:47:33 +02:00
Bertrand Lallau
8b5b3cef4e Clean some Boolean condition checks
* "bool" filter is removed when not required
* 'not' is used instead of '== False' check

Change-Id: I85a5bb9a5ea874ac1c397cbf8de416147d2424c3
2017-07-10 15:00:28 +00:00
Eduardo Gonzalez
eeb932c700 Fix bandit tests directory
- Bandit tests are executed in kolla directory,
  in kolla ansible this directory is kolla_ansible.

- Error is silently ignored:
  Files skipped (1):
  	kolla (No such file or directory)

- Also, in ansible/ there is python code in more places
  than only ansible/library, remove library to pass test
  over the whole ansible directory

- Debug tests fails due cannot import tests.
  ImportError: Start directory is not importable: './kolla-ansible/tests'

Change-Id: I0716034c382209b385105bb3a6e0bb7334076e45
2017-07-10 14:01:46 +00:00
Bertrand Lallau
f5624b21f9 Fix tools/cleanup-images script error
When cleanup-images is launch without parameters the following error is
triggered:
./cleanup-images: line 72: break: only meaningful in a `for', `while',
or `until' loop

This patch fix it.

Change-Id: Ie8c63420a4e9b0d49a4e6be4172c8f0be912b556
Closes-Bug: #1702496
2017-07-10 13:53:23 +00:00
Noboru Iwamatsu
2182e5631e delete delimiter from init fernet condition check
In ansible 2.3.1, conditional statement should not include jinja2
templating delimiters (e.g. {{ ).  So, this change removes the
delimiters from when statemant, and also removes unnesessary
parentheses from until statement.

Closes-Bug: 1702607

Change-Id: I071ffd5ba6175ee1bc61719a84b805c022753459
2017-07-10 13:51:00 +00:00
jimmygc
f70dfc5dc3 Make glance filesystem_store_datadir configurable.
User can use custom directory to store images.
For example using a shared file system as backend.

Change-Id: Iab7a9a51e619bdbf8f7bd4626ebe4d703e6d4819
2017-07-10 14:46:22 +01:00
Jenkins
4510c525a6 Merge "Set neutron RPC workers and state report workers" 2017-07-10 13:44:18 +00:00
Jenkins
0572a394be Merge "Avoid launching "local" actions too many times" 2017-07-10 13:40:49 +00:00
Jenkins
6f2874cc84 Merge "Use latest docker engine in gate" 2017-07-10 13:30:48 +00:00
Eduardo Gonzalez
378ec1f1fe Fix depends-on kolla gates
When using depends-on, gates will not build cinder
and ceph images, causing ceph deploy gates to fail.

Change-Id: I441c742251754db27374331f774041c214678eba
2017-07-10 11:28:42 +00:00
Yotaro Konishi
7e2c3ec2f5 Fix an invalid variable name
According to [1], Ansible variable names should not include hyphens.
Kolla-Ansible fails with a wrong variable name 'barbican-api' when
deploying Barbican.

This patch fixes the issue that was recently introduced in [2].

[1] http://docs.ansible.com/ansible/playbooks_variables.html#id15
[2] 08ab3d8e739fc5b499a4cb565cdbcccd6e1c97a1

Change-Id: Ib962e31ad93316e56130c9fc38dabfc918de17ce
Closes-Bug: #1703287
2017-07-10 14:03:28 +09:00
jimmygc
69d9343fd0 Add ceph rgw object store support into trove
Ceph rgw can be used as object store instead of Swift.
This patch enable trove to use ceph rgw as object store.

Change-Id: I50b878078b7c62c1034a102d064dfa90a1357ee8
2017-07-10 11:30:10 +08:00
Jeffrey Zhang
dba360f5a8 Use /run for all containers when need access namespace
If use /run/netns, it may cause namepace stale and unable to remove. The
root cause may be that docker engine still unrelease the namespace
folder.

Change-Id: If120d54c266878990c952b60043b596b0a0788ab
Closes-Bug: #1703077
2017-07-08 14:07:59 +08:00
Jeffrey Zhang
ae79f7bb7c Use latest docker engine in gate
Kolla support latest docker engine right now.

Closes-Bug: #1661549
Change-Id: I5074fd16bdd158df8e97f909dead0a59a14fdf42
2017-07-07 17:25:08 +08:00
Jenkins
f2a19a4811 Merge "Standardize Keystone domain variables" 2017-07-07 09:21:16 +00:00