Bug 1123933
| Summary: | CLI didn't seem to work until we moved/removed ~/.cache/apipie_bindings | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | David Davis <daviddavis> |
| Component: | Hammer | Assignee: | Adam Price <adprice> |
| Status: | CLOSED WONTFIX | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.4 | CC: | bbuckingham, bkearney, sthirugn |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-01-06 19:19:22 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: | |||
|
Description
David Davis
2014-07-28 16:38:17 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. Suresh, Are there any additional details that you can provide to facilitate reproducing this issue? E.g from https://bugzilla.redhat.com/show_bug.cgi?id=1100311#c18 , was this an 'update' of the CLI, new install...etc. There may be many scenarios in which you can see this error. But I have shown below - an easy reproducer. (My guess is that it fails after any command which displays the progress in CLI - see in my example below) My box is upgraded from GA Snap 1 to Snap 2. I followed these steps: 1. Installed GA Snap 1 2. Did regular testing 3. Added repo link for Snap 2 4. # katello-service stop 5. # yum upgrade 6. # katello-service start Then tried the following: # hammer -u admin -p changeme shell Welcome to the hammer interactive shell hammer> subscription refresh-manifest --organization='brandneworg' [..............................................................................] [100%] Task f0d795e3-bc98-49f7-88e2-3067b0519d6e: success hammer> subscription refresh-manifest --organization='brandneworg' Manifest refresh failed: Error: The server does not support such operation. hammer> exit # mv ~/.cache/apipie_bindings ~/.cache/apipie_bindings~backup # hammer -u admin -p changeme shell Welcome to the hammer interactive shell hammer> subscription refresh-manifest --organization='brandneworg' [..............................................................................] [100%] Task 9d9cfd58-0ea6-42e9-9fd6-9f9a27865357: success hammer> subscription refresh-manifest --organization='brandneworg' Manifest refresh failed: Error: The server does not support such operation. Adding to my Comment 4: Not sure if this happens only with shell though. The following works fine: # hammer -u admin -p changeme subscription refresh-manifest --organization='brandneworg' [..............................................................................] [100%] Task 116fdfd2-b0ed-4f64-8aab-1a0675a83135: success # hammer -u admin -p changeme subscription refresh-manifest --organization='brandneworg' [..............................................................................] [100%] Task 9c7a8393-fe0b-4e4b-97d8-ed63242a988a: success # hammer -u admin -p changeme subscription refresh-manifest --organization='brandneworg' [..............................................................................] [100%] Task fc5a97d2-d3f2-4a19-966a-3e6be6576dcf: success # hammer -u admin -p changeme subscription refresh-manifest --organization='brandneworg' [..............................................................................] [100%] Task 57cfbd58-8e3b-42f7-8c0c-c5e3f3760832: success This is an older bug which I do not envision being fixed in the near term. I am closing this out. If you believe doing so is an issue, please feel free to re-open and provide additional business information. Thank you. |