Bug #5503
closedosd: ceph --admin-daemon interface doesn't handle spaces in names
0%
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.
Updated by Ian Colle almost 11 years ago
- Assignee set to Dan Mick
- Priority changed from Normal to High
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).
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.