Description of problem: Couldn't find --description under organization update to update org's description. # hammer --username admin --password changeme organization update --id 3 --description='interesting description' Could not update the organization: Error: Unrecognised option '--description' Version-Release number of selected component (if applicable): Satellite-6.1.0-RHEL-6-20150210.0 Sat6.1.0 beta snap2 How reproducible: always Steps to Reproduce: 1. create an org without description 2. update it via hammer cli 3. Actual results: # hammer --username admin --password changeme organization update --id 3 --description='interesting description' Could not update the organization: Error: Unrecognised option '--description' Expected results: org update should have --description option to update org description. Additional info:
unable to reproduce. can you please retest?
Ok, so the problem exists in the downstream builds (aka compose) but not upstream. I guess we have problems with packaging? UPSTREAM ======== # rpm -qa |grep hammer | sort rubygem-hammer_cli-0.1.4-1.201502231453gita05d2a9.el6.noarch rubygem-hammer_cli_foreman-0.1.4-1.201502261150gitcc37ad8.el6.noarch rubygem-hammer_cli_foreman_bootdisk-0.1.2-1.el6.noarch rubygem-hammer_cli_foreman_tasks-0.0.3-2.201409091410gitc96619d.git.0.37f3704.el6.noarch rubygem-hammer_cli_gutterball-0.0.1-1.201502202351git7ddb8f2.git.0.87f367e.el6.noarch rubygem-hammer_cli_import-0.10.10-1.el6.noarch rubygem-hammer_cli_katello-0.0.8-1.201502271616git0719e99.git.0.8721160.el6.noarch DOWNSTREAM ========== # rpm -qa |grep hammer |sort rubygem-hammer_cli-0.1.4.3-1.el6_6sat.noarch rubygem-hammer_cli_foreman-0.1.4.6-1.el6_6sat.noarch rubygem-hammer_cli_foreman_bootdisk-0.1.2.5-1.el6_6sat.noarch rubygem-hammer_cli_foreman_discovery-0.0.1.2-1.el6_6sat.noarch rubygem-hammer_cli_foreman_tasks-0.0.3.3-1.el6_6sat.noarch rubygem-hammer_cli_gutterball-0.0.1.2-1.el6_6sat.noarch rubygem-hammer_cli_import-0.10.6.3-1.el6_6sat.noarch rubygem-hammer_cli_katello-0.0.7.3-1.el6_6sat.noarch
Verified with: sat6.1 beta snap6 compose2 Satellite-6.1.0-RHEL-6-20150311.1/ I can see --description option to update org's description. -- # hammer --username admin --password changeme organization update --help | grep description --description DESCRIPTION -- ]# hammer --username admin --password changeme organization create --name testorg Organization created # hammer --username admin --password changeme organization list ---|----------------------|----------------------|------------ ID | NAME | LABEL | DESCRIPTION ---|----------------------|----------------------|------------ 1 | Default Organization | Default_Organization | 3 | testorg | testorg | ---|----------------------|----------------------|------------ [root@dhcp201-163 boot]# hammer --username admin --password changeme organization update --id 3 --description='interesting description' Organization updated Org updated with description but org list doesn't show the updated description, ill file another bz for this. [root@dhcp201-163 boot]# hammer --username admin --password changeme organization list ---|----------------------|----------------------|------------ ID | NAME | LABEL | DESCRIPTION ---|----------------------|----------------------|------------ 1 | Default Organization | Default_Organization | 3 | testorg | testorg | ---|----------------------|----------------------|------------
For the record, the migration there should not have been added. Reported as https://bugzilla.redhat.com/show_bug.cgi?id=1214314
This bug is slated to be released with Satellite 6.1.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:1592