8097 Commits

Author SHA1 Message Date
Zuul
5fadfd093f Merge "Add host routes to subnets" 2018-08-14 19:40:21 +00:00
Zuul
b8aeabdcb0 Merge "Mount tripleo validations for mistral containers" 2018-08-14 12:41:21 +00:00
Zuul
dce59cce91 Merge "Add cleanup service for neutron ovs bridges" 2018-08-14 02:43:27 +00:00
Zuul
9928adca3b Merge "Make Horizon's SECURITY_KEY 64 characters long" 2018-08-13 23:00:11 +00:00
Zuul
5760fedacb Merge "Add tags to OpenShift external tasks to allow upgrading it separately" 2018-08-13 19:46:11 +00:00
Zuul
715e1f7315 Merge "Add limited retries in create_swift_temp_url_key.sh" 2018-08-13 15:01:39 +00:00
Bogdan Dobrelya
e0d9e9eba2 Mount tripleo validations for mistral containers
We need the package contents in mistral containers as it
is installed on undercloud host.

Closes-Bug: #1786772

Change-Id: Ifa8d5ceab646a03b39e867d8af9ace5a100d34ac
Signed-off-by: Bogdan Dobrelya <bdobreli@redhat.com>
2018-08-13 15:30:51 +02:00
beagles
8126573718 Add cleanup service for neutron ovs bridges
Neutron used to run a neutron-ovs-cleanup service on startup and
shutdown to ensure clean configuration. Container specific version of
the cleanup service is needed as we are no longer installing neutron
packages in the overcloud image and the ordering dependencies of the
legacy services are not suitable for containerized neutron deployments.

Closes-Bug: #1786311

Change-Id: Iddd191f06b0a7cadb463abec7ef152c89fddb3cd
2018-08-13 09:27:17 -02:30
Zuul
6f651a5273 Merge "Migrate tripleo-packages service to ansible package module" 2018-08-13 11:33:43 +00:00
Zuul
f822a5aed6 Merge "Avoid ifcfg files modification when a reboot is not required" 2018-08-13 10:09:16 +00:00
Zuul
398b2b7f9d Merge "Remove HostnameFormatDefault from NFV roles" 2018-08-13 10:03:55 +00:00
Zuul
bf7a452de0 Merge "Set allow_action_execution_deletion to true in mistral api config" 2018-08-13 00:08:07 +00:00
Zuul
75512d3362 Merge "Fix interfaces in boot_param_tasks" 2018-08-13 00:08:06 +00:00
Zuul
b9b52a5a07 Merge "Fix Swift storage device setup" 2018-08-13 00:08:05 +00:00
Zuul
bd2c81b24a Merge "Skip Ceph packages when running tripleo-packages" 2018-08-11 01:49:45 +00:00
Giulio Fidente
fc2a5ae4ab Migrate tripleo-packages service to ansible package module
It is not necessary to exclude specific Ceph packages when running
yum update in Rocky so this change removes the --exclude argument.

Note that it also removes update_cache which is not supported by
the 'package' module.

Change-Id: I8465f16415e69b1932726cdc1644a53370364708
2018-08-10 12:39:24 +02:00
Jiri Stransky
a87fcb1e3e Add tags to OpenShift external tasks to allow upgrading it separately
When running `openstack overcloud external-upgrade run`, all services
using external installers are upgraded. Tags are added to OpenShift
external deploy/upgrade tasks, to allow upgrading OpenShift by itself
via `openstack overcloud external-upgrade run --tags openshift`.

