3978 Commits

Author SHA1 Message Date
Bharat Kunwar
c20c69ee5e kolla-ansible fix to correct magnum k8s deployment
Magnum was unable to fire up k8s cluster because heat-container-agent
inside kube-master was pointing to internal keystone endpoint instead of
public endpoint. This fix tells kolla ansible to set clients_keystone
auth_uri to public endpoint so that heat-container-agent communication
with heat is successfully authenticated by keystone.

Change-Id: Ida49528f88685710b5e6b8f3c4d4622506af5ae1
Closes-Bug: #1762754
2018-05-04 17:23:37 +01:00
wu.chunyang
998b9fbbec Remove "keystone_token_provider==uuid" from keystone.conf
it missing from [0]

[0]: https://review.openstack.org/#/c/566210/

Change-Id: I990dea52d3aa45d3d7c352c2664541799d912cdc
2018-05-04 18:01:53 +08:00
Zuul
4caea9d6d2 Merge "Remove uuid as keystone_token_provider" 2018-05-04 07:48:40 +00:00
Zuul
d3198580f5 Merge "Restructure the vpnaas roles" 2018-05-04 06:36:13 +00:00
Zuul
5abeaff832 Merge "Ironic dnsmasq should not use VIP for TFTP server" 2018-05-04 05:42:18 +00:00
Duong Ha-Quang
84aeff4e92 Remove uuid as keystone_token_provider
Keystone removed uuid token provider in Rocky

This patch change the default value and fix comments for the option.

Change-Id: Idca0004852b688fcdd34ef47c38dec6b8bf05f86
Closes-Bug: #1757520
2018-05-04 11:58:40 +07:00
Zuul
ad2b856178 Merge "Let haproxy to be ODL websocket's frontend" 2018-05-04 04:09:21 +00:00
Zuul
f27ca1a395 Merge "Add cap NET_ADMIN for ironic_dnsmasq" 2018-05-03 14:46:13 +00:00
wu.chunyang
8cf67e9a87 Fix the ceph-mgr connect to cluster failed
For luminous, the ceph_mgr service provide the
dashborad for ceph, and it need connect to cluster,
but now it failed to connect ceph cluster due to
ceph.client.admin.keyring missing, this ps to fix it.

Co-Authored-By: chenqiaomin <chen.qiaomin@99cloud.net>
Closes-Bug: #1768462

Change-Id: Idb24661bc5674780db390220ca02e22975490663
2018-05-02 16:44:18 +08:00
Zuul
51bb42eb97 Merge "Update swift_devices_mount_point propagation settings" 2018-05-02 08:33:40 +00:00
chenxing
9fe70f45f3 Restructure the vpnaas roles
As neutron-vpnaas-agent has been loaded just inside of the existing l3 agent
rather than requiring operators to run a completely different binary with a
subclass of the existing L3 agent[1]. We need restructure this role to fit
with this new feature.

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

Depends-On: I47cd8ba5a14da3c76d5b1eb0b4c0cf0c729eb2ff
Change-Id: Id690a652bc9facf1c3e39358f548ab7ddd967d80
Implements: blueprint restructure-neutron-vpnaas
Closes-Bug: #1731498
2018-05-02 15:32:02 +08:00
Zuul
848196736a Merge "Fix rabbitmq-env.conf ownership in bifrost" 2018-05-02 07:10:22 +00:00
Zuul
c93ec09dc7 Merge "Fix the prechecks action for prometheus_server" 2018-05-01 06:30:37 +00:00
Zuul
82c8afd425 Merge "Make DNS resolvers configurable." 2018-04-30 14:11:37 +00:00
Paul Bourke
c96fe4146e Add cap NET_ADMIN for ironic_dnsmasq
When attempting to inspect a node with ironic, it seems at times
ironic_dnsmasq fails to process dhcp bootp requests, giving the
following error repeating:

dnsmasq-dhcp: DHCPDISCOVER(eth0) 52:54:00:ff:15:55
dnsmasq-dhcp: DHCPOFFER(eth0) 192.169.5.100 52:54:00:ff:15:55
dnsmasq-dhcp: ARP-cache injection failed: Operation not permitted

Adding NET_ADMIN fixes this.

