[
https://issues.apache.org/jira/browse/CLOUDSTACK-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574745#comment-13574745
]
Rayees Namathponnan commented on CLOUDSTACK-1216:
-------------------------------------------------
uuid is null for admin
mysql> select * from user;
+----+--------------------------------------+----------+----------------------------------+------------+-----------+----------+-------+---------+---------+------------+---------------------+---------+----------+--------------------+---------------+-----------+--------------------------+
| id | uuid | username | password
| account_id | firstname | lastname | email | state | api_key |
secret_key | created | removed | timezone | registration_token |
is_registered | region_id | incorrect_login_attempts |
+----+--------------------------------------+----------+----------------------------------+------------+-----------+----------+-------+---------+---------+------------+---------------------+---------+----------+--------------------+---------------+-----------+--------------------------+
| 1 | 6e8f2f58-721a-11e2-b3d4-52b2d980df8a | system | 0.431363340868953
| 1 | system | cloud | NULL | enabled | NULL |
NULL | 2013-02-08 10:07:42 | NULL | NULL | NULL |
0 | 1 | 0 |
| 2 | NULL | admin |
5f4dcc3b5aa765d61d8327deb882cf99 | 2 | admin | cloud | NULL |
enabled | NULL | NULL | 2013-02-08 10:07:42 | NULL | NULL |
NULL | 0 | 1 | 0 |
+----+--------------------------------------+----------+----------------------------------+------------+-----------+----------+-------+---------+---------+------------+---------------------+---------+----------+--------------------+---------------+-----------+--------------------------+
2013-02-08 10:29:16,013 INFO [cloud.api.ApiServer] (catalina-exec-16:null)
(userId=2 accountId=2 sessionId=6BCDC0D13B11D8CB909E8FD18C74903E) 10.216.133.42
-- GET
command=listUsers&response=json&sessionkey=4QDEWZBd1bAweF8umGJIWUHHtLM%3D&_=1360348308919
200 { "listusersresponse" : { "count":1 ,"user" : [
{"username":"admin","firstname":"admin","lastname":"cloud","created":"2013-02-08T01:46:11-0800","state":"enabled","account":"admin","accounttype":1,"domainid":"3f54de3e-7217-11e2-b293-4290361b938f","domain":"ROOT","accountid":"6d692d20-7217-11e2-b293-4290361b938f","iscallerchilddomain":false,"jobstatus":0}
] } }
2013-02-08 10:29:17,904 INFO [cloud.api.ApiServer] (catalina-exec-17:null)
(userId=2 accountId=2 sessionId=6BCDC0D13B11D8CB909E8FD18C74903E) 10.216.133.42
-- GET
command=registerUserKeys&response=json&sessionkey=4QDEWZBd1bAweF8umGJIWUHHtLM%3D&_=1360348310804
431 Unable to execute API command registeruserkeys due to missing parameter id
> UUID is null for admin and failed to register user key with 4.1
> ---------------------------------------------------------------
>
> Key: CLOUDSTACK-1216
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1216
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Management Server
> Affects Versions: 4.1.0
> Environment: Cent OS 6.3
> 4.1 build
> Reporter: Rayees Namathponnan
> Priority: Blocker
> Fix For: 4.1.0
>
>
> Step 1 : Created new build from 4.1 branch
> Step 2 : Install and configured MS server
> Step 3 : Register registeruserkeys for user admin
> Account > Admin > View user > Admin > Generate Key
> Actual result
> Register user key failed with below error "Unable to execute API command
> registeruserkeys due to missing parameter id"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira