8002 Commits

Author SHA1 Message Date
Zuul
ca16dd877c Merge "Update/upgrade prepare/converge in config-download era" 2018-07-31 21:50:38 +00:00
Zuul
b64cc31d65 Merge "upgrade: move removal of services at step 3 (leftovers)" 2018-07-31 20:36:58 +00:00
Zuul
ba0f683d7c Merge "OVN: Add exec puppet tag to ovn-controller service file" 2018-07-31 17:18:09 +00:00
Emilien Macchi
908465c118 upgrade: move removal of services at step 3 (leftovers)
Move HAproxy, Ironic, Keystone, Zaqar and Mistral package removals at step 3
of upgrade process, required to have a successful containerized undercloud
upgrade.

Also add missing cleanup tasks for Keepalived.

This complete the work started by Ic14f7837d8d11fd5260ba7c5236018c9a6226e5e

Change-Id: I52c3aeb1a50ef0080b5411611e3f46941840f13b
2018-07-31 08:24:02 -04:00
Zuul
311c2de714 Merge "Add OVS-DPDK parameter as part of roles file" 2018-07-31 12:21:09 +00:00
Zuul
3632e22569 Merge "Add support for containerized networking-ansible ML2 plugin" 2018-07-31 07:16:48 +00:00
Zuul
f5e6294830 Merge "Fix parameter name used to create the Manila CephX keyring" 2018-07-31 01:18:18 +00:00
Zuul
38db2dcc50 Merge "Exercise scenarios with changes at common" 2018-07-30 21:25:16 +00:00
rabi
26e0ce7702 Add support for containerized networking-ansible ML2 plugin
Co-Authored-By: Derek Higgins <derekh@redhat.com>
Change-Id: I8500de7ec71a8efa567a0b3aa29725ef235795bc
2018-07-30 20:48:22 +00:00
Zuul
bef70cb6de Merge "NUMA aware vswitches" 2018-07-30 19:54:05 +00:00
Zuul
52ab274bf6 Merge "Revert "Fix deploy health checks"" 2018-07-30 17:29:08 +00:00
Zuul
cf732e3688 Merge "Fix python3 support in yaml-validate script." 2018-07-30 16:47:41 +00:00
Zuul
33b5a766bf Merge "nova: add parameters to configure nova::cron::archive_deleted_rows" 2018-07-30 14:44:00 +00:00
Quique Llorente
6978fa1743 Exercise scenarios with changes at common
Some stuff like the new health check were not exercising the
scenarios, the core part of THT need more covarage.

Change-Id: I34da92f57ef96dd3c1f6c3c525a366a578f720aa
2018-07-30 14:53:47 +02:00
Quique Llorente
2f44dbd938 Revert "Fix deploy health checks"
This reverts commit bd1d5d72caf25010e373f1ad2ed6ebc5aee96914.

Closes-Bug: #1784307
Change-Id: Ia2c12d7455564b6297c5f0934812b10fabbdc914
2018-07-30 13:20:11 +01:00
Zuul
32a0086775 Merge "Fix errors using multiple-nics templates w/o VLANs defined" 2018-07-30 12:14:34 +00:00
Giulio Fidente
787e7910a8 Fix parameter name used to create the Manila CephX keyring
We obsoleted the CephFS native parameter but missed to update it
in the Ceph profile.

Change-Id: I12a91da7df6079d391fa9583c4f2c926d123044f
Closes-Bug: #1783341
2018-07-30 12:05:48 +00:00
Emilien Macchi
0b5efadbf7 nova: add parameters to configure nova::cron::archive_deleted_rows
This patch adds new parameter to configure the crontab in charge of
archiving the deleted rows in Nova database.
The defaults were hard coded but now our operators can override it.
New parameters:
  NovaCronDBArchivedMinute
  NovaCronDBArchivedHour
  NovaCronDBArchivedMonthday
  NovaCronDBArchivedMonth
  NovaCronDBArchivedWeekday

Note: the default didn't change for backward compatibility.

