7640 Commits

Author SHA1 Message Date
Jenkins
aa64cd384e Merge "delete delimiter from init fernet condition check" 2017-07-17 08:18:16 +00:00
Jeffrey Zhang
ddad15c07e Remove ceilometer-api and ceilometer-collector services
* remove ceilometer-api and ceilometer-collector service
* use ceilometer-notification to publish message to proper backend
* remove useless ceilometer_database_type and ceilometer_event_type
  variables
* sync event_definitions.yaml, event_pipeline.yaml and pipeline.yaml
  file with upstream

Change-Id: Ib39053cb5f70bd11ee61d3f26d5b28accecd7190
2017-07-17 11:03:44 +08: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
Bertrand Lallau
2d424ffb14 Remove warning during kolla_docker execution
Ansible check if modules parameters are named like
%password% and allow to hidden log param in this case.
This requires adding "no_log" parameters.
This patch just add "no_log" param in order to avoid
this warning.

Change-Id: I9c1df1093e0fd101090292d6e8bf3527f99aeb17
Closes-Bug: #1702244
2017-07-14 18:43:45 +02: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
Eduardo Gonzalez
66b91d8bd0 Remove doc build errors
Gates only build deploy-guide docs, not every doc.
This change clean doc errors, only Line to long.

Also, removes doc/build folder in tox doc environment.
doc/build is folder where previus executions are stored
causing next execution to fail due rendered versions does
not follow doc style checks.

Change-Id: I623a7ee245729a06509f3a7039d5d5ed3813d977
2017-07-13 16:11:33 +01:00
Bertrand Lallau
3dbb76086a Remove Kafka from Infrastructure components list
Kafka is actually not deployed in kolla-ansible.

Change-Id: Icda9bfb3c264db9f7428f391a487c94739198e70
2017-07-13 15:34:35 +02: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
Bertrand Lallau
866a160ec9 Magnum: Enable cluster trust customization
This enable cluster_user_trust customization which is needed to get
Kubernetes integration with Cinder and Neutron LBaaS.

https://github.com/openstack/magnum/blob/master/releasenotes/notes/CVE-2016-7404-f53e62a4a40e4d30.yaml#L5

Change-Id: Ib3243b110d2c592f3bf6467b086738335799c853
2017-07-13 06:43:45 +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
Paul Bourke
4803b54bdf Add dev mode for Horizon
Includes murano-dashboard plugin

Change-Id: If99b0310dac75776ca462034926dd57794572ce9
2017-07-12 13:22:07 +00:00
Jenkins
05eecdc451 Merge "Fix glance Upload large image haproxy timeout when using external" 2017-07-12 12:35:32 +00:00
Jeffrey Zhang
63314ad6dd Move nova scheduler related parameters to [scheduler] group
Base on nova release note[0], all general scheduler configuration
options have been added to the [scheduler] group.

[0] https://github.com/openstack/nova/blob/master/releasenotes/notes/add-scheduler-config-to-scheduler-group-c83bc770e67ac115.yaml

Change-Id: Ic15ecaced3c78b86d04572fbaf2f6be5640a2a25
Closes-Bug: #1680307
2017-07-12 16:54:04 +08: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
Paul Bourke
bf95283927 Improve Swift ring setup sample script
The sample script provided in the docs to configure rings should add
each storage node the ring, not the control node pointed to by the vip.

Change-Id: I28ad60eb3c07f5da0e04e7780c41a7eed158b6d5
2017-07-11 11:44:11 +01: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
Andrew Smith
eeb535aa2e Add qdrouterd role for messaging infrastructure component
Adding the role needed to run the qdrouterd as an infrastructure
component which provides a messaging backend for the
oslo.messaging AMQP 1.0 driver. The qdrouterd will provide direct
messaging capabilities for the RPC messaging pattern in support
of hybrid messaging deployments.

Implements: blueprint qdrouterd-role
Change-Id: I74c654b3c70f61f81c2c7efa87f076a62a4a2dd8
2017-07-10 11:04:43 -04: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
Hongbin Lu
3daeea37ea Upgrade from docker-py to docker
The pypi package 'docker-py' [1] has been renamed to 'docker' [2].
It is better to move to the new 'docker' package because the old
package will be deprecated and all the new features will go into
the new package only.

Package 'docker' has been added to requirements [3]. The old
package 'docker-py' is still allowed to be in the global requirements
during the transition period but it should be removed after all or
most of the projects finsih the migration.

[1] https://pypi.python.org/pypi/docker-py
[2] https://pypi.python.org/pypi/docker
[3] https://review.openstack.org/#/c/423715/

Change-Id: Ibcd5a57a1fbf55dcc5a690e41f20917f95b63da0
2017-07-10 14:19: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
Eduardo Gonzalez
a1291fdecd Fix zun-api logging and state_path
Zun-api is using app.wsgi as log filename.
This change forzes zun-api.log to ease identification.
Also changes group owner of log dir to kolla group.
Remove glance version as is in zun's defaults
Set state_path, this is where zun will store catched images,
similar as nova cache. No need HA or volume as is only
cached data.

Change-Id: I20f8d311bfde1c0a07d7d35e9f1412c71efa8504
2017-07-10 15:52:16 +02: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
Paul Bourke
77e10c72cf Add dev mode for Murano
Change-Id: I7f1bc7fe0ee2c788c3141ea5353e1348196219e1
Depends-On: Ic0431b10d723bf84eeefc72039376fe0058dd902
2017-07-10 14:48:48 +01: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