Project

General

Profile

Actions

Bug #23938

closed

potential race in rbd-mirror disconnect QA test

Added by Mykola Golub almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
% 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

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 1 (0 open1 closed)

Copied to rbd - Backport #23945: luminous: potential race in rbd-mirror disconnect QA testResolvedPrashant DActions
Actions #1

Updated by Mykola Golub almost 6 years ago

  • Backport set to luminous
Actions #2

Updated by Mykola Golub almost 6 years ago

  • Status changed from In Progress to Fix Under Review
Actions #3

Updated by Jason Dillaman almost 6 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Nathan Cutler almost 6 years ago

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

Updated by Nathan Cutler almost 6 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF