8468 Commits

Author SHA1 Message Date
Zuul
17954c093a Merge "Updated from global requirements" 2018-01-17 07:51:31 +00:00
Zuul
5d4270d282 Merge "Remove the duplicated task for tests/post.yml" 2018-01-17 07:51:29 +00:00
Zuul
e929574472 Merge "Add os_region_name to Trove configuration files" 2018-01-17 07:51:28 +00:00
Zuul
22954cc03b Merge "Update network_label_regex on trove templates" 2018-01-17 07:51:26 +00:00
Zuul
fc272e7ad5 Merge "Remove the unnecessary gather facts" 2018-01-17 07:48:49 +00:00
Zuul
9f7ffcbbf6 Merge "Remove the deprecated "giturl" option" 2018-01-17 07:47:45 +00:00
Zuul
3456005c4b Merge "add var haproxy_client_timeout and haproxy_server_timeout" 2018-01-17 07:35:13 +00:00
ZhongShengping
ca558f4bb6 Add cinder_enpoint_type option in trove
https://github.com/openstack/trove/blob/master/trove/common/cfg.py#L85

Change-Id: I51d08d5a57453bb8a8459daea73a17b5e800f45f
2018-01-17 15:31:21 +08:00
Zuul
f74bef45d6 Merge "Designate/Neutron communicaton failure" 2018-01-17 07:28:07 +00:00
caoyuan
b63ecd7e3e Update kolla_internal_fqdn to database_address since it defined in all.yml
through the database_address has beed defined in groups_vars/all.yml, we should
better use it, this way, if we want to use external database, we just need to
redefined in all.yml

refer to https://github.com/openstack/kolla-ansible/blob/master/ansible/group_vars/all.yml#L83
Co-Authored-By: chenqiaomin <chen.qiaomin@99cloud.net>

Change-Id: Ie559301451954e16347ceaabf02f594c5c5cbe56
2018-01-17 13:01:48 +08:00
Zuul
dad0409f0a Merge "Create volumes for Bifrost's persistent data" 2018-01-17 03:55:49 +00:00
Zuul
319dd40fc2 Merge "dev mode: Add support for keystone" 2018-01-17 03:44:35 +00:00
Zuul
26536e2c1a Merge "Local connection to remote Grafana can fail" 2018-01-16 07:46:47 +00:00
OpenStack Proposal Bot
790179e5c2 Updated from global requirements
Change-Id: I68a1f61af30f5cc3b0604fb988cf773107891b11
2018-01-16 04:10:19 +00:00
caoyuan
c38ab37766 Remove the unnecessary gather facts
By default, the ansible task will gather facts, it can be configured by
set "father_facts: true", it's unncessary to run setup in tasks, it will
waste much time when hosts is large.

Change-Id: I9462a538c76b6271a34531d8752b72cc695f693e
Closes-Bug: #1743485
2018-01-16 10:25:30 +08:00
Paul Bourke
8a2048906d Add a precheck to ensure nscd is not running
The 'name service caching daemon (nscd)' seems to effectively disable
Docker's user namespace when '/run' is bind mounted. This can cause
issues with Kolla containers that use this mount, if the uid the
container runs as exists on the system, they clash and container will
either fail to start, have sudo issues, etc.

Change-Id: I9ac6bdb193f1520d025251d3abfa761700481cc9
Closes-Bug: #1723934
2018-01-15 17:47:27 +00:00
caoyuan
18bb9d1a4d Remove the duplicated task for tests/post.yml
Change-Id: Ifdf2ede2cb5f057d1d1f02bfa00ee05872e94b9f
2018-01-15 23:54:50 +08:00
goldyfruit
474b15dc5b Add os_region_name to Trove configuration files
By default Trove is looking for "RegionOne", if the region is
different the os_region_name parameter needs to be defined withing
the Trove configuration files.

To solve this issue, we need to set "os_region_name" option in
trove-api, trove-taskmanager and trove-conductor configuration.

os_region_name = {{ openstack_region_name }}

Change-Id: I1397046d2c88ba50d01a65c48e021d3535fe39d2
Closes-bug: #1743402
2018-01-15 10:33:49 -05:00
Pierre Blanc
5373f58781 Update network_label_regex on trove templates
Presently the taskmanager failed during a creation
of a trove cluster.

During the network ip checks, it didn't match the network.

The idea is to configure it to match all network name.
Finally this configuration is the same as for trove.conf.

