Project

General

Profile

Actions

Bug #63506

closed
RD RD

qa/cephfs: some tests test_volumes overwrite build/keyring

Bug #63506: qa/cephfs: some tests test_volumes overwrite build/keyring

Added by Rishabh Dave about 3 years ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Code Hygiene
Target version:
-
Due date:
% Done:

0%

Source:
Development
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
mgr/volumes, qa-suite
Labels (FS):
Pull request ID:
Tags (freeform):
Fixed In:
v18.0.0-7588-g5d471c2712
Released In:
v19.2.0~1154
Upkeep Timestamp:
2026-04-28T13:06:11+00:00

Description

When a new client is being created, its keyring must be written in a new file. This requires calling teuthology.orchestra.remote.mktemp(). get_keyring_path() is called to return path of keyring file for client after it has already been written.But in certain tests of test_volumes.py, this method is called to create a new file for the client keyring.

When running these tests (specifically, I found this bug while writing test_subvolume_evict_client), build/keyring gets over-written by this method. This makes the cluster inoperable and therefore causes the test to crash.

RD Updated by Rishabh Dave about 3 years ago Actions #1

  • Pull request ID set to 54308

VS Updated by Venky Shankar 7 months ago Actions #2

  • Category set to Code Hygiene
  • Status changed from Fix Under Review to Resolved
  • Source set to Development
  • Component(FS) mgr/volumes, qa-suite added

UB Updated by Upkeep Bot 7 months ago Actions #3

  • Merge Commit set to 5d471c2712da5d21e97268a868b33763a604ecad
  • Fixed In set to v18.0.0-7588-g5d471c2712
  • Released In set to v19.2.0~1154
  • Upkeep Timestamp set to 2026-04-28T13:06:11+00:00
Actions

Also available in: PDF Atom