Bug 1378873
| Summary: | the problematic behavior of the system.upgradeEntitlement | ||
|---|---|---|---|
| Product: | Red Hat Satellite 5 | Reporter: | Martin Korbel <mkorbel> |
| Component: | API | Assignee: | Jiří Dostál <jdostal> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Radovan Drazny <rdrazny> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 570 | CC: | jdostal, rdrazny, tkasparek |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | spacewalk-java-2.5.14-38-sat | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-06-21 12:14:33 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: | 1340444 | ||
|
Description
Martin Korbel
2016-09-23 12:28:59 UTC
spacewalk.git d4680f87655e139fe4d3cecb5319a8ed3ed65dbd Please ignore comment 1, enclosed commit is not related to this BZ. Verified on spacewalk-java-2.5.14-43.
Attempt to upgrade entitlement in the WebUI using steps from the initial report fails with the followning message:
1 system(s) failed to add Virtualization(Platform). This was caused by errors attempting to automatically subscribe the system to the Red Hat Satellite Tools and RHEL Virtualization channels which are required for virtualization.
Trying to add the entitlement using the API fails with an error as well:
# spacewalk-api --server localhost --user=admin --password xxx system.upgradeEntitlement "%session%" 1000010000 'virtualization host'
Fault returned from XML RPC Server, fault code -212: redstone.xmlrpc.XmlRpcFault: Invalid entitlement
# spacewalk-api --server localhost --user=admin --password xxx system.getEntitlements "%session%" 1000010000
$result = [
'enterprise_entitled',
'provisioning_entitled'
];
VERIFIED
|