Closes-Bug: #1783155
Change-Id: I786179e1604ccf192826b012992cc88dacdd2b87
2018-07-29 03:42:16 +00:00
Zuul
7499685bcd Merge "Mount my.cnf.d into the db_sync container for Barbican and Octavia." 2018-07-28 03:39:05 +00:00
Dan Sneddon
8ec80c7cfd Fix errors using multiple-nics templates w/o VLANs defined
The multiple-nics templates shouldn't require VLANs to be
defined for the networks, since the networks are delivered
on flat interfaces without VLANs. However, since no default
is defined, the templates fail if VLANs are not defined in
network_data.yaml. This change adds a default of "".

Closes-bug: 1784084
Change-Id: I4514ac51729a3156ed263d680e23ef5292fc5fca
2018-07-27 16:10:22 -07:00
Cédric Jeanneret
d37308d63c Fix python3 support in yaml-validate script.
Python3 drops the "iteritems" method for dict in favor to
"items".

Change-Id: I8d21233e917b5d36be385d59f1a7c9a0588aea2d
Closes-Bug: 1783988
2018-07-27 15:20:32 +02:00
Zuul
e87fcba49d Merge "Use global ansible.cfg for nodes-uuid playbook" 2018-07-27 03:24:46 +00:00
Zuul
0dd0b62379 Merge "Fix deploy health checks" 2018-07-27 03:08:42 +00:00
Zuul
feb42d79bf Merge "Fix a race when upgrading Neutron & Ironic on the undercloud" 2018-07-27 01:35:10 +00:00
Zuul
b00bc141e4 Merge "Fix ironic containers data owning races" 2018-07-26 21:32:02 +00:00
Zuul
eacde76516 Merge "Add upgrade_tasks for HAproxy" 2018-07-26 20:56:17 +00:00
Zuul
fac21c7ed1 Merge "Allow setting physical network MTU via heat template" 2018-07-26 18:16:14 +00:00
Zuul
34948c54bc Merge "Remove tftp service and package upon upgrade to container" 2018-07-26 18:16:11 +00:00
Bogdan Dobrelya
9d9daebdda Fix ironic containers data owning races
Complements I5ad4956174346f0$24945852da09f3841c3378c2b.
Fix ironic_pxe/inspector containers missing the kolla_config sections
to recursively chown /var/lib/ironic* shared paths. That removes data
owning races across other ironic containers starting on earlier or the
same steps/order.

For example, when ironic_pxe_http fails to access the
/var/lib/ironic/httpboot path shared with ironic_conductor, the latter
reports errors like:

DriverLoadError: Driver, hardware type or interface ilo-pxe could not
be loaded. Reason: [Errno 13] Permission denied:
'/var/lib/ironic/httpboot/...

Fixing the dir owner allows HW provisioning to complete w/o such
errors.

Change-Id: I34b54077c1c610a4bed73129e9784b2fa353e944
Closes-bug: #1783762
2018-07-26 16:11:15 +03:00
Zuul
5fefd0bd08 Merge "Do undercloud container prepare in external_deploy_tasks" 2018-07-26 09:23:44 +00:00
Zuul
9fd6f71fd8 Merge "Fix GlanceRegistry FFU cleanup" 2018-07-26 09:23:42 +00:00
Zuul
44514779bc Merge "Don't run host_prep_tasks from {{role}}HostPrepDeployment" 2018-07-26 06:58:56 +00:00
Zuul
bc64f120c9 Merge "Fix RST syntax (needed by release)" 2018-07-26 03:19:15 +00:00
Zuul
b5bb72987d Merge "Move hugetlbfs gid config to BootParams service" 2018-07-26 03:19:12 +00:00
Emilien Macchi
07f74e15bd Fix RST syntax (needed by release)
To avoid this error:
http://logs.openstack.org/73/585873/1/check/openstack-tox-validate/c947272/job-output.txt.gz#_2018-07-25_20_32_57_350948

Change-Id: I59e812f02eb669af9ef3916f759176d27c988014
2018-07-25 22:39:40 -04:00
Cédric Jeanneret
149ca6e163 Remove tftp service and package upon upgrade to container
In non-containerized over/undercloud, the tftpd service is
supervised by xinetd.
If we don't deactivate tftpd from xinetd, the UDP:69 port
will still be in use, preventing the containerized tftpd
service to start.

