Commit Graph

3985 Commits

Author SHA1 Message Date
Zuul
1c46d1850a Merge "step3: flatten nova service configuration" 2019-02-15 10:17:56 +00:00
Zuul
7a3db58042 Merge "Add missing parts from step2: flatten nova service configuration" 2019-02-15 08:46:49 +00:00
Zuul
85e14e2245 Merge "flatten the fluentd service configurations" 2019-02-15 08:29:16 +00:00
Zuul
fc9efc1c90 Merge "flatten sensu service configuration" 2019-02-14 19:48:39 +00:00
Zuul
fd6de31e09 Merge "flatten tripleo-ui service configuration" 2019-02-14 19:48:37 +00:00
Martin Schuppert
56ebb309ed Add missing parts from step2: flatten nova service configuration
[1] missed some parts from puppet/services/nova-libvirt.yaml which
broke tls-everywhere as the qemu-nbd-client-cert were not created,
also the file was not removed after merge.

Changes:
- added missing parts from puppet/services/nova-libvirt.yaml
- removed no longer needed ENV parameters for
  nova_cell_v2_discover_host.py
- re-added /etc/my.cnf.d to nova_cell_v2_discover_host
- deleted puppet/services/nova-libvirt.yaml

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

Change-Id: I8d476fd7a040d275cd70ea8393386443b557fe4d
Closes-Bug: #1815888
2019-02-14 16:29:32 +01:00
Jill Rouleau
92ea1131c7 step3: flatten nova service configuration
This change combines the previous puppet and docker files
into a single file that performs the docker service installation
and configuration. With this patch the baremetal version of
nova has been removed.

Change-Id: Ic577851f8d865d5eec41dbfb00c27520bedc3fdb
2019-02-13 06:21:17 +00:00
Jill Rouleau
98ecf97609 step2: flatten nova service configuration
This change combines the previous puppet and docker files
into a single file that performs the docker service installation
and configuration. With this patch the baremetal version of
nova has been removed.

Change-Id: Ia41a6adf9fda2d6be8f1b5ac57854381b7f92ce7
2019-02-13 06:20:55 +00:00
Jill Rouleau
f7bf4efeec flatten sensu service configuration
This change combines the previous puppet and docker files
into a single file that performs the docker service installation
and configuration.

Change-Id: Ia41632782a1249cf4e8dcc83040a51510ae8d414
2019-02-12 13:56:56 -07:00
Jill Rouleau
cab93fd314 flatten tripleo-ui service configuration
This change combines the previous puppet and docker files
into a single file that performs the docker service installation
and configuration.

Change-Id: If4a312ca8280b28156367a5fc8cbdde34ffd4f85
2019-02-12 13:49:35 -07:00
Zuul
638ae116f1 Merge "flatten the horizon service configurations" 2019-02-12 12:24:58 +00:00
Zuul
06ecf7bb82 Merge "Remove incorrect mapped_data key from cisco ml2 hieradata" 2019-02-11 19:13:00 +00:00
Zuul
09f15c8c40 Merge "minor update: move VIP before stopping pacemaker on a node" 2019-02-11 19:12:50 +00:00
Zuul
ee307a4217 Merge "Force host_routes to be a list" 2019-02-11 18:48:24 +00:00
Damien Ciabrini
38fb412ac0 minor update: move VIP before stopping pacemaker on a node
When pacemaker stops, it first stops all pacemaker resources
managed on the node, and stops the pacemaker daemon.

If the node being stopped is hosting VIP resources, those ones
must be restarted elsewhere as soon as possible to avoid long
service disruption, but there is currently no constraint defined
to force that behaviour.

So what can happen is the VIP resources are stopped, then other
resources on the hosts are stopped (e.g. rabbit, galera), and only
when there's no more resources pacemaker restarts VIPs elsewhere,
which can lead to a long OpenStack service disruption.

To avoid unexpected long outage period due to VIP unavailability,
force-move the VIPs away from the node before stopping pacemaker.

Closes-Bug: #1815204
Change-Id: I9cbbf9e66b804f00fd19b2b3641f10bb472a94c7
2019-02-08 14:19:12 +00:00
Zuul
bd48c535a8 Merge "Move container-image-prepare.j2.yaml to deployment dir" 2019-02-07 23:49:37 +00:00
James Slagle
1d44eeafba Force host_routes to be a list
In commit 055e252872, we started pulling
the host_routes attribute out of the "addresses" output from the server
resource.

