]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
scripts/build_utils.sh: Remove virsh save images 1837/head
authorDavid Galloway <dgallowa@redhat.com>
Tue, 15 Jun 2021 16:18:12 +0000 (12:18 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Tue, 15 Jun 2021 16:18:12 +0000 (12:18 -0400)
commiteb52c402abeb10b228738d3342e3cb28eb6fc812
treee34379b20c6c3f54cc3b4accff164623abc7ff45
parent13abfd489ee1b663596ae9661eac12a9a6329b62
scripts/build_utils.sh: Remove virsh save images

Fixes

```
+ sudo virsh undefine container_rgw0_1623696405_fb24199d9194c338f3d6
error: Refusing to undefine while domain managed save image exists
```
and subsequent
```
+ sudo service libvirt-guests restart
Redirecting to /bin/systemctl restart libvirt-guests.service
Job for libvirt-guests.service failed because the control process exited with error code.
See "systemctl status libvirt-guests.service" and "journalctl -xe" for details.
Build step 'Conditional step (single)' marked build as failure

Jun 15 15:40:10 braggi19 libvirt-guests.sh[44513]: Resuming guest container_rgw0_1623696405_fb24199d9194c338f3d6: error: Failed to start domain container_rgw0_1623696405_fb24199d9194c338f3d6
Jun 15 15:40:10 braggi19 libvirt-guests.sh[44513]: error: Network not found: no network with matching name 'vagrant-libvirt'
Jun 15 15:40:11 braggi19 systemd[1]: libvirt-guests.service: Main process exited, code=exited, status=1/FAILURE
Jun 15 15:40:11 braggi19 systemd[1]: libvirt-guests.service: Failed with result 'exit-code'.
Jun 15 15:40:11 braggi19 systemd[1]: Failed to start Suspend/Resume Running libvirt Guests.
```

Signed-off-by: David Galloway <dgallowa@redhat.com>
scripts/build_utils.sh