Change-Id: Ibf2decaaaedda9a3b44f28786a5ab9b7415a3907
Closes-bug: 1783547
2018-07-25 15:15:24 +02:00
Rajesh Tailor
1b8e78af03 NUMA aware vswitches
Expose configuration parameteres for NUMA
aware vswitches.
The related nova changes are done in change:
https://review.openstack.org/#/c/564440/

Depends-On: Ia8fd65a75bc732087128e9e32ba72b2491423898
Change-Id: I318ba9c262f64c0d416a017ed836ae0729acedb4
2018-07-25 16:32:47 +05:30
Zuul
db72fcd2e4 Merge "Remove unecessary back-slashes in CephManilaClientKey caps mon" 2018-07-25 03:25:24 +00:00
Emilien Macchi
8b2fa8e7fc Fix a race when upgrading Neutron & Ironic on the undercloud
There is a race condition where Ironic Inspector upgrade removes the
service packages, which has in dependency Neutron as well so it will try
to remove Neutron at Step 2 while other Neutron services need to be
stopped by Ansible first, also at Step 2.
The packages removals happen at Step 3, so this patch moves these tasks
to it, like we do for other services.

Change-Id: Ic14f7837d8d11fd5260ba7c5236018c9a6226e5e
2018-07-25 01:40:52 +00:00
Zuul
3e875145cd Merge "DnsServers using get_attr" 2018-07-25 00:53:28 +00:00
Zuul
7ce066eba3 Merge "EC2MetadatIp using get_attr" 2018-07-25 00:36:06 +00:00
Zuul
e787042360 Merge "Update/correct vrrp check for haproxy" 2018-07-24 20:12:50 +00:00
Zuul
b31a478ef8 Merge "copy ceph config in manila-share container bundle" 2018-07-24 17:36:35 +00:00
Juan Antonio Osorio Robles
4b60adfce4 Add upgrade_tasks for HAproxy
Include the tasks that are necessary when upgrading a non-containerized
undercloud to a containerized undercloud for example.

Change-Id: I1e281711f1543659e7ec043747857b756beda3e1
2018-07-24 11:45:37 -04:00
Oliver Walsh
bd1d5d72ca Fix deploy health checks
Allow up to 5 minutes for unhealthy and restarting containers to stabilise.

Change-Id: Icb0ef7648920e77fe368409f07612cdcba83e4cf
Related-Bug: 1782598
2018-07-24 13:30:33 +00:00
Tom Barron
ba5a57831a copy ceph config in manila-share container bundle
The pacemaker manila-share docker configuration was
set up on the assumption that /etc/ceph on the host
is bind-mounted directly to /etc/ceph in the manila-share
container, but since [1] this is no longer true.  Ceph
configuration follows the pattern wherein the ceph
configuration and keys are bind-mounted into the container
at /var/lib/kolla/config_files/src-ceph/.

So set the docker kolla config for the pacemaker
bundled manila share to copy the contents of
/var/lib/kolla/config_files/src-ceph to /etc/ceph in
the container as is done in the non-pacemaker service
and as is done with cinder-volume service with both
the pacemaker and non-pacemaker versions of the
service.

Closes-Bug: #1783149

[1] I66a76d3226d5a1d3e0b5387326305d1f3313a340

Change-Id: If6cb5e7bd0a5d7952ab43dffddb0e8eaf4952a0d
2018-07-24 09:49:01 +00:00
Zuul
d75fca71ed Merge "ansible: replace yum module by package module when possible" 2018-07-24 04:54:04 +00:00
Zuul
b0a08fa572 Merge "Update manila environment file names" 2018-07-24 04:49:31 +00:00
Zuul
6db63e28bb Merge "Enable logging to stdout/stderr in memcached" 2018-07-24 01:34:26 +00:00
Zuul
ad5d4d1db1 Merge "ControlPlaneDefaultRoute using get_attr" 2018-07-24 01:34:22 +00:00