9347 Commits

Author SHA1 Message Date
ZhijunWei
6d5cf09f7e Fix the zookeeper group missing when run tests
Change-Id: I05960661b8efb32a3d57686dc3780d4138309ef5
Closes-Bug: #1793262
2018-09-17 10:01:41 -04:00
Michal Nasiadka
55455cdde2 Rework ceph-guide bluestore/filestore sections
Create bluestore/filestore subsections in ceph-guide and add note
about using bluestore by default - for better readability.

Change-Id: Ib51706838ecf35ac274053b916b3a17f0de90758
2018-09-17 10:35:47 +02:00
Eduardo Gonzalez
fffdc6b3e5 Remove_images in kolla_docker module
Add support to remove images from kolla_docker
ansible module.

Change-Id: Ib6bcb98b5b295a2d590df3013188913d1f7f3584
2018-09-14 17:14:25 +02:00
jiangpch
d57c7019a9 Make haproxy proxy to the right glance_api backend
Since glance_api only start one container when using file
backend, the haproxy should follow this rule.

See: https://review.openstack.org/#/c/448654

Closes-Bug: #1722422

Change-Id: Id3519581e0f54509dacd24d0dd542c630342c771
2018-09-13 15:24:02 +01:00
Christian Berendt
1b4430314c Allow custom fluentd input configurations
Co-authored-by: Mark Goddard <mark@stackhpc.com>
Change-Id: I2e5ecf5b01cc842ec480fc4d883a7d2283fc1c31
2018-09-11 13:55:15 +01:00
chenxing
8219542f89 Fix the syntax issues of ovs-dpdk
backport: rocky

Change-Id: Id437c26376f80462369db1fb3888db2098278f16
Closes-Bug: #1791686
2018-09-11 10:47:03 +08:00
Zuul
e7958d1435 Merge "Add check.yml for prometheus and vitrage" 2018-09-06 11:34:09 +00:00
Zuul
00f26ad0a2 Merge "Update reno for stable/rocky" 2018-09-06 07:20:11 +00:00
Zuul
2ff923c695 Merge "fix condition of kibana pull action" 2018-09-05 15:28:15 +00:00
Mark Goddard
ee7a29cf00 Remove compute hosts from etcd group
Since I701d495675178c3ed8ec1f00b31d09f198b38a6f merged, etcd only runs
on the control hosts, not the compute hosts. We therefore no longer
require the etcd group to include the compute hosts.

Since the group mapping is now static, we can remove the use of
host_in_groups from the etcd service, in favour of the simpler method of
specifying the group.

Change-Id: Id8f888d7321a30a85ff95e742f7e6c8e2b9c696f
Related-Bug: #1790415
2018-09-04 19:23:18 +01:00
f7c208084c Update reno for stable/rocky
Change-Id: I6f14d42362fc2364d967b0e2a4ebc57700fab200
2018-09-04 16:24:24 +00:00
Mark Goddard
354894e2e9 Add check.yml for prometheus and vitrage
Without this, kolla-ansible check fails with the following error:

Unable to retrieve file contents
Could not find or access '/path/to/kolla-ansible/ansible/check.yml'"}

Also adds the check command to the CI tests, to ensure that it does not
break again.

Change-Id: I9fc2f9999f55cb742ac3ac38579dcf26524a9fc7
Closes-Bug: #1790653
2018-09-04 15:36:34 +01:00
Zuul
4dcb4ce741 Merge "Run etcd on controller node only" 2018-09-03 08:59:38 +00:00
Zuul
6fca49ab51 Merge "Fix bluestore disk naming format in kolla-ansible" 2018-09-03 06:00:30 +00:00
Hongbin Lu
d29ecbd64c Run etcd on controller node only
In before, etcd container is launched in compute node if kuryr is
enabled. This logic breaks the all-in-one setup in which the etcd
cluster is configured with two members (controller and compute)
but it actually has one member only.

However, even if kuryr is enabled, running etcd in compute node
is not the common practice and kuryr has changed its devstack
plugin to run etcd on controller only [1].

[1] https://review.openstack.org/#/c/514815/

Closes-Bug: #1790415
Change-Id: I701d495675178c3ed8ec1f00b31d09f198b38a6f
2018-09-02 22:30:50 +00:00
binhong.hua
1e26b05fe0 fix condition of kibana pull action
Change-Id: Ia459d8b9925b22b23c90a33364da6ef40f4b1a70
2018-08-31 14:39:33 +08:00
Victor Morales
cc5c347217 Fix Copying 10-rest-connector.xml task
The destination folder for this task requires root permissions.

