[JIRA] (OVIRT-1417) mock_cleanup.sh script does not erash shut-down VMs well
Barak Korren (oVirt JIRA)
jira at ovirt-jira.atlassian.net
Mon May 29 12:16:28 UTC 2017
[ https://ovirt-jira.atlassian.net/browse/OVIRT-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Barak Korren updated OVIRT-1417:
--------------------------------
Epic Link: OVIRT-400
> mock_cleanup.sh script does not erash shut-down VMs well
> --------------------------------------------------------
>
> Key: OVIRT-1417
> URL: https://ovirt-jira.atlassian.net/browse/OVIRT-1417
> Project: oVirt - virtualization made easy
> Issue Type: Improvement
> Components: oVirt CI
> Reporter: Barak Korren
> Assignee: infra
> Priority: Highest
>
> '{{mock_cleanup.sh}}' includes the following code to cleanup VMs:
> {code}
> for UUID in $(virsh list --all --uuid); do
> virsh destroy $UUID || :
> sleep 2
> virsh undefine --remove-all-storage --storage vda --snapshots-metadata $UUID || :
> done
> {code}
> This code probably worked at some point, but doesn't any more, instead if there are shut down VMs left on the machine, we get this error message:
> {code}
> error: Specified both --storage and --remove-all-storage
> {code}
> Need to fix this, the following was verified to work:
> {code}
> virsh undefine --remove-all-storage --snapshots-metadata $UUID
> {code}
--
This message was sent by Atlassian JIRA
(v1000.1010.1#100044)
More information about the Infra
mailing list