Actions
Bug #11147
closedhammer says "Error: 301 Moved Permanently" when you are missing "https://" in server option
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman commands (obsolete)
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1242488
Description of problem:
Hammer says "Error: 301 Moved Permanently" when you are missing "https://" in server option. It is not user-friendly and I had to bug developer to find that typo.
Version-Release number of selected component (if applicable):
rubygem-hammer_cli-0.1.4.11-1.el6_6sat.noarch
How reproducible:
always
Steps to Reproduce:
1. hammer --server $(hostname) --username admin --password changeme organization create --label 'satellite-qa' --name 'satellite-qa'
- hammer --server $(hostname) --username admin --password changeme organization create --label 'satellite-qa' --name 'satellite-qa'
Could not create the organization:
Error: 301 Moved Permanently
Expected results:
Some useful error message explaining what is wrong
Additional info:
Running with "https://" is OK:
- hammer --server https://$(hostname) --username admin --password changeme organization create --label 'satellite-qa' --name 'satellite-qa'
Organization created
Updated by Tomáš Strachota about 9 years ago
- Target version set to hammer-cli 0.5.0
Updated by Tomáš Strachota about 9 years ago
- Target version changed from hammer-cli 0.5.0 to hammer-cli 0.6.0
Updated by Tomáš Strachota almost 9 years ago
- Target version changed from hammer-cli 0.6.0 to hammer-cli 0.6.1
Updated by Martin Bacovsky almost 9 years ago
- Category set to Foreman commands (obsolete)
- Status changed from New to Assigned
- Assignee set to Martin Bacovsky
Updated by The Foreman Bot almost 9 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/223 added
Updated by Martin Bacovsky almost 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-foreman|4a9eceb007ad9dcea3d5052b83a1f96bf5e176af.
Updated by Tomáš Strachota almost 9 years ago
- Target version changed from hammer-cli 0.6.1 to hammer-cli 0.7.0
Updated by Dominic Cleal almost 9 years ago
- Related to Bug #14312: hammer-cli-foreman-0.6.1 misses dependency on apipie-bindings >=0.0.16 added
Actions