Actions
Bug #9409
closedlibvirt: QEMU errors operation is not valid: domain is not running -- cannot undefine transient domain
% Done:
0%
Source:
Q/A
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):
Description
I git cloned the latest teuthology, ran ./bootstrap and ran the following command:
./virtualenv/bin/teuthology --lock --machine-type vps --os-type ubuntu --os-version precise ~/tests/test94.yaml
the output was:
./virtualenv/bin/teuthology --lock --machine-type vps --os-type ubuntu --os-version precise ~/tests/test94.yaml 2014-09-09 16:06:03,973.973 WARNING:teuthology.report:No job_id found; not reporting results 2014-09-09 16:06:03,976.976 INFO:teuthology.run:Tasks not found; will attempt to fetch 2014-09-09 16:06:03,976.976 INFO:teuthology.repo_utils:Fetching from upstream into /home/wusui/src/ceph-qa-suite_master 2014-09-09 16:06:04,808.808 INFO:teuthology.repo_utils:Resetting repo at /home/wusui/src/ceph-qa-suite_master to branch master 2014-09-09 16:06:04,823.823 INFO:teuthology.run_tasks:Running task internal.lock_machines... 2014-09-09 16:06:04,824.824 INFO:teuthology.task.internal:Locking machines... 2014-09-09 16:06:06,936.936 INFO:teuthology.provision:Downburst completed on ubuntu@vpm144.front.sepia.ceph.com: INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): ceph.com 2014-09-09 16:06:07,880.880 INFO:teuthology.provision:Downburst completed on ubuntu@vpm115.front.sepia.ceph.com: INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): ceph.com downburst: Virtual machine with this name exists already: vpm115 2014-09-09 16:06:07,880.880 INFO:teuthology.provision:Guest files exist. Re-creating guest: ubuntu@vpm115.front.sepia.ceph.com 2014-09-09 16:06:08,443.443 ERROR:teuthology.provision:libvir: QEMU error : Requested operation is not valid: domain is not running libvir: QEMU error : Requested operation is not valid: cannot undefine transient domain Traceback (most recent call last): File "/home/wusui/src/downburst/virtualenv/bin/downburst", line 9, in <module> load_entry_point('downburst==0.0.1', 'console_scripts', 'downburst')() File "/home/wusui/src/downburst/downburst/cli.py", line 59, in main return args.func(args) File "/home/wusui/src/downburst/downburst/destroy.py", line 70, in destroy | libvirt.VIR_DOMAIN_UNDEFINE_SNAPSHOTS_METADATA, File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1386, in undefineFlags if ret == -1: raise libvirtError ('virDomainUndefineFlags() failed', dom=self) libvirt.libvirtError: Requested operation is not valid: cannot undefine transient domain 2014-09-09 16:06:09,216.216 INFO:teuthology.provision:Downburst completed on ubuntu@vpm115.front.sepia.ceph.com: INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): ceph.com downburst: Virtual machine with this name exists already: vpm115 2014-09-09 16:06:09,216.216 INFO:teuthology.provision:Guest files exist. Re-creating guest: ubuntu@vpm115.front.sepia.ceph.com 2014-09-09 16:06:09,767.767 ERROR:teuthology.provision:libvir: QEMU error : Requested operation is not valid: domain is not running libvir: QEMU error : Requested operation is not valid: cannot undefine transient domain Traceback (most recent call last): File "/home/wusui/src/downburst/virtualenv/bin/downburst", line 9, in <module> load_entry_point('downburst==0.0.1', 'console_scripts', 'downburst')() File "/home/wusui/src/downburst/downburst/cli.py", line 59, in main return args.func(args) File "/home/wusui/src/downburst/downburst/destroy.py", line 70, in destroy | libvirt.VIR_DOMAIN_UNDEFINE_SNAPSHOTS_METADATA, File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1386, in undefineFlags if ret == -1: raise libvirtError ('virDomainUndefineFlags() failed', dom=self) libvirt.libvirtError: Requested operation is not valid: cannot undefine transient domain 2014-09-09 16:06:10,527.527 INFO:teuthology.provision:Downburst completed on ubuntu@vpm115.front.sepia.ceph.com: INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection (1): ceph.com downburst: Virtual machine with this name exists already: vpm115 2014-09-09 16:06:10,528.528 INFO:teuthology.provision:Guest files exist. Re-creating guest: ubuntu@vpm115.front.sepia.ceph.com 2014-09-09 16:06:11,206.206 ERROR:teuthology.provision:libvir: QEMU error : Requested operation is not valid: domain is not running libvir: QEMU error : Requested operation is not valid: cannot undefine transient domain Traceback (most recent call last): File "/home/wusui/src/downburst/virtualenv/bin/downburst", line 9, in <module> load_entry_point('downburst==0.0.1', 'console_scripts', 'downburst')() File "/home/wusui/src/downburst/downburst/cli.py", line 59, in main return args.func(args) File "/home/wusui/src/downburst/downburst/destroy.py", line 70, in destroy | libvirt.VIR_DOMAIN_UNDEFINE_SNAPSHOTS_METADATA, File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1386, in undefineFlags if ret == -1: raise libvirtError ('virDomainUndefineFlags() failed', dom=self) libvirt.libvirtError: Requested operation is not valid: cannot undefine transient domain ^C2014-09-09 16:06:11,598.598 INFO:teuthology.run:Summary data: {owner: wusui@aardvark, success: true} 2014-09-09 16:06:11,598.598 WARNING:teuthology.report:No job_id found; not reporting results 2014-09-09 16:06:11,598.598 INFO:teuthology.run:pass
~/tests/test94.yaml is fairly simple:
roles: - [mon.a, mds.a, osd.0, osd.1,] - [mon.b, client.0, osd.2, osd.3,] tasks: - install: branch: dumpling - ceph: fs: xfs
Actions