Skip to content
Snippets Groups Projects
  • Mark Goddard's avatar
    50e04bb0
    Drop become in stackhpc.libvirt-vm for seed vm provision · 50e04bb0
    Mark Goddard authored
    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
    50e04bb0
    History
    Drop become in stackhpc.libvirt-vm for seed vm provision
    Mark Goddard authored
    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