Drop become in stackhpc.libvirt-vm for seed vm provision
Prior to this change, the seed VM was provisioned using the stackhpc.livirt-vm role with become=true. This resulted in the cached image being owned by root. The infra VM provisioning uses stackhpc.libvirt-vm without become=true. If an infra VM uses the same image as the seed, this can lead to permission denied errors when downloading a new image of the same name. This change adds a workaround to fix up the ownership of the cached image during infra VM provisioning to avoid this issue. This change also drops become=true from stackhpc.libvirt-vm during seed VM provisioning, and adds the same workaround there. Story: 2009277 Task: 43534 Change-Id: Iade0d74cdb398365a567dbdc4b23de2416f3726d
Showing
- ansible/roles/infra-vms/tasks/deploy.yml 20 additions, 0 deletionsansible/roles/infra-vms/tasks/deploy.yml
- ansible/seed-vm-provision.yml 20 additions, 1 deletionansible/seed-vm-provision.yml
- releasenotes/notes/story-2009277-84c381a562244fab.yaml 6 additions, 0 deletionsreleasenotes/notes/story-2009277-84c381a562244fab.yaml
Please register or sign in to comment