Co-Authored-By: Mark Goddard <mark@stackhpc.com>
Closes-Bug: #1762805
Change-Id: I39acb81801710f849336380d3fde01c70cd8d8ce
2018-04-30 14:47:16 +01:00
Jorge Niedbalski
3f4bc1c50e Make DNS resolvers configurable.
Change the default hardcoded values of the dnsmasq dns resolvers
on dhcp_agent.ini.j2 to a configuration option part
of group_vars/all.yml.

Also adding 1.1.1.1 as part of the default set.

Change-Id: I629c69e556d4ddba19f68f06627038e1886ae5f9
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
2018-04-30 09:08:14 -03:00
Paul Bourke
2b3de16f81 Ironic dnsmasq should not use VIP for TFTP server
The ironic_dnsmasq config for ironic inspector uses the internal VIP for
the TFTP server address DHCP option. This is not going to work,
since HAProxy is not configured to forward TFTP, and does not support
UDP forwarding anyway. The config should use the api_interface IP for
the host running ironic_dnsmasq.

Change-Id: I56a0d46e9b528041cacea7196a525891ed5922f0
Closes-Bug: #1761815
2018-04-30 13:00:38 +01:00
James McCarthy
cac5c8954b Update swift_devices_mount_point propagation settings
The mount is "rprivate" by default, change this to "shared"
such that mount points will dynamically propagate.

Closes-Bug: #1767828

Change-Id: If3b99bd1626a44aa7b41cf7d50d67b4fc9634462
2018-04-30 09:23:50 +01:00
ZhijunWei
bca297b948 Fix the prechecks action for prometheus_server
the prometheus container is not exits, it should be
prometheus_server[0]

[0]: https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/prometheus/defaults/main.yml#L6

Change-Id: Ib44390af9b8af5156dafbd0b0da6ae061a926ec7
2018-04-29 08:12:48 +00:00
ZhijunWei
12791731c8 Correct the description for Ironic
refer to https://github.com/openstack/ironic/blob/master/devstack/lib/ironic#L1387

Change-Id: I49d0a3cb5084813d7fb968435d013250af9b9476
2018-04-28 10:16:57 +00:00
Zuul
de1777134e Merge "Configure Infoblox as an IPAM driver for neutron" 2018-04-27 10:07:46 +00:00
Zuul
2b8bc555cb Merge "Fix SSL api for multiple services" 2018-04-27 08:55:48 +00:00
Jorge Niedbalski
044e82ccfe Increase timeout for kolla_toolbox module.
This patch increases the default timeout for
the kolla_toolbox ansible module when talking
with the docker API from the default 60 to 180 secs.

This is required on slower deployments,
specially when bootstraping an environment and fernet
tokes are in usage. For faster deployments this will
be harmless, but for slower deployments this would be
beneficial.

Bug: #1767136
Change-Id: I0391715b16cf86d6c27fecf8a666de64f2735a7d
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
2018-04-26 13:02:24 -03:00
Zuul
bf9ceb406b Merge "Reduce the default values for Ceph pgs" 2018-04-26 09:47:29 +00:00
Paul Bourke
36f33f089b Reduce the default values for Ceph pgs
Required to keep Ceph working once we move to Luminous 12.2.1

Change-Id: I8d3e56f2053c939ea313c60cc04c0ff79dd27d25
Closes-Bug: 1763356
2018-04-25 17:24:24 +01:00
Zuul
8d529babd5 Merge "dev mode: Add support for aodh" 2018-04-25 14:47:44 +00:00
Zuul
d35712800b Merge "Add role to deploy prometheus" 2018-04-25 13:59:45 +00:00
Zuul
cc6960dd04 Merge "Make the certificates role just run on deploy node" 2018-04-25 02:39:57 +00:00
Zuul
c2936c2c06 Merge "Deprecate os_region_name option" 2018-04-24 09:47:39 +00:00
caoyuan
4a502e8bf9 Fix the magnum description
refer to https://github.com/openstack/magnum/blob/master/devstack/lib/magnum#L113

Change-Id: I5207a7ba708daa17f65a2eb61282a265342f3eee
2018-04-24 11:44:18 +08:00
Zuul
450e4f4a80 Merge "Avoid creating an empty volume" 2018-04-23 14:28:00 +00:00
Zuul
b613156bad Merge "Add blazar-dashboard into Horizon" 2018-04-23 09:02:49 +00:00
Mark Goddard
746a2e0900 Fix rabbitmq-env.conf ownership in bifrost
The permissions of rabbitmq-env.conf for bifrost were changed in
I6e32d94d4172dd96d09d8609e8a5221ab5586a31 to 0660. This breaks bifrost
deployment, as the rabbitmq user is no longer able to read the
root-owned file on startup.

