Bug 1403778
| Summary: | entitlement-check.py does not work for manifest but is mentioned in rhn-upgrade's README | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Lukáš Hellebrandt <lhellebr> |
| Component: | Upgrades | Assignee: | Jiří Dostál <jdostal> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ales Dujicek <adujicek> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 580 | CC: | adujicek, jdostal, tkasparek, tlestach |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | rhn-upgrade-5.8.0.12-1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-06-21 12:12:26 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1410816 | ||
Description of problem: entitlement-check.py does not work for manifest but is mentioned in rhn-upgrade's README # grep entitlement-check doc/preparations.txt ./entitlement-check.py --rhn-cert=~/new.cert re-run entitlement-check.py in order to re-test the new certificate. # ./entitlement-check.py --rhn-cert=~/$MANIFEST_FILE Traceback (most recent call last): File "./entitlement-check.py", line 323, in <module> main() File "./entitlement-check.py", line 80, in main cert = parse_cert(options.rhn_cert) File "./entitlement-check.py", line 261, in parse_cert xmldoc = minidom.parse(os.path.expanduser(filename)) File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/minidom.py", line 1915, in parse return expatbuilder.parse(file) File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/expatbuilder.py", line 926, in parse result = builder.parseFile(fp) File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/expatbuilder.py", line 207, in parseFile parser.Parse(buffer, 0) xml.parsers.expat.ExpatError: not well-formed (invalid token): line 1, column 2 Actual results: When user follows the instructions, they hit the following traceback Expected results: Make the script work for manifest or do not tell user to use it