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

Chandan Purushothama updated CLOUDSTACK-341:
--------------------------------------------

    Attachment: BugCapture.PNG
    
> Failing to display Management Traffic Details on the UI
> -------------------------------------------------------
>
>                 Key: CLOUDSTACK-341
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-341
>             Project: CloudStack
>          Issue Type: Bug
>          Components: UI
>    Affects Versions: pre-4.0.0
>            Reporter: Chandan Purushothama
>             Fix For: pre-4.0.0
>
>         Attachments: BugCapture.PNG
>
>
> ==============
> Setup Information:
> ==============
> 1. Two Physical Networks 1) Physical Network 1 carries management, storage, 
> public and guest traffic 2) Physical Network 2 carries only guest traffc
> 2. Physical network 1 and 2 have xenserver traffic labels edited for all the 
> traffics.
> mysql> select * from physical_network;
> +-----+--------------------------------------+--------------------+----------------+-----------+-------+-----------+------------------------+---------+---------------------+---------+
> | id  | uuid                                 | name               | 
> data_center_id | vnet      | speed | domain_id | broadcast_domain_range | 
> state   | created             | removed |
> +-----+--------------------------------------+--------------------+----------------+-----------+-------+-----------+------------------------+---------+---------------------+---------+
> | 200 | 3de236b1-fd5f-43a2-a5c4-02537174e0a4 | Physical Network 2 |           
>    1 | 2491-2500 | NULL  |      NULL | ZONE                   | Enabled | 
> 2012-10-14 00:57:08 | NULL    |
> | 201 | 20b2eec5-e85e-4777-b5dd-42a7ce9e3658 | Physical Network 1 |           
>    1 | 2481-2490 | NULL  |      NULL | ZONE                   | Enabled | 
> 2012-10-14 00:57:08 | NULL    |
> +-----+--------------------------------------+--------------------+----------------+-----------+-------+-----------+------------------------+---------+---------------------+---------+
> 2 rows in set (0.00 sec)
> mysql> select * from physical_network_traffic_types;
> +----+--------------------------------------+---------------------+--------------+----------------------+-------------------+----------------------+-------------------------+-------------------+------+
> | id | uuid                                 | physical_network_id | 
> traffic_type | xen_network_label    | kvm_network_label | 
> vmware_network_label | simulator_network_label | ovm_network_label | vlan |
> +----+--------------------------------------+---------------------+--------------+----------------------+-------------------+----------------------+-------------------------+-------------------+------+
> |  1 | b3c9d68f-02e8-42cc-9094-bf878d8c2f1c |                 200 | Guest     
>    | asf-guest            | NULL              | NULL                 | NULL   
>                  | NULL              | NULL |
> |  2 | 6836da34-1385-400b-91f8-98fbe69342ac |                 201 | 
> Management   | asf-mgmt-stg-pub-gst | NULL              | NULL                
>  | NULL                    | NULL              | NULL |
> |  3 | bbe77919-5311-49cb-a6fe-3524a50174a2 |                 201 | Public    
>    | asf-mgmt-stg-pub-gst | NULL              | NULL                 | NULL   
>                  | NULL              | NULL |
> |  4 | 0d38c4b8-19c0-420e-87da-8e8113ee4dd1 |                 201 | Guest     
>    | asf-mgmt-stg-pub-gst | asfbr0            | NULL                 | NULL   
>                  | NULL              | NULL |
> |  5 | 7ec292bc-9dc2-4710-ba43-2594e38564f7 |                 201 | Storage   
>    | asf-mgmt-stg-pub-gst | NULL              | NULL                 | NULL   
>                  | NULL              | NULL |
> +----+--------------------------------------+---------------------+--------------+----------------------+-------------------+----------------------+-------------------------+-------------------+------+
> 5 rows in set (0.00 sec)
> ======
> Steps:
> ======
> 1. Click on Infrastructure > Zones > Physical Network 1 > Management
> ==========
> Observations:
> ==========
> On the UI, Used Firebug to capture the API calls made from the UI:
> API:
> http://10.223.58.66:8080/client/api?command=listNetworks&listAll=true&issystem=true&trafficType=Management&zoneId=59e807fa-87f1-469d-b184-a27c72e411e1&response=json&sessionkey=8AXDkiMAXQrV7y7wIxaaxT08ls8%3D&_=1350183076666
> Response:
> { "listnetworksresponse" : { "count":1 ,"network" : [  
> {"id":"3cf6566f-ed35-4f3c-b6ea-8ef1ba0e4aa8","broadcastdomaintype":"Native","traffictype":"Management","zoneid":"59e807fa-87f1-469d-b184-a27c72e411e1","zonename":"ZONE-ASF-UBU-ADV","networkofferingid":"66c71ec0-c709-4e82-93c6-7809d8aac6cc","networkofferingname":"System-Management-Network","networkofferingdisplaytext":"System
>  Offering for 
> System-Management-Network","networkofferingavailability":"Required","issystem":true,"state":"Setup","related":"3cf6566f-ed35-4f3c-b6ea-8ef1ba0e4aa8","account":"system","domainid":"94f0167a-1f43-42e4-bb5a-b576f3dd0f92","domain":"ROOT","service":[],"restartrequired":false,"specifyipranges":false,"canusefordeploy":false,"tags":[]}
>  ] } }
> API:
> http://10.223.58.66:8080/client/api?command=listTrafficTypes&response=json&sessionkey=8AXDkiMAXQrV7y7wIxaaxT08ls8%3D&physicalnetworkid=20b2eec5-e85e-4777-b5dd-42a7ce9e3658&_=1350183076932
> Response:
> { "listtraffictypesresponse" : { "count":4 ,"traffictype" : [  
> {"id":"6836da34-1385-400b-91f8-98fbe69342ac","traffictype":"Management","physicalnetworkid":"20b2eec5-e85e-4777-b5dd-42a7ce9e3658","xennetworklabel":"asf-mgmt-stg-pub-gst"},
>  
> {"id":"bbe77919-5311-49cb-a6fe-3524a50174a2","traffictype":"Public","physicalnetworkid":"20b2eec5-e85e-4777-b5dd-42a7ce9e3658","xennetworklabel":"asf-mgmt-stg-pub-gst"},
>  
> {"id":"0d38c4b8-19c0-420e-87da-8e8113ee4dd1","traffictype":"Guest","physicalnetworkid":"20b2eec5-e85e-4777-b5dd-42a7ce9e3658","xennetworklabel":"asf-mgmt-stg-pub-gst","kvmnetworklabel":"asfbr0"},
>  
> {"id":"7ec292bc-9dc2-4710-ba43-2594e38564f7","traffictype":"Storage","physicalnetworkid":"20b2eec5-e85e-4777-b5dd-42a7ce9e3658","xennetworklabel":"asf-mgmt-stg-pub-gst"}
>  ] } }
> Error:
> TypeError: selectedPublicNetworkObj is undefined
> http://10.223.58.66:8080/client/scripts/system.js?t=1350182660829
> Line 771
> ========
> Build Info:
> ========
> This is the version information for the manifests in the JAR files.
> Implementation_Version:                           2.2.20121012230921

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