Created a new user to manage Katello/Foreman. The following command produces and error: # hammer -u admin -p changeme user list undefined method `key?' for #<JSON::Ext::Generator::State:0x0000000e782a68> When performing a user info, I can get the first two (admin and a hidden user that I don't know how it was created). The rest of the users info fail with an error: # hammer -u admin -p changeme user info --id 1 Id: 1 Login: admin Name: Admin User Email: root Admin: yes Authorized by: Internal Last login: 2014/05/30 20:09:43 Created at: 2014/05/29 16:49:01 Updated at: 2014/05/30 20:09:43 # hammer -u admin -p changeme user info --id 2 Id: 2 Login: hidden-0zd9qe Name: Email: sm79ogUAtw@localhost Admin: no Authorized by: Internal Last login: Created at: 2014/05/29 16:49:04 Updated at: 2014/05/29 16:49:04 # hammer -u admin -p changeme user info --id 3 undefined method `key?' for #<JSON::Ext::Generator::State:0x000000102d9c80>
Created from redmine issue http://projects.theforeman.org/issues/6003
Upstream bug assigned to tomckay
Moving to POST since upstream bug http://projects.theforeman.org/issues/6003 has been closed
VERIFIED [root@hp-dl360g5-01 ~]# hammer user info --id 1 Id: 1 Login: admin Name: Admin User Email: root.bos.redhat.com Admin: yes Authorized by: Internal Last login: 2014/06/20 07:48:57 Created at: 2014/06/20 06:45:54 Updated at: 2014/06/20 07:48:57 [root@hp-dl360g5-01 ~]# hammer user info --id 2 Id: 2 Login: hidden-wvpqj5 Name: Email: j2zJ331uG2@localhost Admin: no Authorized by: Internal Last login: Created at: 2014/06/20 06:45:59 Updated at: 2014/06/20 06:45:59 [root@hp-dl360g5-01 ~]# hammer user info --id 3 Id: 3 Login: testuser Name: test user Email: testuser Admin: no Authorized by: Internal Last login: Organizations: ACME_Corporation Created at: 2014/06/20 07:47:26 Updated at: 2014/06/20 07:47:26
This was delivered with 6.0.3, which is the Satellite 6 Beta.