Change-Id: I7335849155080b7f6c32df85cd48d0d11d86d9e0
2018-08-10 08:49:27 +02:00
Zuul
39e360624e Merge "Break out image prepare into its own "service"" 2018-08-10 02:31:33 +00:00
Zuul
f403596657 Merge "DeployedServer support for cidr via get_attr" 2018-08-10 02:31:28 +00:00
Zuul
5b2cc4a0b0 Merge "OpenShift upgrade with openshift-ansible and external_upgrade_tasks" 2018-08-09 23:24:42 +00:00
Zuul
ff715049fc Merge "Move the shebang to /usr/bin/python" 2018-08-09 23:24:41 +00:00
Zuul
46e0fbf6d6 Merge "novajoin: Fix cloud-config configuration path" 2018-08-09 12:31:38 +00:00
Zuul
bef12b6355 Merge "Use /var/lib/kolla... path for TLS certificate" 2018-08-09 12:13:55 +00:00
Sergii Golovatiuk
6ab5112eb2 Fix interfaces in boot_param_tasks
Ansible stores all interfaces with _ in facts. It's very easy to check by
running 'ansible -i inv all -m setup'. This patch adds replace - with _ to find
interface properly in facts.

Change-Id: Id290143d8a41964806ca9c5be4d7103a3833cb37
Closes-Bug: #1786212
2018-08-09 12:58:15 +03:00
Christian Schwede
b85a676740 Add limited retries in create_swift_temp_url_key.sh
Adds a limited number of retries in case the getting the Swift
account info or setting the temp-url key fails for whatever reason.

Change-Id: I080e2f07d060c2d8805346026e8e5740255bb18e
Closes-Bug: 1785130
2018-08-09 03:38:29 -04:00
Zuul
575c08eb4f Merge "Use fqdn for live_migration_inbound_addr" 2018-08-09 04:01:24 +00:00
Zuul
b91c75ddf3 Merge "Add ability to set openshift container images" 2018-08-09 04:01:22 +00:00
Zuul
4be8ebf198 Merge "Pass all vars to deploy-steps-tasks.yaml with config-download" 2018-08-09 01:19:39 +00:00
Zuul
893599e806 Merge "undercloud-post: Discard CA usage if not set" 2018-08-09 01:03:23 +00:00
Zuul
9359e7ac46 Merge "Add neutron metadata agent to the undercloud" 2018-08-08 22:09:50 +00:00
Zuul
0c3dcf11d7 Merge "Fixed wrong when condition in mounting staging location" 2018-08-08 22:09:49 +00:00
Giulio Fidente
6a4dcca632 Skip Ceph packages when running tripleo-packages
Do not upgrade the Ceph packages when tripleo-packages runs. This
avoids that packages on baremetal are upgraded to the Luminous
level while the cluster is still running at the Jewel level during
FFU process.

Partial-Bug: #1785279
Change-Id: Ie17daa98109b0d51e2258bd6d360d6b2f0e1b0ae
2018-08-08 14:56:54 +00:00
Christian Schwede
e0ec6f5b75 Fix Swift storage device setup
The formerly extra puppet parameter "base_dir" has been ignored when
switching to a containerized overcloud, which broke support for
non-default device path - for example when using multipath devices.

Closes-Bug: 1777116
Change-Id: If60479998a9f02393c0d49d1b752b9ef4f8f9aff
2018-08-08 09:48:10 -04:00
Zuul
e7bde70073 Merge "Add NovaResumeGuestsStateOnHostBoot and NovaResumeGuestsShutdownTimeout" 2018-08-08 12:39:02 +00:00
Jiri Stransky
fc17e15bcf OpenShift upgrade with openshift-ansible and external_upgrade_tasks
This implements upgrade for OpenShift. At commit time it was tested on
a no-op upgrade from 3.9 to 3.9, which could suffice as starting point
to start tweaking and tuning from.

Change-Id: I6e2d20e69f821e1900730ec30545af1530a7fba0
2018-08-08 14:26:23 +02:00
Chandan Kumar
0948b1eea0 Set allow_action_execution_deletion to true in mistral api config
* By default in mistral api config allow_action_execution_deletion
  it is false by default. In order to run mistral tempest tests
  we need to enable it.

