Project

General

Profile

Bug #23938

potential race in rbd-mirror disconnect QA test

Added by Mykola Golub 11 months ago. Updated 10 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
04/30/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

http://qa-proxy.ceph.com/teuthology/trociny-2018-04-29_14:54:49-rbd-wip-mgolub-testing-distro-basic-smithi/2453472/teuthology.log

`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


Related issues

Copied to rbd - Backport #23945: luminous: potential race in rbd-mirror disconnect QA test Resolved

History

#1 Updated by Mykola Golub 11 months ago

  • Backport set to luminous

#2 Updated by Mykola Golub 11 months ago

  • Status changed from In Progress to Need Review

#3 Updated by Jason Dillaman 11 months ago

  • Status changed from Need Review to Pending Backport

#4 Updated by Nathan Cutler 11 months ago

  • Copied to Backport #23945: luminous: potential race in rbd-mirror disconnect QA test added

#5 Updated by Nathan Cutler 10 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF