[
https://issues.apache.org/jira/browse/CLOUDSTACK-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jessica Wang resolved CLOUDSTACK-86.
------------------------------------
Resolution: Fixed
Author: Jessica Wang
<[email protected]>#mailto:[email protected]
Author date: 21 minutes ago (Thu Sep 13 14:05:29 2012)
Commit date: 9 minutes ago (Thu Sep 13 14:17:03 2012)
Commit hash: 8737762bdefb1c5b44c6d8a8e5dd9ac9dc4af768
apache jira CLOUDSTACK-86: cloudstack UI - Instances page - NICs tab - fix a
bug that got networkname from a wrong position in array of
args.context.instances[0].nic. To correct and simplify it, use API response of
"listVirtualMachines&details=nics&id=N" instead of API response of
"listVirtualMachines&id=N" in $.map().
Contained in branches: master
Contained in no tag
> UI - Guest Networks Information displayed pertaining to a VM present in
> mulitple guest networks is incorrect
> ------------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-86
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-86
> Project: CloudStack
> Issue Type: Bug
> Components: UI
> Affects Versions: pre-4.0.0
> Reporter: Chandan Purushothama
> Assignee: Jessica Wang
> Fix For: pre-4.0.0
>
>
> =========
> Use Case:
> =========
> Deployment of a User VM in two Guest Networks, where one is an isolated guest
> network while the other is a shared guest network.
> ==========
> Environment:
> ==========
> Advanced Zone Configuration
> 1 XenServer 6.0.2, NFS Primary and Secondary Storage, Virtual Router
> Configuration only
> ================
> Steps To Reproduce:
> ================
> 1. Login as an admin Account.
> 2. Create a Regular Account.
> 3. Create a shared guest network. Logout of the admin account.
> 4. Login as a Regular Account.
> 5. Create an Isolated Guest Network in the Regular Account using
> DefaultIsolatedNetworkOffering withSourceNATService network offeirng.
> 6. Deploy a User VM in the Regular Account using the Isolated network created
> in Step 5 and shared network created in Step 3.
> 7. After the VM deployment, the UI displayed the Shared Network NIC with the
> Network label of Isolated Guest Network while the Isolated Guest Network NIC
> was displayed with the Shared Network label
> ===========
> Observations:
> ===========
> The API's response for ListVirtualMachinesResponse has the correct labels.
> The UI mismatched the labels with the NICs.
> listVirtualmachinesResponse:
> {
> "listvirtualmachinesresponse": {
> "count": 1,
> "virtualmachine": [
> {
> "id": "16b0c2cb-c5a4-4380-b0e1-c0b080330dcd",
> "name": "atoms-regnet-shdnet-vm2",
> "displayname": "atoms-regnet-shdnet-vm2",
> "account": "atoms",
> "domainid": "90f111bd-0380-4326-a8ee-2d5c0ea08d36",
> "domain": "ROOT",
> "created": "2012-09-12T14:49:44-0700",
> "state": "Running",
> "haenable": false,
> "groupid": "9527b5c8-0072-463d-8b6d-41739e5514fe",
> "group": "atoms-regnet-shdnet-vm2",
> "zoneid": "7e9da8f7-1ffe-4202-bf28-fc401eb42a34",
> "zonename": "ZONE-ASF",
> "templateid": "f2c85ca4-c4b9-43eb-95d6-82b7b7fe7457",
> "templatename": "CentOS 5.6(64-bit) no GUI (XenServer)",
> "templatedisplaytext": "CentOS 5.6(64-bit) no GUI
> (XenServer)",
> "passwordenabled": false,
> "serviceofferingid": "286af657-833b-4063-955b-ae5deb4eb909",
> "serviceofferingname": "Little Instance",
> "cpunumber": 1,
> "cpuspeed": 100,
> "memory": 128,
> "cpuused": "0.16%",
> "networkkbsread": 5,
> "networkkbswrite": 3,
> "guestosid": "c3c61b96-f38a-4c40-90c3-db285c88e097",
> "rootdeviceid": 0,
> "rootdevicetype": "NetworkFilesystem",
> "securitygroup": [],
> "nic": [
> {
> "id": "5d59f95b-e8e3-4741-a105-2c994122a6c9",
> "networkid": "a06fcc28-4a82-403b-a5c1-63650f89fc96",
> "netmask": "255.255.255.192",
> "gateway": "10.223.137.129",
> "ipaddress": "10.223.137.133",
> "traffictype": "Guest",
> "type": "Shared",
> "isdefault": false,
> "macaddress": "06:f8:3e:00:00:2c"
> },
> {
> "id": "b808edb6-0336-438b-a334-c422a8114e92",
> "networkid": "6ebeed0b-7de9-4d7c-a00e-03b6ec134bd9",
> "netmask": "255.255.255.0",
> "gateway": "10.1.1.1",
> "ipaddress": "10.1.1.134",
> "traffictype": "Guest",
> "type": "Isolated",
> "isdefault": true,
> "macaddress": "02:00:59:14:00:03"
> }
> ],
> "hypervisor": "XenServer",
> "tags": []
> }
> ]
> }
> }
> ===========
> Git Info:
> ===========
> Git Revision: 03df2fa9dd45c938f72cd1866044b09d1b0cc978
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
--
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