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

danny webb commented on CLOUDSTACK-4666:
----------------------------------------

#### creating the VM in cloudmonkey

> deploy virtualmachine ipaddress=172.16.30.16 name=uk5-cnnotshowingup001 
> zoneid=48607b5b-4062-460f-801f-224642268395 
> templateid=08645f24-1cbb-42e9-b13b-601930378e9f 
> serviceofferingid=4e1760a6-fbe7-482a-ab36-8024902212ab 
> networkids=482b8652-9123-4ba6-bc53-1706a50e0ac6 displayname="show up damnit" 
> projectid=e3b24f24-da9a-4ae3-8def-4ab4f8f018a8
         {
  "accountid": "0fe933a4-c4e6-489c-9a2f-b28b024c7207",
  "cmd": "org.apache.cloudstack.api.command.user.vm.DeployVMCmd",
  "created": "2013-09-13T16:15:48+0100",
  "jobid": "b3245c87-ba62-4d58-bff1-ab70dbd9acff",
  "jobprocstatus": 0,
  "jobresult": {
    "virtualmachine": {
      "cpunumber": 2,
      "cpuspeed": 3000,
      "created": "2013-09-13T16:15:48+0100",
      "displayname": "show up damnit",
      "domain": "Prod",
      "domainid": "7a9d9703-91e0-4e2b-b732-3dedbec28206",
      "guestosid": "77e8e468-04fa-11e3-b46f-001cc45aecce",
      "haenable": true,
      "hypervisor": "KVM",
      "id": "f227d43c-6d06-421f-ba31-2cc85545c31a",
      "jobid": "b3245c87-ba62-4d58-bff1-ab70dbd9acff",
      "jobstatus": 0,
      "memory": 2048,
      "name": "uk5-cnnotshowingup001",
      "nic": [
        {
          "broadcasturi": "vlan://190",
          "gateway": "172.16.30.1",
          "id": "2674eff6-9835-4581-b11e-6bb42db96fa2",
          "ipaddress": "172.16.30.16",
          "isdefault": true,
          "isolationuri": "vlan://190",
          "macaddress": "06:ee:3a:00:03:f4",
          "netmask": "255.255.254.0",
          "networkid": "482b8652-9123-4ba6-bc53-1706a50e0ac6",
          "networkname": "UK5 - Prod - Internal",
          "traffictype": "Guest",
          "type": "Shared"
        }
      ],
      "passwordenabled": false,
      "project": "Production_MTP",
      "projectid": "e3b24f24-da9a-4ae3-8def-4ab4f8f018a8",
      "rootdeviceid": 0,
      "rootdevicetype": "ROOT",
      "securitygroup": [],
      "serviceofferingid": "4e1760a6-fbe7-482a-ab36-8024902212ab",
      "serviceofferingname": "Standard 2 CPU 2GB - NFS_SAS",
      "state": "Running",
      "tags": [],
      "templatedisplaytext": "First template",
      "templateid": "08645f24-1cbb-42e9-b13b-601930378e9f",
      "templatename": "Centos 6.4 Template",
      "zoneid": "48607b5b-4062-460f-801f-224642268395",
      "zonename": "UK5 DataCenter"
    }
  },
  "jobresultcode": 0,
  "jobresulttype": "object",
  "jobstatus": 1,
  "userid": "5a9a366a-3344-48c9-96b7-2acc5f6febbd"
}

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

Reply via email to