Bug 772850
Summary: | Status of provider's synchronization couldn't display via katello CLI | ||
---|---|---|---|
Product: | [Retired] Subscription Asset Manager | Reporter: | yu zheng <yuzheng> |
Component: | katello | Assignee: | Tom McKay <tomckay> |
Status: | CLOSED ERRATA | QA Contact: | SAM QE List <sam-qe-list> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0.0 | CC: | bkearney, cpelland, dmacpher, esammons, jomara, khong, sachua, tkolhar |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
An attempt to query the repository sync status via "headpin provider status" resulted in an undefined method error. This update removes "provider status" from the headpin CLI because it is a redundant command.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-20 15:20:14 UTC | Type: | --- |
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: | 803375 |
Description
yu zheng
2012-01-10 06:27:54 UTC
Can not recreate with: katello-certs-tools-1.0.6-1.el6.noarch katello-cli-common-0.3.1-1.el6_2.noarch katello-glue-candlepin-0.3.0-2.el6_2.noarch katello-cli-headpin-0.2.0-1.el6_2.noarch katello-headpin-0.2.4-3.el6_2.noarch katello-candlepin-cert-key-pair-1.0-1.noarch katello-common-0.3.0-2.el6_2.noarch katello-headpin-all-0.2.4-3.el6_2.noarch katello-configure-upgrade-0.3.1-2.el6_2.noarch katello-configure-0.3.1-2.el6_2.noarch katello-selinux-0.1.10-1.el6.noarch Verified with the build : [root@tyan-gt24-12 ~]# rpm -qa | grep katello katello-configure-0.3.1-2.el6_2.noarch katello-selinux-0.1.10-1.el6.noarch katello-cli-headpin-0.2.0-1.el6_2.noarch katello-candlepin-cert-key-pair-1.0-1.noarch katello-configure-upgrade-0.3.1-2.el6_2.noarch katello-cli-common-0.3.1-1.el6_2.noarch katello-glue-candlepin-0.3.0-2.el6_2.noarch katello-certs-tools-1.0.6-1.el6.noarch katello-headpin-0.2.4-3.el6_2.noarch katello-common-0.3.0-2.el6_2.noarch katello-headpin-all-0.2.4-3.el6_2.noarch Actual Results produced : [root@tyan-gt24-12 ~]# headpin -u admin -p admin provider list --org ACME_Corporation -------------------------------------------------------------------------------- Provider List Id Name Type Url Description -------------------------------------------------------------------------------- 1 Red Hat Red Hat https://cdn.redhat.com None [root@tyan-gt24-12 ~]# headpin -u admin -p admin provider status --org ACME_Corporation --name "Red Hat" undefined method `empty?' for #<Product:0x7f9994941af8> Branch: refs/heads/master Home: https://github.com/Katello/katello Commit: 97fcd8838e5b43eacc23fc44d3e51ffe5a303d0d https://github.com/Katello/katello/commit/97fcd8838e5b43eacc23fc44d3e51ffe5a303d0d Author: Tom McKay <thomasmckay> Date: 2012-05-09 (Wed, 09 May 2012) 'provider status' command removed for headpin CLI VERIFIED with the build : [root@dhcp201-111 ~]# rpm -qa | grep katello katello-common-0.3.1-1.el6_2.noarch katello-headpin-all-0.2.9-1.el6_2.noarch katello-cli-common-0.3.4-1.el6_2.noarch katello-selinux-0.2.4-1.el6_2.noarch katello-candlepin-cert-key-pair-1.0-1.noarch katello-certs-tools-1.1.5-1.el6_2.noarch katello-headpin-0.2.9-1.el6_2.noarch katello-configure-0.3.5-1.el6_2.noarch katello-glue-candlepin-0.3.1-1.el6_2.noarch katello-cli-headpin-0.2.2-1.el6_2.noarch [root@dhcp201-111 ~]# headpin -u admin -p admin provider --help Usage: headpin <options> provider <action> <options> Supported Actions: info list information about a provider list list all known providers import_manifest import a manifest file Options: -h, --help show this help message and exit 'provider status' removed from headpin-cli . Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Command "headpin provider status" does not show status of provider's synchronization in CLI. This update removes the 'headpin provider status' from the CLI. Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -Command "headpin provider status" does not show status of provider's synchronization in CLI. This update removes the 'headpin provider status' from the CLI.+An attempt to query the repository sync status via "headpin provider status" resulted in an undefined method error. This update removes "provider status" from the headpin CLI because it is a redundant command. 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/RHBA-2012-1021.html |