You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Senthilnathan Murugappan (JIRA)" <ji...@apache.org> on 2014/01/15 19:59:21 UTC

[jira] [Created] (CLOUDSTACK-5876) After vrouter restart agent doesnt have info about the Network

Senthilnathan Murugappan created CLOUDSTACK-5876:
----------------------------------------------------

             Summary: After vrouter restart agent doesnt have info about the Network
                 Key: CLOUDSTACK-5876
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5876
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Contrail
    Affects Versions: 4.3.0
            Reporter: Senthilnathan Murugappan


Before vRouter restart
[root@cloudcontrol ~]# curl -X POST http://10.84.24.58:8085/Snh_VnListReq?name=
<?xml-stylesheet type="text/xsl" href="universal_parse.xsl"?><VnListResp type="sandesh"><vn_list type="list" identifier="1"><list type="struct" size="1"><VnSandeshData><name type="string" identifier="1">default-domain:default-project:myvn</name><uuid type="string" identifier="2">3baedfc0-1a02-49dc-b755-88e00c264e97</uuid><acl_uuid type="string" identifier="3" link="AclReq"></acl_uuid><mirror_acl_uuid type="string" identifier="4" link="AclReq"></mirror_acl_uuid><mirror_cfg_acl_uuid type="string" identifier="5" link="AclReq"></mirror_cfg_acl_uuid><vrf_name type="string" identifier="6" link="VrfListReq">default-domain:default-project:myvn:myvn</vrf_name><ipam_data type="list" identifier="7"><list type="struct" size="1"><VnIpamData><ip_prefix type="string" identifier="1">10.2.2.0</ip_prefix><prefix_len type="i32" identifier="2">24</prefix_len><gateway type="string" identifier="3">10.2.2.254</gateway><ipam_name type="string" identifier="4">default-domain:default-project:default-network-ipam</ipam_name></VnIpamData></list></ipam_data><ipam_host_routes type="list" identifier="8"><list type="struct" size="1"><VnIpamHostRoutes><ipam_name type="string" identifier="1">default-domain:default-project:default-network-ipam</ipam_name><host_routes type="list" identifier="2"><list type="string" size="0"></list></host_routes></VnIpamHostRoutes></list></ipam_host_routes><layer2_forwarding type="bool" identifier="9">true</layer2_forwarding><ipv4_forwarding type="bool" identifier="10">true</ipv4_forwarding></VnSandeshData></list></vn_list><more type="bool" identifier="0">false</more></VnListResp>[root@cloudcontrol ~]# 
[root@cloudcontrol ~]# cloudmonkey list networks
count = 1
network:
id = 3baedfc0-1a02-49dc-b755-88e00c264e97
name = myvn
account = admin
acltype = Account
broadcastdomaintype = Lswitch
canusefordeploy = True
cidr = 10.2.2.0/24
displaynetwork = True
displaytext = myvn
domain = ROOT
domainid = 99580468-5c6f-11e3-b3d5-0270da5861be
gateway = 10.2.2.254
ispersistent = True
issystem = False
netmask = 255.255.255.0
networkofferingavailability = Optional
networkofferingconservemode = False
networkofferingdisplaytext = Juniper Contrail Network Offering
networkofferingid = d1cc8adc-275a-44fe-9f3b-c52e8fdd288a
networkofferingname = Juniper Contrail Network Offering
physicalnetworkid = feb0abf2-37ff-4468-bb45-365baf42327b
related = 3baedfc0-1a02-49dc-b755-88e00c264e97
restartrequired = False
service:
name = Dhcp
capability:
================================================================================
name = SourceNat
================================================================================
name = NetworkACL
================================================================================
name = StaticNat
================================================================================
name = Connectivity
================================================================================
specifyipranges = False
state = Implemented
tags:
traffictype = Guest
type = Isolated
zoneid = 322ef348-fcad-457b-a869-162f93432a6f
zonename = default


After VRouter Restart:

[root@cloudcontrol ~]# 
[root@cloudcontrol ~]# curl -X POST http://10.84.24.58:8085/Snh_VnListReq?name=
<?xml-stylesheet type="text/xsl" href="universal_parse.xsl"?><VnListResp type="sandesh"><vn_list type="list" identifier="1"><list type="struct" size="0"></list></vn_list><more type="bool" identifier="0">false</more></VnListR
esp>

[root@cloudcontrol ~]# cloudmonkey list networks
count = 1
network:
id = 3baedfc0-1a02-49dc-b755-88e00c264e97
name = myvn
account = admin
acltype = Account
broadcastdomaintype = Lswitch
canusefordeploy = True
cidr = 10.2.2.0/24
displaynetwork = True
displaytext = myvn
domain = ROOT
domainid = 99580468-5c6f-11e3-b3d5-0270da5861be
gateway = 10.2.2.254
ispersistent = True
issystem = False
netmask = 255.255.255.0
networkofferingavailability = Optional
networkofferingconservemode = False
networkofferingdisplaytext = Juniper Contrail Network Offering
networkofferingid = d1cc8adc-275a-44fe-9f3b-c52e8fdd288a
networkofferingname = Juniper Contrail Network Offering
physicalnetworkid = feb0abf2-37ff-4468-bb45-365baf42327b
related = 3baedfc0-1a02-49dc-b755-88e00c264e97
restartrequired = False
service:
name = Dhcp
capability:
================================================================================
name = SourceNat
================================================================================
name = NetworkACL
================================================================================
name = StaticNat
================================================================================
name = Connectivity
================================================================================
specifyipranges = False
state = Implemented
tags:
traffictype = Guest
type = Isolated
zoneid = 322ef348-fcad-457b-a869-162f93432a6f
zonename = default

[root@cloudcontrol ~]#



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)