Change-Id: Icdc37cde7ba7b6971cf36632a9b6071b3cf600c2
2018-08-30 21:08:53 -07:00
wangwei
4e5e28fff5 Fix bluestore disk naming format in kolla-ansible
The current bluestore disk label naming is inconsistent with the
filestore. The filestore naming format is that the disk prefixes
belonging to the same osd are the same and the suffixes are
different.

This patch keeps the bluestore's disk naming as well.

Change-Id: I71dda29fc4a6765300ce7bb173d2c448c24f6eca
2018-08-31 09:55:09 +09:00
Zuul
3f14a99f2a Merge "[prometheus] Allow custom alert rules to be configured." 2018-08-30 11:57:11 +00:00
Zuul
f16a467758 Merge "Improve ODL configuration" 2018-08-30 09:44:37 +00:00
Zuul
cfee876895 Merge "[prometheus] Enable ceph mgr exporter" 2018-08-30 07:09:48 +00:00
Zuul
a9e02d6264 Merge "Remove usage of nova's RamFilter" 7.0.0.0rc1 2018-08-29 08:53:56 +00:00
Zuul
fd8fbafe2a Merge "Remove the unncessary register variable defined" 2018-08-29 08:50:31 +00:00
Zuul
cde23811f7 Merge "Support checkout dedicated version from git with dev mode" 2018-08-29 05:53:04 +00:00
zhulingjie
7f1f0178c7 Remove the unncessary register variable defined
when creating Nova databases user and setting permissions,
no need to register the database_user_create, and it used
nowhere, remove it is safe

Change-Id: If456b7c2ed25aa729be7d98ef875230c66581d65
2018-08-28 23:01:25 -04:00
Matt Riedemann
e4a9d48f20 Remove usage of nova's RamFilter
As of https://review.openstack.org/596502/ in Stein
the RamFilter in nova is deprecated. It is not needed
when using the filter_scheduler driver (which is the
default scheduler driver).

Change-Id: Iee3dab7b5dc7074e9840826afe58ce2bfa40a3df
2018-08-28 14:20:39 -04:00
Zuul
874cde1e35 Merge "Allow nova to use cephfs cinder volumes without nova cephfs backend" 2018-08-27 07:42:51 +00:00
Zuul
140180178b Merge "Include default_docker_volume_type for magnum.conf" 2018-08-24 05:36:04 +00:00
caoyuan
0b0b2b39d7 Provide support for nova dev mode in kolla
Add a possibility to mount sources as volumes to containers,
in "more than documentation" way. That will let us to use kolla
as a replacement for devstack.

Partially implements: blueprint mount-sources
Co-Authored-By: zhulingjie <easyzlj@gmail.com>

Change-Id: I10677e5ad22f2107a0657feeeaf32287ab9f8e28
2018-08-24 10:50:45 +05:30
Zuul
6dd6fe8028 Merge "Fix redis sentinel change myid every time when it restarted" 2018-08-23 10:23:55 +00:00
Zuul
3288e0c4e3 Merge "Update usage of "|" to "is"" 2018-08-23 10:23:54 +00:00
qingszhao
b7ea7f5761 add python 3.6 unit test job
This is a mechanically generated patch to add a unit test job running
under Python 3.6 as part of the python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Ife0cb63cf4e5c1cf2ce43510bbf9ff130fdfc1f7
Story: #2002586
Task: #24305
2018-08-23 07:47:23 +00:00
qingszhao
f326f6fd19 switch documentation job to new PTI
This is a mechanically generated patch to switch the documentation
jobs to use the new PTI versions of the jobs as part of the
python3-first goal.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I2e313bb43d3a03a0d516cd87a77b3911363de7ee
Story: #2002586
Task: #24305
2018-08-23 07:46:52 +00:00
qingszhao
d272aa1306 import zuul job settings from project-config
This is a mechanically generated patch to complete step 1 of moving
the zuul job settings out of project-config and into each project
repository.

Because there will be a separate patch on each branch, the branch
specifiers for branch-specific jobs have been removed.

Because this patch is generated by a script, there may be some
cosmetic changes to the layout of the YAML file(s) as the contents are
normalized.

