[
https://issues.apache.org/jira/browse/CLOUDSTACK-1216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574959#comment-13574959
]
Rayees Namathponnan commented on CLOUDSTACK-1216:
-------------------------------------------------
HI Min,
Thanks for fixing the issue
Why we are allowing UUID is null ? i think we should not allow UUID null, is
there any reason for this ?
I removing the blocker from this defect
mysql> desc user;
+--------------------------+---------------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra
|
+--------------------------+---------------------+------+-----+---------+----------------+
| id | bigint(20) unsigned | NO | PRI | NULL |
auto_increment |
| uuid | varchar(40) | YES | UNI | NULL |
|
| username | varchar(255) | NO | | NULL |
|
| password | varchar(255) | NO | | NULL |
|
| account_id | bigint(20) unsigned | NO | MUL | NULL |
|
| firstname | varchar(255) | YES | | NULL |
|
| lastname | varchar(255) | YES | | NULL |
|
| email | varchar(255) | YES | | NULL |
|
| state | varchar(10) | NO | | enabled |
|
| api_key | varchar(255) | YES | UNI | NULL |
|
| secret_key | varchar(255) | YES | MUL | NULL |
|
| created | datetime | NO | | NULL |
|
| removed | datetime | YES | MUL | NULL |
|
| timezone | varchar(30) | YES | | NULL |
|
| registration_token | varchar(255) | YES | | NULL |
|
| is_registered | tinyint(4) | NO | | 0 |
|
| region_id | int(10) unsigned | NO | | NULL |
|
| incorrect_login_attempts | int(10) unsigned | NO | | 0 |
|
+--------------------------+---------------------+------+-----+---------+----------------+
18 rows in set (0.00 sec)
> 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
> Assignee: Min Chen
> 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