kolla-ansible/ansible/roles/nova-cell/tasks/rolling_upgrade.yml
Michal Arbet 82a642ed8b Fix nova-libvirt's secrets - device or resource is busy
This patch removes the nova_libvirt_secret container volume because
it is a complete antipattern, and during testing, I found that
it causes problems. When it was necessary to copy libvirt secrets
from /etc/kolla/nova-libvirt/secrets, the container logs reported that
the resource is busy - precisely because it was a mounted container
volume. This, of course, is unnecessary because the secrets are copied
to the kolla host in /etc/kolla/nova-libvirt/secrets.

Closes-Bug: #2073678
Change-Id: I715a6a95f9d32d62a8199727ddbaddd0dd7baa2d
2024-08-16 14:24:38 +02:00

19 lines
467 B
YAML

---
# Configure host settings.
- import_tasks: config-host.yml
# Create new set of configs on nodes
- import_tasks: config.yml
- import_tasks: check-containers.yml
# TODO(donghm): Flush_handlers to restart nova services
# should be run in serial nodes to decrease downtime if
# the previous task did not run. Update when the
# Ansible strategy module for rolling upgrade is finished.
- name: Flush handlers
meta: flush_handlers
- import_tasks: post-config.yml