When using deployed-server with DeployedServerPortMap however,
host_routes is not guaranteed to be present within the output value (and
we didn't tell anyone to add it). Since it's not present, it defaults to
{}.

When this value is passed into a nic config template such as
single-nic-vlans/role.role.j2.yaml, it is used as a value to
list_concat_unique to concat host_routes with the route for
169.254.169.254. This causes Heat to fail with an error: "Incorrect
arguments: Items to concat must be lists.".

To fix the scenario where host_routes is not specified in
DeployedServerPortMap, we use a yaql expression to default the value to
[] if it's not already a list.

Change-Id: I6bffc302265c45a2363fa9e973e90ff0938eac5c
2019-02-07 14:56:12 -05:00
Zuul
a87630c95e Merge "step1: flatten nova service configuration" 2019-02-06 23:43:03 +00:00
Steve Baker
2e899f3943 Move container-image-prepare.j2.yaml to deployment dir
Change-Id: Idf8eab2c0290c02908ffd3284543046cdf8aa5ba
2019-02-07 10:26:20 +13:00
Zuul
87c74e3234 Merge "Adding dependency for NetworkDeployment in 'server_resource_name'Deployment" 2019-02-06 18:37:54 +00:00
Dan Prince
bf111425b8 flatten the fluentd service configurations
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration
for the fluentd API service.

Change-Id: If2c2337e715bcdc6747c398406595ea751d79ca7
Related-Blueprint: services-yaml-flattening
2019-02-06 09:44:49 -05:00
Zuul
a269c1a5a6 Merge "Flatten rabbitmq service - step 1" 2019-02-06 11:46:04 +00:00
Carlos Camacho
aa2dc674fb Adding dependency for NetworkDeployment in 'server_resource_name'Deployment
We removed the dependency for NetworkDeployment[1] in
role.role.j2.yaml after moving to Ansible the
UpgradeInitCommand and UpgradeInitCommonCommand Heat hooks.

[1]: https://review.openstack.org/#/c/632108/17/puppet/role.role.j2.yaml@649

Change-Id: I2dae3358b56946aaae7eddbf3eb501e672455565
2019-02-06 12:41:59 +01:00
Zuul
43c2a8e8a6 Merge "Change NodeDataLookup type from string to json" 2019-02-05 16:48:29 +00:00
Zuul
fc104ea6c5 Merge "step2: flatten the neutron service configurations" 2019-02-05 15:38:45 +00:00
Cédric Jeanneret
fb7ea6734e Flatten rabbitmq service - step 1
This flattens rabbitmq and removes puppet parts. The next step will
move the flattened templates to their final location.

It's split in two steps in order to make reviews easier on that big change.

Change-Id: I30f0802770d86d64e2ec6fa93dc9a608d4b15d69
2019-02-05 15:44:40 +01:00
John Fulton
fe2fda491b Change NodeDataLookup type from string to json
The NodeDataLookup parameter should be valid JSON and we should
help the user by adding type checking for this early in the
deployment so that the user doesn't experience the related bug.

Change-Id: Id9d2208f1cbaba9234d7657420cd7efcad3507a0
Related-Bug: #1784967
Related-Bug: #1814070
2019-02-05 11:53:45 +00:00
Sam Betts
95245f6ad4 Remove incorrect mapped_data key from cisco ml2 hieradata
Since os-apply-config changed to the hiera hook here:
c5d10cd9fc
the mapped_data key is no longer required and results in an additional
incorrect key being written to the hiera data. This patch removes it to
ensure the hiera data for cisco ml2 works as expected.

Change-Id: I730b107d4b5a002f82f658a83d11162606e44a16
Closes-Bug: #1791044
2019-02-04 20:06:11 -05:00
Jill Rouleau
2bae8cc78a step1: flatten nova service configuration
This change combines the previous puppet and docker files
into a single file that performs the docker service installation
and configuration. With this patch the baremetal version of
nova has been removed.

Change-Id: If8f4daa9127aa528a2088a978494f2d6d83106e2
2019-02-04 14:27:41 -07:00
Dan Prince
3238e547a6 flatten the horizon service configurations
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration
for the horizon service.

With this patch the baremetal version of each respective horizon service
has been removed.

Change-Id: I132465a32cd9f5e094ed184a92549d6521ad4e64
Related-Blueprint: services-yaml-flattening
2019-02-04 14:23:57 -05:00
Zuul
d4615d2e4c Merge "flatten the manila service configurations" 2019-02-04 18:49:28 +00:00
Zuul
25ce3b8168 Merge "TLS everywhere: Set post-save command for neutron dhcpd" 2019-02-04 18:21:02 +00:00
Zuul
f59aa45d68 Merge "TLS everywhere: Set post-save command for nova-vnc-proxy" 2019-02-04 18:20:59 +00:00
Dan Prince
d1fea280f4 step2: flatten the neutron service configurations
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration
for the neutron-metadata, neutron-ovs-agent, and neutron-ovs-dpdk-agent.

With this patch the baremetal version of each respective neutron service
has been removed.

Related-Blueprint: services-yaml-flattening

Change-Id: I7a918e72ce4bfd06a95d7a575603a6fb65ded5a9
2019-02-04 07:56:02 -05:00
Zuul
7b9c549795 Merge "flatten the tacker service" 2019-02-02 06:16:47 +00:00
Zuul
e78c69e6ac Merge "flatten the panko service" 2019-02-02 06:15:49 +00:00
Zuul
9617be2d2f Merge "step1: flatten the neutron service configurations" 2019-02-02 06:15:44 +00:00
Zuul
db37eba7b0 Merge "Introducing Nuage Neutron VRS resource." 2019-02-02 02:47:55 +00:00
Zuul
34cabe691f Merge "flatten the swift service configurations" 2019-02-01 20:51:40 +00:00
Zuul
1b346b941a Merge "Move UpgradeInitCommand and UpgradeInitCommonCommand to run by Ansible" 2019-02-01 19:49:26 +00:00
Grzegorz Grasza
ce1e7eafe6 TLS everywhere: Set post-save command for neutron dhcpd
The default procedure wasn't working, here we set one that will actually work.

The script additionally copies the certificates in the right place.

Related-Bug: #1811401
Depends-On: I9954cf33efedf2ec3dfb03109595cd4431feff60
Change-Id: I449df13ea2c49a8cf6d2e8e632b2b39707071c52
2019-02-01 17:07:02 +01:00
Grzegorz Grasza
a76a0a1270 TLS everywhere: Set post-save command for nova-vnc-proxy
The default command wasn't working, here we set one that will actually work.

The script additionally copies the certificates in the right place.

Related-Bug: #1811401
Depends-On: Ifacbee9e31d84be1008ab7545defac71cf65793f
Change-Id: Idc0844c8726aa53bc4cbd55f902248f854d2464f
2019-02-01 16:34:39 +01:00
Dan Prince
edf4e9e739 flatten the panko service
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration
for the panko service.

Change-Id: I0c9010145550507e1145131f5a8b1fde5153bea4
Related-Blueprint: services-yaml-flattening
2019-02-01 10:01:32 -05:00
Dan Prince
8b89ff2f50 flatten the tacker service
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration
for the tacker service.

Related-Blueprint: services-yaml-flattening

Change-Id: Ica75b52f1064237c5be6c9f9478b777c54616ec8
2019-02-01 10:00:25 -05:00
Dan Prince
27e8bbd2ac flatten the manila service configurations
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration
for all manila services.

With this patch the baremetal version of each manila service has been removed.

Related-Blueprint: services-yaml-flattening

Change-Id: I02addc0ecbbbcb60d2c6a0d30d7c9cfa42346f7c
2019-02-01 09:58:20 -05:00
Dan Prince
dcdb82c506 step1: flatten the neutron service configurations
This change combines the previous puppet and docker files into a single
file that performs the docker service installation and configuration
for the neutron-api, neutron-dhcp, and neutron-l3 services.

With this patch the baremetal version of each respective neutron service
has been removed.

Related-Blueprint: services-yaml-flattening

Change-Id: I6d1fae29498d2c8bffff2ccffcfbf0b605350205
2019-02-01 09:56:42 -05:00
Zuul
fce7eeca78 Merge "TLS everywhere: Set post-save command for redis" 2019-02-01 13:12:23 +00:00
Zuul
b8a5dbe071 Merge "Add support for native TLS encryption on NBD for disk migration" 2019-02-01 10:05:52 +00:00
Zuul
15543abd17 Merge "flatten database service MySQL Client" 2019-02-01 00:07:19 +00:00
Zuul
2e55557806 Merge "flatten haproxy service configuration" 2019-01-31 17:28:27 +00:00