Paul Angus created CLOUDSTACK-9432:
--------------------------------------

             Summary: Dedicate Cluster to Domain always creates an affinity 
group owned by the root domain
                 Key: CLOUDSTACK-9432
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9432
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.8.0, 4.7.0, 4.6.0, Future
         Environment: CloudStack 4.6+
            Reporter: Paul Angus
            Priority: Critical


When dedicating a cluster to a domain, the affinity group which is created is 
visible to everyone rather than only to domain that the cluster is dedicated to.

in the DB: 

mysql> select * from affinity_group_domain_map;
+----+-----------+-------------------+------------------+
| id | domain_id | affinity_group_id | subdomain_access |
+----+-----------+-------------------+------------------+
***********
**********
| 40 |      5904 |              2231 |                1 |
| 44 |         1 |              2266 |                1 |
+----+-----------+-------------------+------------------+

ID 44 links affinity group 2266 to domain 1 (ROOT).

workaround: this must be changed manually in the DB to set the domain correctly



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to