Bug 1084831
Summary: | csv output adapter for a Product returns unusable information | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Og Maciel <omaciel> |
Component: | Hammer | Assignee: | Dustin Tsang <dtsang> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Kedar Bidarkar <kbidarka> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.3 | CC: | bbuckingham, bkearney, jmontleo, kbidarka, mmccune, omaciel, tkolhar |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/5111 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-07-02 14:09: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
Og Maciel
2014-04-06 23:27:25 UTC
Created redmine issue http://projects.theforeman.org/issues/5111 from this bug I can see that the two fields that are causing the extra, unusable data: GPG and Content. Both of these fields are outputting extra because the csv adapter currently isn't set to display nested data. Right now the table adapter( hammer --output table ) omits these 2 fields. would that be fine for the csv output too? Talked to @dustin and he's going to provide "GPG Key ID" and "GPG Key" (name) in the output. Moving to POST since upstream bug http://projects.theforeman.org/issues/5111 has been closed It seems that hammer product info does not contain proper help page # hammer product info --help Usage: hammer product info [OPTIONS] Options: -h, --help print help didn't mean to close redmine issue. It must have auto-closed because I must had 1 of the 2 pull-requests referencing #5111 merged. https://github.com/theforeman/hammer-cli/pull/112 still looking for ACK. Upstream bug assigned to adprice accidentally assigned to me giving back to you, dustin Upstream bug assigned to adprice Upstream bug assigned to dtsang verified with sat6-snap9 [root@xxxx ~]# hammer --output csv product info --id=8 ID,Name,Label,Description,Sync State,Sync Plan ID,GPG::GPG Key ID,GPG::GPG Key,Organization,Readonly,Deletable,Content::Repo Name::1,Content::URL::1 8,Sat6Tools,Sat6Tools,"",finished,"","","",ACME_Corporation,false,true,rhcommon,/custom/Sat6Tools/rhcommon Installed Packages candlepin-0.9.7-1.el6_5.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.9.7-1.el6_5.noarch candlepin-tomcat6-0.9.7-1.el6_5.noarch createrepo-0.9.9-21.2.pulp.el6sat.noarch dhcp207-55.lab.eng.pnq.redhat.com-qpid-broker-1.0-1.noarch dhcp207-55.lab.eng.pnq.redhat.com-qpid-client-cert-1.0-1.noarch elasticsearch-0.90.10-4.el6sat.noarch katello-1.5.0-25.el6sat.noarch katello-ca-1.0-1.noarch katello-certs-tools-1.5.5-1.el6sat.noarch katello-installer-0.0.48-1.el6sat.noarch m2crypto-0.21.1.pulp-10.el6sat.x86_64 mod_wsgi-3.4-1.pulp.el6sat.x86_64 pulp-katello-0.3-3.el6sat.noarch pulp-nodes-common-2.4.0-0.20.beta.el6sat.noarch pulp-nodes-parent-2.4.0-0.20.beta.el6sat.noarch pulp-puppet-plugins-2.4.0-0.20.beta.el6sat.noarch pulp-puppet-tools-2.4.0-0.20.beta.el6sat.noarch pulp-rpm-plugins-2.4.0-0.20.beta.el6sat.noarch pulp-selinux-2.4.0-0.20.beta.el6sat.noarch pulp-server-2.4.0-0.20.beta.el6sat.noarch python-gofer-qpid-1.2.1-1.el6sat.noarch python-isodate-0.5.0-1.pulp.el6sat.noarch python-kombu-3.0.15-10.pulp.el6sat.noarch python-pulp-bindings-2.4.0-0.20.beta.el6sat.noarch python-pulp-common-2.4.0-0.20.beta.el6sat.noarch python-pulp-puppet-common-2.4.0-0.20.beta.el6sat.noarch python-pulp-rpm-common-2.4.0-0.20.beta.el6sat.noarch python-qpid-0.22-14.el6sat.noarch python-qpid-qmf-0.22-31.el6sat.x86_64 qpid-cpp-client-0.22-40.el6.x86_64 qpid-cpp-server-0.22-40.el6.x86_64 qpid-cpp-server-linearstore-0.22-40.el6.x86_64 qpid-proton-c-0.7-1.el6.x86_64 qpid-qmf-0.22-31.el6sat.x86_64 qpid-tools-0.22-12.el6.noarch ruby193-rubygem-katello-1.5.0-57.el6sat.noarch rubygem-hammer_cli_katello-0.0.4-6.el6sat.noarch This was delivered in 6.0.3, the Beta version of Satellite 6.0 This was delivered with 6.0.3, which is the Satellite 6 Beta. |