cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "shweta agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-5253) list router api not giving correct results with version paramenters
Date Mon, 25 Nov 2013 09:31:38 GMT
shweta agarwal created CLOUDSTACK-5253:
------------------------------------------

             Summary: list router api not giving correct results with version paramenters
                 Key: CLOUDSTACK-5253
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5253
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: API, Upgrade, Virtual Router
    Affects Versions: 4.3.0
            Reporter: shweta agarwal
            Priority: Blocker
             Fix For: 4.3.0


Call list router API with version parameter

Bug: 
Not showing all the virtual routers 

API call :
http://10.147.59.135:8096/client/api?command=listRouters&version=3.0&listAll=true
Response:
listroutersresponse cloud-stack-version="4.3.0-SNAPSHOT"><count>18</count><router></router><router></router><router></router><router></router><router></router><router></router><router></router><router></router><router></router><router></router><router></router><router></router><router></router><router></router><router></router><router></router><router></router><router></router></listroutersresponse>


DB shows total 22 routers
select * from domain_router where template_version="Cloudstack Release 3.0 Mon Feb 6 15:10:04
PST 2012"
"id"	"element_id"	"public_mac_address"	"public_ip_address"	"public_netmask"	"guest_netmask"
"guest_ip_address"	"is_redundant_router"	"priority"	"is_priority_bumpup"	"redundant_state"
"stop_pending"	"role"	"template_version"	"scripts_version"	"vpc_id"
"6"	"1"	"06:bb:aa:00:00:20"	"10.147.51.21"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e"
""
"8"	"3"	"06:a8:64:00:00:21"	"10.147.51.112"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e
"	""
"10"	"1"	"06:d9:e4:00:00:19"	"10.147.51.14"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e"
""
"12"	"3"	"06:33:ee:00:00:2e"	"10.147.51.125"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e
"	""
"13"	"4"	"06:01:22:00:00:16"	"10.147.51.101"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e
"	"1"
"14"	"2"	"06:96:d4:00:00:2f"	"10.147.51.36"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e"
"2"
"18"	"1"	"06:c0:10:00:00:21"	"10.147.51.22"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e"
""
"20"	"3"	"06:3c:66:00:00:1d"	"10.147.51.108"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e
"	""
"22"	"1"	"06:37:da:00:00:1b"	"10.147.51.16"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e"
""
"24"	"3"	"06:05:d6:00:00:1b"	"10.147.51.106"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e
"	""
"25"	"4"	"06:82:fe:00:00:1c"	"10.147.51.107"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e
"	"3"
"26"	"2"	"06:84:46:00:00:1f"	"10.147.51.20"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e"
"4"
"27"	"2"	"06:62:8a:00:00:23"	"10.147.51.24"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e"
"5"
"28"	"4"	"06:ad:42:00:00:20"	"10.147.51.111"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e
"	"6"
"32"	"1"	"06:51:1e:00:00:33"	"10.147.51.40"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e"
""
"34"	"3"	"06:85:9e:00:00:2c"	"10.147.51.123"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e
"	""
"35"	"2"	"06:67:98:00:00:34"	"10.147.51.41"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e"
"7"
"36"	"4"	"06:a3:f4:00:00:2d"	"10.147.51.124"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e
"	"8"
"41"	"1"	"06:b0:5a:00:00:27"	"10.147.51.28"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e"
""
"43"	"3"	"06:f6:be:00:00:1e"	"10.147.51.109"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e
"	""
"45"	"1"	"06:07:90:00:00:28"	"10.147.51.29"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e"
""
"47"	"3"	"06:31:e0:00:00:1f"	"10.147.51.110"	"255.255.255.0"	""	""	"0"	"0"	"0"	"UNKNOWN"	"0"
"VIRTUAL_ROUTER"	"Cloudstack Release 3.0 Mon Feb 6 15:10:04 PST 2012"	"973c0565a2fe991f0903902588d4d52e
"	""





--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message