[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sangeetha Hariharan closed CLOUDSTACK-6458.
-------------------------------------------


Tested with latest build from 4.4-forward (with IAM revert)

This is not an issue any more since we do not create entries in iam_group when 
domains are being created.

mysql> select * from iam_group;
+----+-----------------------+-----------------------------+--------------------------------------+------+------------+------+---------+---------------------+
| id | name                  | description                 | uuid               
                  | path | account_id | view | removed | created             |
+----+-----------------------+-----------------------------+--------------------------------------+------+------------+------+---------+---------------------+
|  1 | NORMAL                | Domain user group           | 
8146808c-f230-11e3-ac31-4adf980f9414 | /    |          1 | User | NULL    | 
2014-06-12 08:53:09 |
|  2 | ADMIN                 | Root admin group            | 
81468d20-f230-11e3-ac31-4adf980f9414 | /    |          1 | User | NULL    | 
2014-06-12 08:53:09 |
|  3 | DOMAIN_ADMIN          | Domain admin group          | 
81469996-f230-11e3-ac31-4adf980f9414 | /    |          1 | User | NULL    | 
2014-06-12 08:53:09 |
|  4 | RESOURCE_DOMAIN_ADMIN | Resource domain admin group | 
8146a51c-f230-11e3-ac31-4adf980f9414 | /    |          1 | User | NULL    | 
2014-06-12 08:53:09 |
|  5 | READ_ONLY_ADMIN       | Read only admin group       | 
8146b11a-f230-11e3-ac31-4adf980f9414 | /    |          1 | User | NULL    | 
2014-06-12 08:53:09 |
+----+-----------------------+-----------------------------+--------------------------------------+------+------------+------+---------+---------------------+
5 rows in set (0.00 sec)

mysql> select * from domain;
+----+--------+------+--------------------------------------+-------+----------+-------+-------------+----------------+---------+--------+----------------+--------+
| id | parent | name | uuid                                 | owner | path     
| level | child_count | next_child_seq | removed | state  | network_domain | 
type   |
+----+--------+------+--------------------------------------+-------+----------+-------+-------------+----------------+---------+--------+----------------+--------+
|  1 |   NULL | ROOT | 6cdd2858-f230-11e3-ac31-4adf980f9414 |     2 | /        
|     0 |           2 |              3 | NULL    | Active | NULL           | 
Normal |
|  2 |      1 | d1   | a35f9e43-1707-4ea8-b776-e6e4e75b8fff |     2 | /d1/     
|     1 |           1 |              2 | NULL    | Active | NULL           | 
Normal |
|  3 |      1 | d2   | d4af87a3-15bf-46bd-b4ee-4de55dc735b8 |     2 | /d2/     
|     1 |           0 |              1 | NULL    | Active | NULL           | 
Normal |
|  4 |      2 | d11  | 0c61d5a9-59bd-4f61-97ec-6078acd6e231 |     2 | /d1/d11/ 
|     2 |           0 |              1 | NULL    | Active | NULL           | 
Normal |
+----+--------+------+--------------------------------------+-------+----------+-------+-------------+----------------+---------+--------+----------------+--------+
4 rows in set (0.00 sec)

mysql>


> IAM - When a domain is deleted , the group created for this domian is not 
> removed.
> ----------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6458
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6458
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: IAM
>    Affects Versions: 4.4.0
>         Environment: Build from 4.4
>            Reporter: Sangeetha Hariharan
>            Assignee: Prachi Damle
>             Fix For: 4.4.0
>
>
> IAM - When a domain is deleted , the group created for this domian is not 
> removed.
> Steps to reproduce the problem:
> Create a domain.
> Notice that as part of domain creation , an IAM group specific to this domain 
> is created.
> Delete this domain.
> IAM group specific to this domain is not marked as being removed in the 
> iam_group table.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to