Project

General

Profile

Actions

Bug #5503

closed

osd: ceph --admin-daemon interface doesn't handle spaces in names

Added by David Zafman almost 11 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

The simple parsing mechanism string_to_vec() uses spaces to separate arguments. There is no processing of quotes. This means working with names that contain spaces is not possible.

Actions #1

Updated by Ian Colle almost 11 years ago

  • Assignee set to Dan Mick
  • Priority changed from Normal to High
Actions #2

Updated by Dan Mick almost 11 years ago

  • Priority changed from High to Normal

Sorry, David, I just noticed this was assigned to me, but I'm not clear on what exactly is breaking. Looks like something using the TestOpsSocketHook for direct manipulation
of the omap, I guess?...and yeah, it would need to parse strings more carefully to
allow for keys or values with spaces. I don't think this is high priority, Ian,
and I'm not sure it's mine (although I could obviously work on it).

Actions #3

Updated by Ian Colle over 10 years ago

  • Status changed from New to Resolved
Actions #4

Updated by Dan Mick over 10 years ago

  • Status changed from Resolved to New

Manually tested creating keys with spaces in key and val. David suggested maybe testing objnames with space too. Probably should add stuff to the cephtool test.

Actions #5

Updated by Dan Mick over 10 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF