Bug 989947 - Headpin Nightly : Cli command 'update' for activation key failed
Summary: Headpin Nightly : Cli command 'update' for activation key failed
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Subscription Asset Manager
Classification: Retired
Component: katello
Version: Nightly
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Tom McKay
QA Contact: Tazim Kolhar
URL:
Whiteboard:
Depends On:
Blocks: sam13-tracker
TreeView+ depends on / blocked
 
Reported: 2013-07-30 08:03 UTC by Tazim Kolhar
Modified: 2016-04-26 00:55 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-10-01 11:15:15 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2013:1390 0 normal SHIPPED_LIVE Release 1.3 of Subscription Asset Manager 2013-10-01 14:43:14 UTC

Description Tazim Kolhar 2013-07-30 08:03:23 UTC
Description of problem:
Cli command 'update' for activation key failed

Version-Release number of selected component (if applicable):
# rpm -qa | grep katello
katello-certs-tools-1.4.2-1.el6.noarch
katello-glue-candlepin-1.4.2-1.git.970.aad75f0.el6.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-cli-1.4.2-1.git.137.fea0d84.el6.noarch
katello-cli-common-1.4.2-1.git.137.fea0d84.el6.noarch
katello-glue-elasticsearch-1.4.2-1.git.970.aad75f0.el6.noarch
katello-headpin-1.4.2-1.git.970.aad75f0.el6.noarch
signo-katello-0.0.9-1.el6.noarch
katello-configure-1.4.3-1.git.67.f71e590.el6.noarch
katello-common-1.4.2-1.git.970.aad75f0.el6.noarch
katello-headpin-all-1.4.2-1.git.970.aad75f0.el6.noarch
katello-selinux-1.4.3-1.git.4.99dc194.el6.noarch
katello-repos-1.4.2-1.el6.noarch


How reproducible:
# yum install -y katello-headpin-all
# katello-configure --deployment=headpin --user-pass=***

Steps to Reproduce:
1.# headpin -u admin -p **** activation_key create --name act_key --org ACME_Corporation
Successfully created activation key [ act_key ]

2.# headpin -u admin -p **** activation_key update --name act_key --org ACME_Corporation --environment Library --new_name act_key_update 
error: Values instance has no attribute 'view_name' (more in the log file /var/log/katello/client.log)

3.

Actual results:
Activation Key update failed

Expected results:
Activation key update should work as per expected

Additional info:

Comment 1 Tom McKay 2013-08-06 18:10:14 UTC
Branch: refs/heads/master
  Home:   https://github.com/Katello/katello-cli
  Commit: 9e2c3132dc7c1f4775564c0d6426c2a9dc195577
      https://github.com/Katello/katello-cli/commit/9e2c3132dc7c1f4775564c0d6426c2a9dc195577
  Author: Tom McKay <thomasmckay>
  Date:   2013-08-06 (Tue, 06 Aug 2013)

Comment 2 sthirugn@redhat.com 2013-08-16 17:25:11 UTC
VERIFIED

# headpin -u admin -p **** activation_key update --org ACME_Corporation --name act1 --environment=Library --new_name act2
Usage:  headpin <options> activation_key update <options>

headpin: error: no such option: --environment

# headpin -u admin -p admin activation_key update --org ACME_Corporation --name act1 --new_name act2
Successfully updated activation key [ act2 ]

* candlepin-0.8.20-1.el6sam.noarch
* candlepin-cert-consumer-cloud-qe-21.idm.lab.bos.redhat.com-1.0-1.noarch
* candlepin-scl-1-5.el6_4.noarch
* candlepin-scl-quartz-2.1.5-5.el6_4.noarch
* candlepin-scl-rhino-1.7R3-1.el6_4.noarch
* candlepin-scl-runtime-1-5.el6_4.noarch
* candlepin-selinux-0.8.20-1.el6sam.noarch
* candlepin-tomcat6-0.8.20-1.el6sam.noarch
* elasticsearch-0.19.9-8.el6sat.noarch
* katello-candlepin-cert-key-pair-1.0-1.noarch
* katello-certs-tools-1.4.2-2.el6sat.noarch
* katello-cli-1.4.3-7.el6sat.noarch
* katello-cli-common-1.4.3-7.el6sat.noarch
* katello-common-1.4.3-8.el6sam_splice.noarch
* katello-configure-1.4.4-2.el6sat.noarch
* katello-glue-candlepin-1.4.3-8.el6sam_splice.noarch
* katello-glue-elasticsearch-1.4.3-8.el6sam_splice.noarch
* katello-headpin-1.4.3-8.el6sam_splice.noarch
* katello-headpin-all-1.4.3-8.el6sam_splice.noarch
* katello-selinux-1.4.4-2.el6sat.noarch
* thumbslug-0.0.32-1.el6sam.noarch
* thumbslug-selinux-0.0.32-1.el6sam.noarch

Comment 4 errata-xmlrpc 2013-10-01 11:15:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-1390.html


Note You need to log in before you can comment on or make changes to this bug.