Hide Forgot
Description of problem: Here are some more "os" commands that fail to execute: "hammer --output base os set_parameter --os-id "123" --name "testparam" --value "testvalue"" has output "Could not set operating system parameter: Error: undefined method `[]' for nil:NilClass" "hammer --output base os list --search $search" does not return any result. rubygem-foreman_api-0.1.8-2.el6sat.noarch katello-foreman-all-1.4.6-55.el6sat.noarch ruby193-rubygem-foreman_api-0.1.8-2.el6sat.noarch dionysus.usersys.redhat.com-foreman-client-1.0-1.noarch foreman-postgresql-1.3.0-25.el6sat.noarch ruby193-rubygem-katello-foreman-engine-0.0.12-4.el6sat.noarch foreman-proxy-1.3.0-3.el6sat.noarch dionysus.usersys.redhat.com-foreman-proxy-1.0-1.noarch rubygem-hammer_cli_foreman-0.0.9-2.el6sat.noarch foreman-1.3.0-25.el6sat.noarch ruby193-rubygem-foreman-katello-engine-0.0.17-7.el6sat.noarch katello-configure-foreman-1.4.7-7.el6sat.noarch Katello-Katello-Installation-HammerCLI-1.0-9.noarch rubygem-hammer_cli-0.0.8-2.el6sat.noarch
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release.
"hammer os add_configtemplate/remove_configtemplate/add_architecture/remove_architecture" commands fail with error: "Error: resource or action not defined".
(In reply to Hayk Hovsepyan from comment #3) > "hammer os > add_configtemplate/remove_configtemplate/add_architecture/ > remove_architecture" commands fail with error: "Error: resource or action > not defined". I think this is bug #1025544. I can't replicate any issues with the list --search command (`hammer os list --search "name = Fedora"` works), so if you can elaborate on that and file it separate if necessary that'd be appreciated.
Os search works fine.
Verified with Satellite-6.0.3-RHEL-6-20140430.4 os set-parameter works ======================= [root@qetello02 yum.repos.d]# hammer os create --name 'testos' --major '2' Operating system created [root@qetello02 yum.repos.d]# hammer os set-parameter --name 'testparam' --value 'works' --os-id 68 New operating system parameter created [root@qetello02 yum.repos.d]# hammer os info --id 68 Id: 68 Name: testos 2 Release name: Family: Installation media: Architectures: Partition tables: Config templates: Default OS templates: Parameters: 1) testparam => works OS search works too: =================== [root@qetello02 yum.repos.d]# hammer os list --search "name = testos" ---|-----------------------|--------------|------- ID | NAME | RELEASE NAME | FAMILY ---|-----------------------|--------------|------- 68 | testos 2 | | ---|-----------------------|--------------|------- [root@qetello02 yum.repos.d]#
This was delivered in 6.0.3, the Beta version of Satellite 6.0
This was delivered with 6.0.3, which is the Satellite 6 Beta.