Project

General

Profile

Actions

Bug #13719

closed

perf dump for librbd socket generates invalid xml due to slash in attribute name

Added by Mykola Golub over 8 years ago. Updated over 8 years ago.

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

0%

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

Description

% ceph --format xml --admin-daemon out/client.admin.19285.asok perf dump > /tmp/perf.xml
% xmllint /tmp/perf.xml
/tmp/perf.xml:1: parser error : error parsing attribute name
<perfcounter_collection><librbd--rbd/testimg26926><rd>0</rd><rd_bytes>0</rd_byte
^
/tmp/perf.xml:1: parser error : attributes construct error

Actions #1

Updated by Mykola Golub over 8 years ago

The easiest fix (workaround) could be not to use "/" as a separator between pool and image name.

Actions #2

Updated by Jason Dillaman over 8 years ago

It won't support the "@" character for a snapshot name, either. I am fine w/ just using a hyphen to separate the components.

Actions #4

Updated by Jason Dillaman over 8 years ago

  • Status changed from New to Fix Under Review
Actions #5

Updated by Jason Dillaman over 8 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF