Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionJaroslav Kortus
2011-11-13 21:15:33 UTC
Description of problem:
"crm configure show xml" command on a running cluster fails xmllint validation
Version-Release number of selected component (if applicable):
pacemaker-1.1.6-3.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1. crm configure show xml | xmllint -
2.
3.
Actual results:
(15:10:16) [root@node01:~]$ crm configure show xml | xmllint -
-:1: parser error : Start tag expected, '<' not found
<?xml version="1.0" ?>
^
exits with code=1
Expected results:
valid xml output of configure show xml that passes xmllint
Additional info:
# crm configure show xml | xxd
0000000: 1b5b 3f31 3033 3468 3c3f 786d 6c20 7665 .[?1034h<?xml ve
0000010: 7273 696f 6e3d 2231 2e30 2220 3f3e 0a3c rsion="1.0" ?>.<
0000020: 6369 6220 6164 6d69 6e5f 6570 6f63 683d cib admin_epoch=
0000030: 2231 2220 6369 622d 6c61 7374 2d77 7269 "1" cib-last-wri
0000040: 7474 656e 3d22 5468 7520 4e6f 7620 3130 tten="Thu Nov 10
0000050: 2030 353a 3237 3a31 3420 3230 3131 2220 05:27:14 2011"
seems like there are some unwanted characters at the start of the output
CIB used came from CTS test run which populated the resources.