Actions
Bug #23938
closedpotential race in rbd-mirror disconnect QA test
% Done:
0%
Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
`pool` param is not properly passed to get_image_id command, and it returns empty image_id, as a result `wait_for_image_present .. deleted` may race with a new image created.
2018-04-29T15:16:10.865 INFO:tasks.workunit.cluster1.client.mirror.smithi050.stderr:+ get_image_id cluster1 laggy 2018-04-29T15:16:10.865 INFO:tasks.workunit.cluster1.client.mirror.smithi050.stderr:+ local cluster=cluster1 2018-04-29T15:16:10.865 INFO:tasks.workunit.cluster1.client.mirror.smithi050.stderr:+ local pool=laggy 2018-04-29T15:16:10.865 INFO:tasks.workunit.cluster1.client.mirror.smithi050.stderr:+ local image= 2018-04-29T15:16:10.865 INFO:tasks.workunit.cluster1.client.mirror.smithi050.stderr:+ rbd --cluster=cluster1 -p laggy info 2018-04-29T15:16:10.865 INFO:tasks.workunit.cluster1.client.mirror.smithi050.stderr:+ sed -ne s/^.*block_name_prefix: rbd_data\.//p 2018-04-29T15:16:10.890 INFO:tasks.workunit.cluster1.client.mirror.smithi050.stderr:rbd: image name was not specified 2018-04-29T15:16:10.891 INFO:tasks.workunit.cluster1.client.mirror.smithi050.stderr:+ image_id= 2018-04-29T15:16:10.891 INFO:tasks.workunit.cluster1.client.mirror.smithi050.stderr:+ disconnect_image cluster2 mirror laggy 2018-04-29T15:16:10.891 INFO:tasks.workunit.cluster1.client.mirror.smithi050.stderr:+ local cluster=cluster2 2018-04-29T15:16:10.891 INFO:tasks.workunit.cluster1.client.mirror.smithi050.stderr:+ local pool=mirror 2018-04-29T15:16:10.892 INFO:tasks.workunit.cluster1.client.mirror.smithi050.stderr:+ local image=laggy 2018-04-29T15:16:10.892 INFO:tasks.workunit.cluster1.client.mirror.smithi050.stderr:+ rbd --cluster cluster2 -p mirror journal client disconnect --image laggy 2018-04-29T15:16:10.957 INFO:tasks.workunit.cluster1.client.mirror.smithi050.stdout:client e39a9772-7829-4563-be8c-9fc828e8015b disconnected 2018-04-29T15:16:10.961 INFO:tasks.workunit.cluster1.client.mirror.smithi050.stderr:+ wait_for_image_present cluster1 mirror laggy deleted
Updated by Mykola Golub almost 6 years ago
- Status changed from In Progress to Fix Under Review
Updated by Jason Dillaman almost 6 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler almost 6 years ago
- Copied to Backport #23945: luminous: potential race in rbd-mirror disconnect QA test added
Updated by Nathan Cutler almost 6 years ago
- Status changed from Pending Backport to Resolved
Actions