[ https://issues.apache.org/jira/browse/CLOUDSTACK-3073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kiran Koneti closed CLOUDSTACK-3073. ------------------------------------ Issue not observed in the latest build hence closing the issue > able to deploy a VM using the implicit dedication(preferred) on a host which > is explicitly dedicated to another account. > ------------------------------------------------------------------------------------------------------------------------ > > Key: CLOUDSTACK-3073 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3073 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Install and Setup > Affects Versions: 4.2.0 > Reporter: Kiran Koneti > Assignee: Devdeep Singh > Priority: Critical > Fix For: 4.2.0 > > > Followed the Below steps: > 1)Created a advanced zone setup. > 2)dedicated the Zone to an account(say kiran1 from domain Kiran). > 3)Then created service offerings for strict implicit dedication and preferred > implicit dedication. > 4)Now from the account kiran2 in the same domain I tried to create VM using > the strict implicit and preferred implicit dedication. > 5)VM creation with the strict implicit failed but the creation with Preferred > got succeeded. > 6)When dug into deeper investigation observed that the host which is > dedicated to the account (actually dedicated the Zone) is not updated as > dedicated host in the "op_host_planner_reservation" table. > The DB tables are as below: > mysql> select * from op_host_planner_reservation; > +----+----------------+--------+------------+---------+----------------+ > | id | data_center_id | pod_id | cluster_id | host_id | resource_usage | > +----+----------------+--------+------------+---------+----------------+ > | 1 | 1 | 1 | 1 | 1 | Shared | > +----+----------------+--------+------------+---------+----------------+ > 1 row in set (0.00 sec) > mysql> select * from dedicated_resources; > +----+--------------------------------------+----------------+--------+------------+---------+-----------+------------+ > | id | uuid | data_center_id | pod_id | > cluster_id | host_id | domain_id | account_id | > +----+--------------------------------------+----------------+--------+------------+---------+-----------+------------+ > | 6 | 73cfd7c6-3653-4960-89ca-50ee3b7e47ee | 1 | NULL | > NULL | NULL | 2 | 3 | > +----+--------------------------------------+----------------+--------+------------+---------+-----------+------------+ > 1 row in set (0.00 sec) -- 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