Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1607799 - No parameter to specify custom ca cert file from hammer CLI
Summary: No parameter to specify custom ca cert file from hammer CLI
Keywords:
Status: CLOSED DUPLICATE of bug 1602835
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources - RHEV
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-24 09:55 UTC by Sanket Jagtap
Modified: 2019-04-01 20:27 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-30 13:59:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sanket Jagtap 2018-07-24 09:55:20 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Try to create a RHV compute resource from CLI
2. UI have "X509 Certification Authorities" field , hammer CLI doesn't

hammer> compute-resource create --help
Usage:
     compute-resource create [OPTIONS]

Options:
 --caching-enabled CACHING_ENABLED           Enable caching, for VMware only
                                             One of true/false, yes/no, 1/0
 --datacenter DATACENTER                     For RHEV, VMware Datacenter
 --description DESCRIPTION                    
 --display-type DISPLAY_TYPE                 For Libvirt only
                                             Possible value(s): 'VNC', 'SPICE'
 --domain DOMAIN                             For RHEL OpenStack Platform only
 --location LOCATION_NAME                    Location name
 --location-id LOCATION_ID                    
 --location-ids LOCATION_IDS                 REPLACE locations with given ids
                                             Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --location-title LOCATION_TITLE             Location title
 --location-titles LOCATION_TITLES           Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --locations LOCATION_NAMES                  Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --name NAME                                  
 --organization ORGANIZATION_NAME            Organization name
 --organization-id ORGANIZATION_ID           Organization ID
 --organization-ids ORGANIZATION_IDS         REPLACE organizations with given ids.
                                             Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organization-title ORGANIZATION_TITLE     Organization title
 --organization-titles ORGANIZATION_TITLES   Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --organizations ORGANIZATION_NAMES          Comma separated list of values. Values containing comma should be quoted or escaped with backslash
 --ovirt-quota OVIRT_QUOTA                   For RHEV only
 --password PASSWORD                         Password for RHEV, EC2, VMware, OpenStack. Secret key for EC2
 --provider PROVIDER                         Providers include Libvirt, Ovirt, EC2, Vmware, Openstack, Rackspace, GCE,
                                             Docker
 --region REGION                             For EC2 only
 --server SERVER                             For VMware
 --set-console-password SET_CONSOLE_PASSWORD For Libvirt and VMware only
                                             One of true/false, yes/no, 1/0
 --tenant TENANT                             For RHEL OpenStack Platform only
 --url URL                                   URL for Docker, Libvirt, RHEV, OpenStack and Rackspace
 --use-v4 USE_V4                             For RHEV only
                                             One of true/false, yes/no, 1/0
 --user USER                                 Username for RHEV, EC2, VMware, OpenStack. Access Key for EC2.
 --uuid UUID                                 Deprecated, please use datacenter
 -h, --help                                  Print help

Actual results:
There is no parameter to specify ca file

Expected results:
There should be a option to specify the ca cert file

Additional info:

Comment 4 Ivan Necas 2018-07-30 13:59:50 UTC
Marking this a duplicate of 1602835, as that was opened earlier and mentions both API and Hammer. Once we fix API, the hammer should get fixed automatically.

*** This bug has been marked as a duplicate of bug 1602835 ***


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