Closes-bug: #1743395
Change-Id: I9284501424e6daa7d33d1590994bf231de71edd9
2018-01-15 10:08:01 -05:00
liujunpeng
c51bf13420 add var haproxy_client_timeout and haproxy_server_timeout
Change-Id: I329307b226757144a493ff21c76125cae8468e91
2018-01-15 20:01:26 +08:00
Duong Ha-Quang
d0cac653eb Check enable_cinder before deploy iscsi and tgtd
Add check enable_cinder to iscsi and tgtd deploy logic.

The ironic check is not effected.

Change-Id: If14ae52fbacf106b112e40a813ad6143cb095edc
Closes-Bug: #1742873
2018-01-15 03:47:00 +00:00
zhang.lei
ecb5b44c46 Remove the deprecated "giturl" option
From openstackdocstheme 1.18.0, valid Git URLs can be retrieved by
openstackdocstheme[1], we do not need giturl option anymore.

[1] https://review.openstack.org/532163

Change-Id: Idf8da7ec59d166dc45b7ef2d813d4be91fd302fb
2018-01-15 03:41:21 +00:00
Mark Goddard
98a4b44822 Use bool filter with enable_ironic_pxe_uefi
Without the bool filter, "no" is interpreted as True.

Change-Id: I8812b72102199f533730cbde85b8ffe61cf81218
Closes-Bug: #1742969
2018-01-13 08:39:23 +00:00
Jeffrey Zhang
d11ba606d8 Implement ceph fs
Implements: blueprint cephfs
Change-Id: I5bf14a668a9e8976a18aa28a5bbfe586690bbd31
2018-01-13 13:44:17 +08:00
Zuul
95cd334707 Merge "Ensure docker running before execute the destroy action" 2018-01-12 08:32:54 +00:00
Christian Berendt
ad90805cee kibana: allow use of server.basePath
When using server.basePath a dynamic bundle optimization will be started.
This job needs write access to /usr/share/kibana/optimize/bundles.

Change-Id: Ieaae79a5940f3972a8067814a1113ef635970875
2018-01-11 20:24:10 +01:00
Doug Szumski
2854671018 Local connection to remote Grafana can fail
Following deployment of Grafana, a check is made to ensure that the
login page is accessible. If the Grafana container has been deployed
to a remote host, but is not directly accessible over the deployment
network then the check will fail because the task is set to run with
connection: local. For example, if Ansible is using a different
network to the network on which grafana is exposed to connect to the
remote host then the task may fail. A similar problem exists for the
remaining two tasks in the post_config file.

Further to this, if Grafana is not accessible, the ansible uri
module does not return a status field, so no retry attempts are made
and the task fails with an obscure message:

TASK [grafana : Wait for grafana application ready] *****************
fatal: [some_remote_node]: FAILED! => {"failed": true, "msg": "The
conditional check 'result.status == 200' failed. The error was: error
while evaluating conditional (result.status == 200): 'dict object' has
no attribute 'status'"}

$ ansible --version
ansible 2.3.2.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
  python version = 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623
(Red Hat 4.8.5-16)]

Change-Id: I77e2129b4a1c5f2f0802fb92eb03395ff72cf5f3
Closes-Bug: #1742501
2018-01-11 09:38:02 +00:00
Zuul
697743130b Merge "Use WSGIApplicationGroup %{GLOBAL} in mod_wsgi configuration" 2018-01-11 08:52:04 +00:00
Pierre Hanselmann
f11042acae Designate/Neutron communicaton failure
Designate communicate on publicURL (Default) endpoint with Neutron.
When TLS is enabled it generates errors (Missing certificate). We
need to ensure designate communicate with neutron on internalURL.

Change-Id: Ie969fc2d1a2d4241371b459af2fc5b7bdf236bf0
Closes-Bug: #1742625
2018-01-11 09:05:14 +01:00
Zuul
5fe4f199bd Merge "Enable vitrage dashboard" 2018-01-11 07:51:03 +00:00
ZhongShengping
a3f8c987f7 Use WSGIApplicationGroup %{GLOBAL} in mod_wsgi configuration
Change-Id: I419cd02aeb899d93bba5f330d7e4535afd8c0ed8
Closes-bug: #1708655
2018-01-11 00:50:42 +00:00
Zuul
b543b3b712 Merge "Change debian mariadb backup tool to mariabackup" 2018-01-10 19:01:13 +00:00
Zuul
68aaad6c5d Merge "Change the docker daemon name in Debian 9 on Arm" 2018-01-10 06:31:17 +00:00
Ian Kumlien
ee67917c49 We actually require 'mode http'
So it turns out that without 'mode http' redirects and rewrites
will not happen, and we're relying on it for multiple things.

