Bug 1088442
Summary: | "bad request" exceptions and their messages are not displayed to hammer user | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Tom McKay <tomckay> |
Component: | Hammer | Assignee: | Adam Price <adprice> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Tazim Kolhar <tkolhar> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | Nightly | CC: | bbuckingham, cwelton, daviddavis, kbidarka, tkolhar, tomckay |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/5215 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-09-11 12:24:10 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
Tom McKay
2014-04-16 15:57:01 UTC
Created redmine issue http://projects.theforeman.org/issues/5215 from this bug *** Bug 1091313 has been marked as a duplicate of this bug. *** For testing this bug, you can use 1091313 as a test case. tom, i'm unable to reproduce this issue. would you mind trying again with your setup? ▶ hammer activation-key create --organization acme --name actkey1 Activation key created ▶ hammer activation-key create --organization acme --name actkey1 Could not create the activation key: Validation failed: Name has already been taken if this issue is more wide-spread than `activation-key create` would you please create a list of the hammer commands which don't display error messages properly? thanks. Looks like this was fixed in hammer-cli-katello commit 317f20c7017956d6d0a343b862531ed687c23d16: https://github.com/Katello/hammer-cli-katello/pull/194/files#diff-69c7957f57f06b23014adb6e7afcfab9R7 VERIFIED # hammer activation-key create --help [Foreman] password for admin: Usage: hammer activation-key create [OPTIONS] Options: --content-view CONTENT_VIEW_NAME Content view name to search by --content-view-id CONTENT_VIEW_ID content view numeric identifier --description DESCRIPTION description --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME Name to search by --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID --max-content-hosts MAX_CONTENT_HOSTS maximum number of registered content hosts --name NAME name --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID --organization-label ORGANIZATION_LABEL Organization label to search by --unlimited-content-hosts UNLIMITED_CONTENT_HOSTS can the activation key have unlimited content hosts -h, --help print help Here,as you see only name and organization is sufficient no option of adding label # hammer activation-key create --name act_key --organization testorg [Foreman] password for admin: Activation key created This was delivered with Satellite 6.0 which was released on 10 September 2014. |