cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jessica Wang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-5307) Same router is listed twice in router view of project
Date Wed, 08 Oct 2014 20:19:34 GMT

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

Jessica Wang resolved CLOUDSTACK-5307.
--------------------------------------
    Resolution: Fixed

fixed, as in my attached screenshot (in project view).

There is only once listProjects API call sent from UI now.

> Same router is listed twice in router view of project
> -----------------------------------------------------
>
>                 Key: CLOUDSTACK-5307
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5307
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: UI
>    Affects Versions: 4.3.0
>            Reporter: shweta agarwal
>            Assignee: Jessica Wang
>             Fix For: 4.4.0
>
>         Attachments: 2014-10-08-jessica.PNG, tow times router listing.png
>
>
> Repro steps :
> 1. Create a project.
> 2. Create a VM  
> 3. Goto Router or VPC router view either via infrastructure ->router  or via
> infrastructure->zone->physical network - > network service provider -> virtual
router->router or
> infrastructure->zone->physical network - > network service provider -> vpc
virtual router->router
> bug:
> Same router is shown twice 
> API calls:
> http://10.147.40.27:8080/client/api?command=listRouters&listAll=true&page=1&pagesize=20&response=json&sessionkey=Z75KXzYgYh7eR8tFxVNqX%2FUtBVw%3D&projectid=31511e06-9fb3-480a-b0b8-6a502207d062&forvpc=false&_=1385705460290
> Response: 
> { "listroutersresponse" : { "count":1 ,"router" : [  {"id":"8800bb36-e96c-4af5-be5e-2dd5fde71b6a","zoneid":"71c3d210-e0f7-4ea0-80b3-1a3769cdaeb2","zonename":"xen","dns1":"10.140.50.6","networkdomain":"cs5cloud.internal","gateway":"10.147.51.1","name":"r-33-VM","podid":"a294449c-0048-4102-b438-0afc67d9854f","hostid":"713fafd1-b2df-4461-8b9a-db6fa1c6c8bd","hostname":"Rack1Pod1Host24","linklocalip":"169.254.3.173","linklocalmacaddress":"0e:00:a9:fe:03:ad","linklocalnetmask":"255.255.0.0","linklocalnetworkid":"89e82b30-1456-4c5d-8346-761a9bfde0c4","publicip":"10.147.51.90","publicmacaddress":"06:35:34:00:00:79","publicnetmask":"255.255.255.0","publicnetworkid":"c1e501e4-41a3-47a0-8cf3-472895bc68ae","guestipaddress":"10.1.1.1","guestmacaddress":"02:00:19:3f:00:02","guestnetmask":"255.255.255.0","guestnetworkid":"0c5d1cb8-9756-4b04-a551-bc53d7553420","templateid":"5d5b6245-fc06-4d7b-9d26-9656d6a991fe","created":"2013-11-28T11:57:33+0530","state":"Running","projectid":"31511e06-9fb3-480a-b0b8-6a502207d062","project":"shweta","domainid":"1","domain":"ROOT","serviceofferingid":"0852bf4c-3f04-4747-89b2-a37f6828149c","serviceofferingname":"System
Offering For Software Router","isredundantrouter":false,"redundantstate":"UNKNOWN","version":"3.0","role":"VIRTUAL_ROUTER","nic":[{"id":"bf7dbef2-7f7d-41a9-9963-680d8e0551bf","networkid":"0c5d1cb8-9756-4b04-a551-bc53d7553420","networkname":"project","netmask":"255.255.255.0","ipaddress":"10.1.1.1","isolationuri":"vlan://1049","broadcasturi":"vlan://1049","traffictype":"Guest","type":"Isolated","isdefault":false,"macaddress":"02:00:19:3f:00:02"},{"id":"f070d8e4-88be-4f5e-a6e9-2d883fa026d3","networkid":"89e82b30-1456-4c5d-8346-761a9bfde0c4","netmask":"255.255.0.0","gateway":"169.254.0.1","ipaddress":"169.254.3.173","traffictype":"Control","isdefault":false,"macaddress":"0e:00:a9:fe:03:ad"},{"id":"d2110f33-dc7f-49a5-bb35-808ee2ba9251","networkid":"c1e501e4-41a3-47a0-8cf3-472895bc68ae","netmask":"255.255.255.0","gateway":"10.147.51.1","ipaddress":"10.147.51.90","isolationuri":"vlan://51","broadcasturi":"vlan://51","traffictype":"Public","isdefault":true,"macaddress":"06:35:34:00:00:79"}],"requiresupgrade":true}
] } }
> http://10.147.40.27:8080/client/api?command=listRouters&listAll=true&page=1&pagesize=20&projectid=-1&response=json&sessionkey=Z75KXzYgYh7eR8tFxVNqX%2FUtBVw%3D&projectid=31511e06-9fb3-480a-b0b8-6a502207d062&forvpc=false&_=1385705460399
> { "listroutersresponse" : { "count":1 ,"router" : [  {"id":"8800bb36-e96c-4af5-be5e-2dd5fde71b6a","zoneid":"71c3d210-e0f7-4ea0-80b3-1a3769cdaeb2","zonename":"xen","dns1":"10.140.50.6","networkdomain":"cs5cloud.internal","gateway":"10.147.51.1","name":"r-33-VM","podid":"a294449c-0048-4102-b438-0afc67d9854f","hostid":"713fafd1-b2df-4461-8b9a-db6fa1c6c8bd","hostname":"Rack1Pod1Host24","linklocalip":"169.254.3.173","linklocalmacaddress":"0e:00:a9:fe:03:ad","linklocalnetmask":"255.255.0.0","linklocalnetworkid":"89e82b30-1456-4c5d-8346-761a9bfde0c4","publicip":"10.147.51.90","publicmacaddress":"06:35:34:00:00:79","publicnetmask":"255.255.255.0","publicnetworkid":"c1e501e4-41a3-47a0-8cf3-472895bc68ae","guestipaddress":"10.1.1.1","guestmacaddress":"02:00:19:3f:00:02","guestnetmask":"255.255.255.0","guestnetworkid":"0c5d1cb8-9756-4b04-a551-bc53d7553420","templateid":"5d5b6245-fc06-4d7b-9d26-9656d6a991fe","created":"2013-11-28T11:57:33+0530","state":"Running","projectid":"31511e06-9fb3-480a-b0b8-6a502207d062","project":"shweta","domainid":"1","domain":"ROOT","serviceofferingid":"0852bf4c-3f04-4747-89b2-a37f6828149c","serviceofferingname":"System
Offering For Software Router","isredundantrouter":false,"redundantstate":"UNKNOWN","version":"3.0","role":"VIRTUAL_ROUTER","nic":[{"id":"bf7dbef2-7f7d-41a9-9963-680d8e0551bf","networkid":"0c5d1cb8-9756-4b04-a551-bc53d7553420","networkname":"project","netmask":"255.255.255.0","ipaddress":"10.1.1.1","isolationuri":"vlan://1049","broadcasturi":"vlan://1049","traffictype":"Guest","type":"Isolated","isdefault":false,"macaddress":"02:00:19:3f:00:02"},{"id":"f070d8e4-88be-4f5e-a6e9-2d883fa026d3","networkid":"89e82b30-1456-4c5d-8346-761a9bfde0c4","netmask":"255.255.0.0","gateway":"169.254.0.1","ipaddress":"169.254.3.173","traffictype":"Control","isdefault":false,"macaddress":"0e:00:a9:fe:03:ad"},{"id":"d2110f33-dc7f-49a5-bb35-808ee2ba9251","networkid":"c1e501e4-41a3-47a0-8cf3-472895bc68ae","netmask":"255.255.255.0","gateway":"10.147.51.1","ipaddress":"10.147.51.90","isolationuri":"vlan://51","broadcasturi":"vlan://51","traffictype":"Public","isdefault":true,"macaddress":"06:35:34:00:00:79"}],"requiresupgrade":true}
] } }
> Because there are two call , and each response returns same router hence two routers
are listed here. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message