This commit changes the ownership of the file in the container to
rabbitmq:rabbitmq after it has been copied.

Change-Id: I53418f5d4e40b7ca57e546e2e92a57f613fd381e
Closes-Bug: #1766196
2018-04-23 09:59:54 +01:00
Zuul
b29acfeb1a Merge "Add precheck for haproxy certificate file" 2018-04-23 08:57:26 +00:00
Zuul
c9f899b574 Merge "Add owner and group when create directories" 2018-04-23 08:57:25 +00:00
caoyuan
fb41199790 Fix etcd container check failed
mode is unsupported parameters for (kolla_docker) module[0].

[0]: https://github.com/openstack/kolla-ansible/blob/master/ansible/library/kolla_docker.py#L726

Co-Authored-By: wu.chunyang <wu.chunyang@99cloud.net>
Closes-Bug: #1766170

Change-Id: I06077e09773f6b263e11b0579a74aaf8f73c1110
2018-04-23 14:23:43 +08:00
Zuul
a715a9fb9b Merge "Add task to create volumes path in cephfs" 2018-04-23 03:33:38 +00:00
caoyuan
1822d4890d Avoid creating an empty volume
Avoid creating an empty volume[0] when not use dev mode
for glance.

[0]: https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/glance/defaults/main.yml#L14

Change-Id: Ib27489abe20fb562acbc28263f7680e39d9dab44
2018-04-22 21:11:06 +08:00
Zuul
1bdb98e9a3 Merge "Make dev mode available to glance-registry" 2018-04-21 16:03:25 +00:00
caoyuan
d6a6486886 Add owner and group when create directories
Change-Id: Idb429823d48c4f40cf391151e8bb7478cc7d3631
2018-04-20 23:16:08 +08:00
Vladislav Belogrudov
ecafeb62d5 Add precheck for haproxy certificate file
If user enables TLS it also is necessary to create
a certificate. This precheck ensures the certificate
file exists before starting deployment.

Change-Id: I772d52e228ed012b9f8ccb5b616f9b188d3d340c
Closes-Bug: #1765677
2018-04-20 18:04:47 +03:00
Zuul
c6967c8b1f Merge "dev mode: Add support for Zun" 2018-04-20 07:36:55 +00:00
caoyuan
0460663296 Add blazar-dashboard into Horizon
Change-Id: Ie1ce8f29199dc36c0fe7671be48e7a655d997eb1
Deponds-on: I67876c734d147593a188ba385b60e02350b44fae
2018-04-19 23:07:43 +08:00
Mathias Ewald
4d1f37359d Add role to deploy prometheus
This patch adds the ansible role to deploy the prometheus service which
can be used to collect performance metrics accross the environment

Partially-Implements: blueprint prometheus
Change-Id: I908b9c9dad63ab5c9b80be1e3a80a4fc8191cb9e
2018-04-19 10:58:15 -04:00
Zuul
2951dcc52c Merge "Fix Congress Service Type" 2018-04-19 08:06:17 +00:00
Kevin TIBI
a81a5d5d5d Fix SSL api for multiple services
If SSL is enabled, api of multiple services returns
wrong external URL without https prefix.

Removal of condition for deletion of http  header.

Change-Id: I4264e04d0d6b9a3e11ef7dd7add6c5e166cf9fb4
Closes-Bug: #1749155
Closes-Bug: #1717491
2018-04-18 17:20:27 +02:00
Zuul
da6e921713 Merge "Delete the unused policy file check" 2018-04-18 15:00:11 +00:00
Mathias Ewald
95ad305795 Fix Congress Service Type
Set service type to "policy"

Fix service description

Change-Id: I1b4077b832a53385a5d4576544e7bfe4805b308a
Closes-Bug: #1765054
2018-04-18 15:46:07 +02:00
caoyuan
027a2b1fbe dev mode: Add support for Zun
Allows users to develop on Zun using Kolla.

Partially implements: blueprint mount-sources

Change-Id: I2724aecad95f5165c1cfacd2fae80cdad22f98b4
2018-04-18 07:47:36 +00:00
Zuul
cbb13ce522 Merge "Remove the duplicated condition check for iscsi" 2018-04-18 06:34:55 +00:00