See the python3-first goal document for details:
https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: Iddd03da96d104a4c44c811b2dffd36a2d5b5d14e
Story: #2002586
Task: #24305
2018-08-23 07:40:05 +00:00
Liping Mao (limao)
735d085bc7 Fix redis sentinel change myid every time when it restarted
If you use COPY_ALWAYS, kolla will overwrite /etc/redis/redis.conf.
But Redis Sentinel will store myid in this file. So when it restart,
Redis Sentinel will regenerate new myid every time. Redis Sentinel
cluster will see more and more sentinel, This patch use hash value
with hostname as sentinel myid.

Change-Id: I6d9403231e41baac177f29c58e67ba605795385d
Closes-bug: #1788179
2018-08-23 14:34:28 +08:00
Paul Bourke
0d03fc2789 Temporarily remove the rabbitmq clusterer plugin
In order to migrate to the latest release of rabbitmq (3.7), we need to
first remove this deprecated plugin which is no longer supported (the
problems it solved are now addressed in rabbitmq itself).

This avoids a circular dependency in CI where the new images depend on
the new clustering and the new clustering depends on the new images.

Change-Id: I921459f3e40b9e0d4af9497384e49aabf0abe79b
2018-08-21 11:24:09 +00:00
Zuul
eb249b4fea Merge "add trove policy file customization" 2018-08-20 18:08:00 +00:00
Zuul
511e3d2389 Merge "Make source jobs voting and gating" 2018-08-20 09:38:56 +00:00
Zuul
1a6d28e756 Merge "Explicitly specify endpoint type during Monasca registration" 2018-08-20 08:43:39 +00:00
wu.chunyang
69bc7b4ee2 add trove policy file customization
now,the trove does not support policy customization.
this ps to add it.

Change-Id: I32d62d0293ddf63572cf754a7108ed74f94b216a
2018-08-20 04:28:06 +00:00
Doug Szumski
ea5a7dd300 Explicitly specify endpoint type during Monasca registration
Monasca defaults to using the public endpoint to register
Monasca endpoints which is bad practice and doesn't work on
some deployments. This change uses the admin interface by
default.

Change-Id: Ia9c5e041e71867fe72aad43e1344cd2107652d7d
Co-Authored-By: Mark Goddard <mark@stackhpc.com>
Closes-Bug: #1787610
2018-08-17 16:46:01 +01:00
Eduardo Gonzalez
f5e83cedb4 Temporary ignore B303 in bandit tests
Revert this change once the insecure usages are fixed.

Change-Id: Id7e8c9fe72db1b6f123eca540e09f77ddee2f242
2018-08-17 15:04:18 +00:00
Zuul
144b3ecb03 Merge "Fix etcd when Kuryr is disabled" 2018-08-15 15:54:10 +00:00
Mark Goddard
9322db0ed2 Make source jobs voting and gating
As discussed in Kolla IRC meeting 26th July 2018 [1].

[1]
http://eavesdrop.openstack.org/meetings/kolla/2018/kolla.2018-07-25-15.00.log.html#l-77

Change-Id: I6fc46658a9516e44843f31a308504534a6b93d8d
2018-08-15 16:51:09 +01:00
Zuul
fb6c6f10d9 Merge "Fixes bind9 restarting when no designate_forwarders_addresses" 2018-08-15 15:36:31 +00:00
Murali Annamneni
e1c5bbd998 Include default_docker_volume_type for magnum.conf
To create a magnum cluster, its required to specify
'default_docker_volume_type' with some default value (default cinder
 volume type). And, it also enables users to select
diffferent cinder volume types for their volumes.

Change-Id: I50b4c436875e4daac48a14fc1e119136eb5fd844
2018-08-15 14:01:29 +00:00
Zuul
a018e60c2a Merge "[prometheus-alertmanager] use template/first_found instead of merge_yaml." 2018-08-15 13:36:05 +00:00
Zuul
659dd21161 Merge "Fix cloudkitty mispelling" 2018-08-15 10:37:34 +00:00
Zuul
acb72ddbe1 Merge "Fix prechecks for adding a new haproxy node" 2018-08-15 09:56:20 +00:00
Ha Manh Dong
9ae2ca6323 Fix cloudkitty mispelling
Change-Id: Icc949ce71fb2788d8aa91346bf8559c2c11bcb2c
Close-Bug: #1787097
2018-08-15 13:25:47 +07:00