Project

General

Profile

Bug #14656

hammer capsule content synchronization needs --help to indicate which fields are required and/or optional

Added by Zach Huntington-Meath over 3 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1190890
Description of problem:

When using hammer cli to synchronize content to the capsule we need to know which fields are required versus optional.

e.g. we have found that we can synchronize by --environment-id but not by --environment

[root@lonlxt90001 script]# hammer -u admin -p changeme capsule content synchronize --environment 'development' --name 'lonlxt90002.nomura.com'
Could not synchronize capsule content:
Error: environment not found
[root@lonlxt90001 script]#

[root@lonlxt90001 script]# hammer u admin -p changeme lifecycle-environment list --organization NOMURA
---|-------------|-----------

ID | NAME | PRIOR
---|-------------|------------
2 | Library |
5 | production | stage
8 | STG | Library
4 | stage | development
7 | Dev | Library
3 | development | Library
9 | PROD | Library
---|-------------|------------
[root@lonlxt90001 script]#

This one works ""[root@lonlxt90001 script]# hammer -u admin -p changeme capsule content synchronize --environment-id 3 --id 2""

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

6.0.7

How reproducible:

see above

Actual results:

Expected results:

Additional info:

History

#1 Updated by The Foreman Bot over 3 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/381 added

#2 Updated by Zach Huntington-Meath over 3 years ago

  • Status changed from Ready For Testing to Assigned
  • Assignee set to Zach Huntington-Meath

#3 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 143

#4 Updated by Zach Huntington-Meath over 3 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/hammer-cli-katello/pull/389 added
  • Pull request deleted (https://github.com/Katello/hammer-cli-katello/pull/381)

#5 Updated by Eric Helms over 3 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF