Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1361480 - [RFE] Hammer CLI - no description of content-source and no opportunity to add a content source by its name [NEEDINFO]
Summary: [RFE] Hammer CLI - no description of content-source and no opportunity to add...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Host Group
Version: 6.2.0
Hardware: All
OS: Linux
medium
low vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-07-29 07:02 UTC by Alexey Masolov
Modified: 2018-09-04 19:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-04 19:07:32 UTC
arahaman: needinfo?


Attachments (Terms of Use)

Description Alexey Masolov 2016-07-29 07:02:59 UTC
Description of problem:
Via hammer cli there is no description of content-source (should be a capsule id) and no opportunity to add a content source by its name rather than ID.

Version-Release number of selected component (if applicable):
candlepin-0.9.54.6-1.el7.noarch
candlepin-selinux-0.9.54.6-1.el7.noarch
foreman-installer-katello-3.0.0.43-2.el7sat.noarch
jalviso-sat62beta.gsslab.bne.redhat.com-qpid-broker-1.0-1.noarch
jalviso-sat62beta.gsslab.bne.redhat.com-qpid-client-cert-1.0-1.noarch
jalviso-sat62beta.gsslab.bne.redhat.com-qpid-router-client-1.0-1.noarch
jalviso-sat62beta.gsslab.bne.redhat.com-qpid-router-server-1.0-1.noarch
katello-3.0.0-8.el7sat.noarch
katello-certs-tools-2.4.0-1.el7sat.noarch
katello-client-bootstrap-1.1.0-1.el7sat.noarch
katello-common-3.0.0-8.el7sat.noarch
katello-debug-3.0.0-8.el7sat.noarch
katello-default-ca-1.0-1.noarch
katello-installer-base-3.0.0.43-2.el7sat.noarch
katello-selinux-3.0.1.2-1.el7sat.noarch
katello-server-ca-1.0-1.noarch
katello-service-3.0.0-8.el7sat.noarch
libqpid-dispatch-0.4-11.el7.x86_64
pulp-admin-client-2.8.3-2.el7sat.noarch
pulp-client-1.0-1.noarch
pulp-docker-plugins-2.0.1-1.el7sat.noarch
pulp-katello-1.0-3.el7sat.noarch
pulp-puppet-admin-extensions-2.8.3.1-4.el7sat.noarch
pulp-puppet-plugins-2.8.3.1-4.el7sat.noarch
pulp-puppet-tools-2.8.3.1-4.el7sat.noarch
pulp-rpm-admin-extensions-2.8.3.1-3.el7sat.noarch
pulp-rpm-handlers-2.8.3.1-3.el7sat.noarch
pulp-rpm-plugins-2.8.3.1-3.el7sat.noarch
pulp-selinux-2.8.3-2.el7sat.noarch
pulp-server-2.8.3-2.el7sat.noarch
python-gofer-qpid-2.7.6-1.el7sat.noarch
python-pulp-agent-lib-2.8.3-2.el7sat.noarch
python-pulp-bindings-2.8.3-2.el7sat.noarch
python-pulp-client-lib-2.8.3-2.el7sat.noarch
python-pulp-common-2.8.3-2.el7sat.noarch
python-pulp-docker-common-2.0.1-1.el7sat.noarch
python-pulp-oid_validation-2.8.3-2.el7sat.noarch
python-pulp-puppet-common-2.8.3.1-4.el7sat.noarch
python-pulp-repoauth-2.8.3-2.el7sat.noarch
python-pulp-rpm-common-2.8.3.1-3.el7sat.noarch
python-pulp-streamer-2.8.3-2.el7sat.noarch
python-qpid-0.30-9.el7sat.noarch
python-qpid-qmf-0.30-5.el7.x86_64
qpid-cpp-client-0.30-11.el7sat.x86_64
qpid-cpp-client-devel-0.30-11.el7sat.x86_64
qpid-cpp-server-0.30-11.el7sat.x86_64
qpid-cpp-server-linearstore-0.30-11.el7sat.x86_64
qpid-dispatch-router-0.4-11.el7.x86_64
qpid-proton-c-0.9-16.el7.x86_64
qpid-qmf-0.30-5.el7.x86_64
qpid-tools-0.30-4.el7.noarch
rubygem-smart_proxy_pulp-1.2.0-1.el7sat.noarch
tfm-rubygem-hammer_cli_katello-0.0.22.15-1.el7sat.noarch
tfm-rubygem-katello-3.0.0.47-1.el7sat.noarch
tfm-rubygem-qpid_messaging-0.30.0-7.el7sat.x86_64

