You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Saksham Srivastava (JIRA)" <ji...@apache.org> on 2013/06/20 11:55:19 UTC

[jira] [Commented] (CLOUDSTACK-3073) op_host_planner_reservation table shows host as shared whose Zone is dedicated to an Account.

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-3073?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13689074#comment-13689074 ] 

Saksham Srivastava commented on CLOUDSTACK-3073:
------------------------------------------------

Currently explicitly dedicated host is not considered as dedicated with respect to implicit dedication.
We need to discuss to allow/disallow both implicit and explicit dedication simultaneously. 
Marking it as later, if necessary, reopen it depending upon the discussion.
                
> op_host_planner_reservation table shows host as shared whose Zone is dedicated to an 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: Saksham Srivastava
>            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