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
Some stuff like the new health check were not exercising the
scenarios, the core part of THT need more covarage.
Change-Id: I34da92f57ef96dd3c1f6c3c525a366a578f720aa
We obsoleted the CephFS native parameter but missed to update it
in the Ceph profile.
Change-Id: I12a91da7df6079d391fa9583c4f2c926d123044f
Closes-Bug: #1783341
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
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
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
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
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
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
Include the tasks that are necessary when upgrading a non-containerized
undercloud to a containerized undercloud for example.
Change-Id: I1e281711f1543659e7ec043747857b756beda3e1
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