Project

General

Profile

Actions

Bug #3978

closed

krbd qa: concurrent.sh test leaves something read-only

Added by Alex Elder about 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Target version:
-
% Done:

0%

Source:
Development
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I don't know what exactly is happening here, but it appears
that after running the "rbd/concurrent.sh" workunit, if
you run a different workunit after that you end up with
failures because something is read-only. Presumably it
is the rbd image set up by the rbd task (which should
not be touched by the concurrent.sh workunit).

Anyway, this isn't urgent but it needs to be investigated
so this test can get put into regular use.

Actions #1

Updated by Alex Elder almost 11 years ago

  • Priority changed from Normal to High
Actions #2

Updated by Alex Elder almost 11 years ago

  • Status changed from New to In Progress

I've been running this test this morning and am finding it
is not exhibiting the problem that I originally reported.

One possibility is that the problem might occur if an image
unmap fails because it's busy or something, which might
prevent it from getting removed. A subsequent test cold
then run into some sort of trouble manifested by finding
something read-only.

If I could reproduce it now I'd have a little better insight.

Actions #3

Updated by Alex Elder almost 11 years ago

The cleanup routine run when concurrent.sh exits is
run after a call to "wait", so all background tasks
should be done at that point. The cleanup function
then unmaps any remaining mapped devices and removes
them. That should leave everything nice and clean.

I am still unable to reproduce the problem today.

I'm going to use this issue to track getting the
script activated for nightly runs and hope for the
best.

Actions #4

Updated by Alex Elder almost 11 years ago

The following has been committed to the ceph "master" branch:

f402568 rbd/concurrent.sh: probe rbd module at start

It ensure the rbd module is loaded before proceeding with
the test.

Actions #5

Updated by Alex Elder almost 11 years ago

  • Status changed from In Progress to 7

The following has been committed to the ceph-qa-suite
"master" branch:

2957d68 rbd_concurrent: add new task to test concurrent.sh

It adds a new yaml file that will initiate the concurrent.sh
test in nightly runs.

I'll close this issue when I have seen it get executed
successfully in a nightly run. Marking it "testing"
(though that may not be the right state) to keep track of
that.

Actions #6

Updated by Ian Colle over 10 years ago

  • Assignee deleted (Alex Elder)
Actions #7

Updated by Sage Weil over 10 years ago

  • Status changed from 7 to Resolved
Actions

Also available in: Atom PDF