How reproducible:
100%

Steps to Reproduce:
$ hammer hostgroup create -h | grep content-source
 --content-source-id CONTENT_SOURCE_ID

Actual results:
# hammer hostgroup create -h
Usage:
    hammer hostgroup create [OPTIONS]

Options:
 --architecture ARCHITECTURE_NAME                    Architecture name
 --architecture-id ARCHITECTURE_ID                    
 --ask-root-pass ASK_ROOT_PW                         One of true/false, yes/no, 1/0.
 --content-source-id CONTENT_SOURCE_ID                
 --content-view CONTENT_VIEW_NAME                    Name to search by
 --content-view-id CONTENT_VIEW_ID                   content view numeric identifier
 --domain DOMAIN_NAME                                Domain name
 --domain-id DOMAIN_ID                               Numerical ID or domain name
 --environment ENVIRONMENT_NAME                      Environment name
 --environment-id ENVIRONMENT_ID                      
 --lifecycle-environment LIFECYCLE_ENVIRONMENT_NAME  Name to search by
 --lifecycle-environment-id LIFECYCLE_ENVIRONMENT_ID ID of the environment
 --location-ids LOCATION_IDS                         REPLACE locations with given ids
                                                     Comma separated list of values.
 --locations LOCATION_NAMES                          Comma separated list of values.
 --medium MEDIUM_NAME                                Medium name
 --medium-id MEDIUM_ID                                
 --name NAME                                          
 --operatingsystem OPERATINGSYSTEM_TITLE             Operating system title
 --operatingsystem-id OPERATINGSYSTEM_ID              
 --organization-ids ORGANIZATION_IDS                 REPLACE organizations with given ids.
                                                     Comma separated list of values.
 --organizations ORGANIZATION_NAMES                  Comma separated list of values.
 --parent PARENT_NAME                                Name of parent hostgroup
 --parent-id PARENT_ID                                
 --partition-table PARTITION_TABLE_NAME              Partition table name
 --partition-table-id PARTITION_TABLE_ID              
 --puppet-ca-proxy PUPPET_CA_PROXY_NAME              Name of puppet CA proxy
 --puppet-ca-proxy-id PUPPET_CA_PROXY_ID              
 --puppet-class-ids PUPPETCLASS_IDS                  List of puppetclass ids
                                                     Comma separated list of values.
 --puppet-classes PUPPET_CLASS_NAMES                 Comma separated list of values.
 --puppet-proxy PUPPET_PROXY_NAME                    Name of puppet proxy
 --puppet-proxy-id PUPPET_PROXY_ID                    
 --realm REALM_NAME                                  Name to search by
 --realm-id REALM_ID                                 Numerical ID or realm name
 --root-pass ROOT_PASSWORD                           Root password
 --subnet SUBNET_NAME                                Subnet name
 --subnet-id SUBNET_ID                                
 -h, --help                                          print help


Expected results:
Description for --content-source-id CONTENT_SOURCE_ID
and option to add it by name like
--content-source CONTENT_SOURCE_NAME

Additional info:

Comment 5 Bryan Kearney 2018-09-04 18:56:47 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.

Comment 6 Bryan Kearney 2018-09-04 19:07:32 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and we do not expect this to be implemented in the product in the foreseeable future. We are therefore closing this out as WONTFIX. If you have any concerns about this, please feel free to contact Rich Jerrido or Bryan Kearney. Thank you.


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