Change-Id: Iff052cd47ab34c6d3231cb024e17df56abd4b443
2018-08-08 17:03:46 +05:30
Jill Rouleau
6a1ac35275 DeployedServer support for cidr via get_attr
Change I92ee0f9a2107cdf1ca5903d3756a235a79c36c73 implemented a
conditional for ControlPlaneSubnetCidr to be resolved using get_attr
and a str_split. DeployedServer documentation specifies that this
value should be provided to DeployedServerPortMap as a numeric value
(ie; 24) rather than full cidr (ie; 192.168.24.0/24), which causes the
str_split to fail.

This change provides support for both via a yaql expression, and adds
a deprecation note to switch to the full cidr format.

Change-Id: I6d4422b4f1aa52aee2954eb447008d3d24fe8736
2018-08-07 09:53:06 -07:00
Oliver Walsh
ffe6345e35 Use fqdn for live_migration_inbound_addr
Nova currently doesn't handle this correctly if it's an IPv6 address.

Change-Id: I9e4ef1fef98bf22d54ce962b889585bcb3e7508a
2018-08-07 17:13:30 +01:00
Michele Baldessari
7d0a8f1cba Move the shebang to /usr/bin/python
In LP#1785245 we made sure to move the shebang script back to
/bin/python. rpm packaging inspect script shebang lines and add Requires
to the rpm. repoclosure checks to make sure that a given repo
(collection of rpm files) has all necessary Requires to be able to
install.

Let's move the shebang to /usr/bin/python which exists and does
not cause repoclosure issues:
[root@compute-0 ~]# docker exec -it nova_compute sh -c 'rpm -qf /usr/bin/python'
python-2.7.5-69.el7_5.x86_64

Change-Id: Iac4236bebab609e78b089b809a433d62c60e28c2
Reported-By: Jon Schlueter <jschluet@redhat.com>
Related-Bug: #1785245
2018-08-07 13:33:08 +02:00
Juan Antonio Osorio Robles
60a63edc22 Add neutron metadata agent to the undercloud
It was missing and it's necessary for the nova metadata API to work.
Without this we don't have a working TLS everywhere setup, since it
relies on this functionality.

Change-Id: I24ff6f1b5acc428f001b2ca9b0bdbfa8ec121e52
Closes-Bug: #1785744
2018-08-07 08:17:08 +03:00
Zuul
b59deaefc4 Merge "Mount /usr/lib/heat on undercloud Heat" 2018-08-06 20:33:00 +00:00
Zuul
4224bdc7ff Merge "Fix Neutron SFC environment file" 2018-08-06 20:32:58 +00:00
Zuul
bea76b04a8 Merge "Set default number of rabbitmq queues to CEIL(N/2)" 2018-08-06 19:40:38 +00:00
Juan Antonio Osorio Robles
704d72ff3d novajoin: Fix cloud-config configuration path
This path should point to the novajoin directory.

Change-Id: I281f066a6b3d9c0b64d5fcbae6128f6c1b41ee0f
Closes-Bug: #1785676
2018-08-06 20:50:47 +03:00
Zuul
d285221075 Merge "Add host_prep_task to setup proper logging for Swift" 2018-08-06 17:40:45 +00:00
Zuul
8230a305e2 Merge "Add support to set cors config in gnocchi templates" 2018-08-06 17:40:44 +00:00
Zuul
06e1751be1 Merge "Correct spelling" 2018-08-06 17:40:42 +00:00
Zuul
0f77e609d8 Merge "Fluentd: Set cinder-backup log path" 2018-08-06 17:40:40 +00:00
Zuul
122fe67772 Merge "Drop obsolete environment for overcloud ceph-upgrade run" 2018-08-06 17:38:56 +00:00
James Slagle
553fc0d264 Pass all vars to deploy-steps-tasks.yaml with config-download
Not all vars were getting passed to deploy-steps-tasks.yaml when using
config-download. This didn't cause any issue because all the vars have
default value, but the user specified value should be honored as well.

Change-Id: I5972e1c674cf9008366c2bb10b54eb975ab8cb93
Closes-Bug: #1785635
2018-08-06 10:15:56 -04:00