Bug #12363
closedAllow hammer capsule content synchronization by --environment name
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1190893
Description of problem:
[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):
How reproducible:
see above
Additional info:
peer bz
hammer capsule content synchronization needs --help to indicate which fields are required and/or optional
https://bugzilla.redhat.com/show_bug.cgi?id=1190890
Updated by The Foreman Bot almost 9 years ago
- Status changed from New to Ready For Testing
- Assignee set to Brad Buckingham
- Pull request https://github.com/Katello/hammer-cli-katello/pull/330 added
Updated by Eric Helms almost 9 years ago
- Translation missing: en.field_release set to 86
- Triaged changed from No to Yes
Updated by Brad Buckingham almost 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-katello|64a8f05b29b846b5df9f98830b37b5e0c4b8c5c8.