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

Devdeep Singh resolved CLOUDSTACK-3552.
---------------------------------------

    Resolution: Won't Fix

op_host_planner_reservation table is meant for internal house keeping and it 
doesn't hold the information on who the resource is dedicated too. It is used 
by the deployment planning manager to make sure that when a vm deployment 
request is placed and a dedicated resource isn't asked for; a resource 
explicitly/implicitly dedicated to an account isn't picked up.

When a host is implicitly dedicated the information isn't persisted in the db. 
This is done to make sure when the last instance/vm is removed from the host, 
the host automatically becomes available to the free pool. Right now there 
isn't any use case that requires for information on an implicitly dedicated 
host to be persisted.
                
> Domain/Account details are not displayed for the implicitly dedicated hosts 
> neither in UI nor in DB.
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3552
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3552
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>            Reporter: Kiran Koneti
>            Assignee: Devdeep Singh
>            Priority: Critical
>             Fix For: 4.2.0
>
>
> When a host is implicitly dedicated to an domain/account then the dedication 
> details for that particular account is not recorded neither in DB nor in UI.
> The op_host_planner_reservation; shows the details as of weather a host is 
> dedicated or not but it doesn't make a note of to which account it is 
> dedicated .
> The op_host_planner_reservation; table details 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)
> This will be an issue when the number of accounts and hosts in the setup 
> increases.

--
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

Reply via email to