Actions
Bug #23502
closedis_qemu_running in qemu_rebuild_object_map.sh and qemu_dynamic_features.sh may return false positive
% Done:
0%
Source:
Tags:
Backport:
luminous,jewel
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
It checks if the qemu is still running by listing the current image watchers. If the list is not empty it assumes that qemu is running and executes object map rebuild. But in this case the qemu just was stopped and rbd image removal started. And when the script checked for watchers it got non empty list due to rbd remove client, assumed it was qemu, tried object map rebuild and failed.
2018-03-28T14:16:37.026 INFO:tasks.qemu.client.0.smithi195.stdout:[ 2294.847787] Power down. 2018-03-28T14:16:37.344 DEBUG:tasks.qemu:checking that qemu tests succeeded... 2018-03-28T14:16:37.977 INFO:tasks.rbd:Deleting rbd clones... 2018-03-28T14:16:37.977 INFO:teuthology.orchestra.run.smithi195:Running: 'adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage rbd -p rbd rm client.0.1-clone' 2018-03-28T14:16:39.380 INFO:tasks.workunit.client.0.smithi195.stderr:+ is_qemu_running 2018-03-28T14:16:39.380 INFO:tasks.workunit.client.0.smithi195.stderr:+ rbd status client.0.1-clone 2018-03-28T14:16:39.381 INFO:tasks.workunit.client.0.smithi195.stderr:+ grep -v 'Watchers: none' 2018-03-28T14:16:39.442 INFO:tasks.workunit.client.0.smithi195.stdout:Watchers: 2018-03-28T14:16:39.442 INFO:tasks.workunit.client.0.smithi195.stdout: watcher=172.21.15.195:0/935500 client.4236 cookie=139721862811120 2018-03-28T14:16:39.443 INFO:tasks.workunit.client.0.smithi195.stdout:*** Rebuilding object map 2018-03-28T14:16:39.443 INFO:tasks.workunit.client.0.smithi195.stderr:+ echo '*** Rebuilding object map' 2018-03-28T14:16:39.443 INFO:tasks.workunit.client.0.smithi195.stderr:+ rbd object-map rebuild client.0.1-clone
Updated by Mykola Golub about 6 years ago
- Status changed from New to In Progress
- Backport deleted (
luminous,jewel)
Updated by Mykola Golub about 6 years ago
- Status changed from In Progress to Fix Under Review
Updated by Jason Dillaman about 6 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler about 6 years ago
- Copied to Backport #23524: luminous: is_qemu_running in qemu_rebuild_object_map.sh and qemu_dynamic_features.sh may return false positive added
Updated by Nathan Cutler about 6 years ago
- Copied to Backport #23525: jewel: is_qemu_running in qemu_rebuild_object_map.sh and qemu_dynamic_features.sh may return false positive added
Updated by Nathan Cutler about 6 years ago
- Status changed from Pending Backport to Resolved
Actions