Switch neutron to use http-tunnel mode instead which seems to work,
we've had no errors in our setup.

See:
https://www.haproxy.org/download/1.5/doc/configuration.txt

Quoute:
" - tunnel        : only the first request and response are processed,
                      everything else is forwarded with no analysis."

Fixes: bba80acc8b78ab3a34d61b3d0b496551e5a9258e
Change-Id: I0d9abe9731fba1e4deb64932e859f991648bb1ec
2018-01-09 13:19:54 +01:00
Zuul
b052e60e4f Merge "ironic-pxe: support pxe uefi mode" 2018-01-09 08:14:26 +00:00
Michal Rostecki
307d324f36 dev mode: Add support for keystone
Provide support fot kolla dev mode in Keystone. When
'kolla_dev_mode' or 'keystone_dev_mode' variables are
enabled, source code of Keystone project is cloned
and bindmounted.

Partially implements: blueprint mount-sources

Change-Id: Ie4cf401ecd9a507e739a53dfdf16f65292ab57e5
2018-01-09 07:54:19 +00:00
Zuul
9ad180bbdb Merge "Add the gnocchi_backend_storage configuration for external ceph docs" 2018-01-09 07:21:48 +00:00
Tone.Zhang
3886918c1f Change the docker daemon name in Debian 9 on Arm
Enable docker-ce on AArch64 platform in Debian.
Set the docker daemon name according to the existing of "dockerd" binary.

Closes-Bug: #1734255

Co-authored-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>

Change-Id: Ie0b3bac72b408dccf3fb99912b4fe2d4788705e5
Signed-off-by: Tone.Zhang <tone.zhang@arm.com>
2018-01-09 15:02:40 +08:00
Zuul
24b2a32250 Merge "Deploy ceph mgr during upgrade" 2018-01-09 05:51:34 +00:00
Zuul
9132860118 Merge "Add ironic inspector to fluentd log collection" 2018-01-08 08:52:09 +00:00
Zuul
6f50a7f6d8 Merge "Ensure inspector uses internal ironic interface" 2018-01-08 08:52:02 +00:00
Zuul
dbde60c1c2 Merge "Mount kolla_logs volume in bifrost_deploy" 2018-01-08 08:44:36 +00:00
caoyuan
8cb57f54fa Ensure docker running before execute the destroy action
Before cleanup containers and hosts, it should be ensure the
docker serivce running but the destroy action missing it,
this patch to fix it

Change-Id: I85ca806c1fd395daf937b585d466e16fbad4e20c
Closes-Bug: #1741852
2018-01-08 16:35:41 +08:00
Zuul
4df5fe5033 Merge "Add rsync env for account & container replicators" 2018-01-08 07:37:49 +00:00
chenxing
12cdd90633 Enable vitrage dashboard
Depends-On: I5846b48d336583ae82743f61bfbdadc99c755e8d
Change-Id: Iaf15dad5e4d527b8721409e56fc081043c1cb174
Implements: blueprint vitrage-roles
2018-01-08 06:52:46 +00:00
Xinliang Liu
2f903bf4e4 Change debian mariadb backup tool to mariabackup
Current debian stretch use mariadb 10.1.26 which integrates
a backup tool call 'MariaDB Backup' [1]. It is based on
Percona XtraBackup and support full backup capability for
MariaDB Server that includes encrypted and compressed data.

This patch also fixs muti-node deployment failed on Debian
aarch64. Percona's repo has no XtraBackup package for Debian
aarch64. In such case we can use MariaDB builtin backup tool
'MariaDB Backup'.

[1] https://mariadb.com/kb/en/library/mariadb-backup-overview/

Change-Id: I7271d3f93b41d4839670a2c4a358744333411cd7
2018-01-08 14:14:11 +08:00
Zuul
1b70a37db1 Merge "change kuryr default driver option name" 2018-01-08 04:45:44 +00:00
Eduardo Gonzalez
357791ac39 Add v3 to tacker's keystone endpoints
Tacker fails to discover token url because keystone dropped the API
A workaround is to add v3 to force tacker openstack_driver to use
v3 endpoints.

Change-Id: I397ab654906bd486e5bc68d2c8f57cae6f0c6c8d
2018-01-05 14:25:11 +01:00
Zuul
32196631e0 Merge "Fix ironic inspector public endpoint" 2018-01-05 07:12:10 +00:00
Zuul
6147c137d3 Merge "Support policy.yaml file for Aodh" 2018-01-05 07:07:29 +00:00