3297 Commits

Author SHA1 Message Date
caoyuan
cb03e96dc7 dev mode: Add support for senlin
Allows users to develop on Senlin using Kolla.

Partially implements: blueprint mount-sources

Change-Id: I3523ab5638b8440050f538501f1b1a35270435cd
2018-04-18 04:53:24 +00:00
Zuul
09ca7d66d5 Merge "kibana: allow use of server.basePath" 2018-01-17 16:11:30 +00:00
Zuul
e8386f7fb2 Merge "Check enable_cinder before deploy iscsi and tgtd" 2018-01-17 08:48:30 +00:00
Zuul
e7b3bd0358 Merge "Add cinder_enpoint_type option in trove" 2018-01-17 08:38:20 +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
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
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
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
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
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
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
Zuul
32196631e0 Merge "Fix ironic inspector public endpoint" 2018-01-05 07:12:10 +00:00
Dai Dang Van
fdfefa9360 Support policy.yaml file for Aodh
This will copy both of yaml or json policy file
if it exists

Change-Id: Ie5e03e0307d239f1079d2522e353367f7f954e77
Implements: blueprint support-custom-policy-yaml
Co-authored-By: Duong Ha-Quang <duonghq@vn.fujitsu.com>
2018-01-05 01:20:20 +00:00
Mark Goddard
dda24c47bc Fix ironic inspector public endpoint
Fixes a bug where the Baremetal Introspection service's public endpoint
registered in the Identity service referenced the internal API endpoint.

Also updates keystone endpoints for the Baremetal and Baremetal
Introspection services during reconfigure and upgrade operations.
Previously this was only done during deploy.

Change-Id: I32d475f288bb4a3834c13cc86f0c53b5437c3d25
Closes-Bug: #1738418
2018-01-04 20:47:17 +00:00
Zuul
f1635b4ae5 Merge "fix the tempest failure for external ceph" 2018-01-04 09:39:57 +00:00
Zuul
30ff168583 Merge "Fix failure handling in prechecks" 2018-01-04 09:25:00 +00:00
Zuul
6a038f66f8 Merge "Add tempurl to swift pipeline" 2018-01-04 09:23:57 +00:00
Zuul
9f9353cb66 Merge "We install 'ca certs' not 'ubuntu ca certs'" 2018-01-03 18:33:02 +00:00
Zuul
83ba36c5fd Merge "nova: set libvirt/cpu_mode on aarch64 to working value" 2018-01-03 16:53:42 +00:00
Marcin Juszkiewicz
dff7896d02 nova: set libvirt/cpu_mode on aarch64 to working value
Instance failed to spawn: libvirtError: unsupported configuration: CPU
mode 'host-model' for aarch64 kvm domain on aarch64 host is not
supported by hypervisor.

Change-Id: Iad530457aef24ee8f561a8f7d2c6c6150c55bc42
2018-01-03 14:22:23 +00:00
Marcin Juszkiewicz
f00fa0a2a7 We install 'ca certs' not 'ubuntu ca certs'
Change-Id: Ie6e1d30d2fcbdd7c138c05585f24931e8495fc28
2018-01-03 12:44:42 +01:00
caoyuan
d8f6c76f6b fix the tempest failure for external ceph
show_multiple_locations is missing for external ceph, and it will
cause tempest run failed.
it means the conditon for show_multiple_locations is
glance_backend_ceph but not enable_ceph, this patch it fix it.

Change-Id: I3c95c3b0a7e34639b376bdfd0205f3930b06e2cd
Closes-Bug: #1741022
Co-Authored-By: chenqiaomin <chen.qiaomin@99cloud.net>
2018-01-03 19:05:38 +08:00
Zuul
c325aadda8 Merge "Prevent cinder conf from copy nfs_shares to unrelated nodes" 2018-01-03 10:47:20 +00:00
Zuul
1c98469d57 Merge "mariadb: enable galera clustering by default" 2018-01-03 08:49:01 +00:00