3993 Commits

Author SHA1 Message Date
Jorge Niedbalski
b0ba58d536 List and map compute hosts by service instead of by compute node.
This commit adds the --by-service flag in the discover_hosts
command of the nova cell subsystem, using this flag,
hosts are mapped based on the existing nova-compute services instead
of using the compute node reference.

In this way, we can ensure that the host mappings exists
for this new host (and create it if not) preventing the
HostMappingNotFound exception to loop over and over.

Bug: #1768094
Change-Id: I948004031bc3e125f929ed3e6c670aea11e73a31
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
2018-05-09 10:02:53 -03:00
Zuul
fd0c73006f Merge "Allow setting computes_need_external_bridge." 2018-05-08 02:01:09 +00:00
Zuul
d67a2d288d Merge "Only copy custom fluentd filters when fluentd is enabled" 2018-05-07 18:45:35 +00:00
Jorge Niedbalski
bb1da0074f Allow setting computes_need_external_bridge.
Allow to set computes_need_external_bridge to true/false
depending on the desired configuration, for allowing
cases such as disable dvr and enable l3 ha.

Closes-Bug: #1769686

Change-Id: I1565b08dfccb7bec2ddda8c048b7d951c9eb1824
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
2018-05-07 15:38:12 -03:00
Zuul
47b94cb6e4 Merge "add the environment attribute to etcd deploy" 2018-05-07 09:03:05 +00:00
Zuul
ef228c3d61 Merge "Automatically add Prometheus as a Grafana datasource" 2018-05-07 09:00:23 +00:00
Zuul
b5a6bed708 Merge "Make sure aodh/service_credentials wotks with internalURL" 2018-05-07 08:15:08 +00:00
Zuul
7ae618e55e Merge "kolla-ansible fix to correct magnum k8s deployment" 2018-05-07 08:09:15 +00:00
chenxing
6397c2abf5 Extra fix for removed module_extra_vars
Some variables should be modified too, just like this commit:
https://review.openstack.org/552863

Change-Id: Id43eefb948a05de03d19c46048b6151bf6f5dc0a
Related-Bug: #1769463
2018-05-07 10:38:47 +08:00
Zuul
017eadd844 Merge "Add endpoint type specifications to murano config" 2018-05-07 00:15:35 +00:00
yuqian
bf0f155d13 Make sure aodh/service_credentials wotks with internalURL
Aodh service credential defaults to publicURL.

Aodh should work with the internal interface (v3 API Identity syntax):

.....
[service_credentials]
interface = internal
.....

Change-Id: Ie11290be25291fee1938032ae6294546fb7a98f3
2018-05-06 17:42:12 +08:00
Simon Piette
fdb325aba6 add the environment attribute to etcd deploy
In ansible/roles/etcd/tasks/config.yml, the kolla_docker
compare_container action doesn't check environment.

Once a container is created, it won't get recreated if only the
environment change. This commit add the environment attribute to the
kolla_docker action in etcd role

Change-Id: I8fb71cc945867e06acc67f6d1256bf62f4276206
Closes-Bug: #1765517
2018-05-04 14:37:59 -04:00
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
Mark Goddard
7c046ee9a4 Only copy custom fluentd filters when fluentd is enabled
Change-Id: Iedf87342eeee90d58734ba21216296f3d94f76c8
TrivialFix
2018-05-04 11:39:39 +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
Mark Giles
6777c903a0 Automatically add Prometheus as a Grafana datasource
Assuming both Prometheus and Grafana are enabled, this change
configures Grafana such that it can use data collected by the
Prometheus server.

Partially-Implements: blueprint prometheus
Change-Id: I0290806d0c622b1de33cf7047f099795b4c780b9
2018-05-03 11:29:27 -04:00
Zuul
f27ca1a395 Merge "Add cap NET_ADMIN for ironic_dnsmasq" 2018-05-03 14:46:13 +00:00
Mark Giles
ecfc28dbd3 Add endpoint type specifications to murano config
Setting endpoint_type to internalURL in the murano config allows murano
to work properly when using self-signed certificates.

Change-Id: I5873f92994d790d597ec5e97163bbf8001c362b9
2018-05-02 11:30:42 -04: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