You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Alena Prokharchyk (JIRA)" <ji...@apache.org> on 2013/09/16 18:54:51 UTC

[jira] [Resolved] (CLOUDSTACK-4666) VM created under projects don't show up in admin instances, or under hosts

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

Alena Prokharchyk resolved CLOUDSTACK-4666.
-------------------------------------------

    Resolution: Won't Fix

This is how the current UI is designed - show project related resources only under the Project View, even for the ROOT/Domain Admin. 

If you execute listVm call through the API, the call behaves this way:

* listVms&listAll=true - list all the vms that the caller is authorized to see, except for vms belonging to the project
* listVms&projectId=2 - list vms of the project id=2
* listVms&projectId=-1 - list all vms that are part of any project that the caller is authorized to see.

Current CS UI calls listVms&listAll=true from Instances/Infrastructure pages. 

                
> VM created under projects don't show up in admin instances, or under hosts
> --------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-4666
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4666
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: UI
>    Affects Versions: 4.1.0
>         Environment: CentOS release 6.4 (Final)
>            Reporter: danny webb
>            Assignee: Alena Prokharchyk
>         Attachments: hosts_view_instances.png, instances_tab.png, only_in_project_view.png
>
>
> If you create a VM via the API that is assigned to a project it the VM isn't viewable anywhere except in the project view.  Even for the admin user.
> Places you can't see them in the UI:
> Admin -> Instances
> Admin -> Infrastructure -> Hosts -> Hostname -> View Instances
> User -> Instances
> this is problematic because you have no way of gauging the overall utilisation of hosts without being able to see all hosts assigned to them.  
> It seems to me that assigning a VM to a project shouldn't remove it from the overall instances list.  You should be able as a user be able to have the overall view of instances regardless of project in the instances view as long as you are a member of that project.  If you need to get granular with what VMs are assigned to what projects you can do that via the project view.  And the admin should definitely be able to see all instances in the instances page without having to delve into the project view and trying to find the host.

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