<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><base href="x-msg://135/"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Monaco;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>I have added all the configurations mentioned below in the mail but getting the same error while executing the command “ipsec-site-connection-create”.[</span><span style='color:black'> </span><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:red'>Request Failed: internal server error while processing your request</span></b><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>.</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>]<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Along with the error, there are few logs seen in </span><b><span style='font-size:14.0pt;font-family:"Calibri","sans-serif";color:black'>vpn_agent.log </span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>as shown below:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2014-01-14 20:13:17    ERROR [quantum.agent.l3_agent] Failed synchronizing routers : _sync_routers_task<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Traceback (most recent call last):<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line 694, in _sync_routers_task<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>    self._process_routers(routers, all_routers=True)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  File "/usr/lib/python2.7/dist-packages/quantum/services/vpn/agent.py", line 148, in _process_routers<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>    super(VPNAgent, self)._process_routers(routers, all_routers)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line 667, in _process_routers<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>    self._router_added(r['id'], r)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  File "/usr/lib/python2.7/dist-packages/quantum/services/vpn/agent.py", line 128, in _router_added<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>    super(VPNAgent, self)._router_added(router_id, router)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line 268, in _router_added<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>    self._create_router_namespace(ri)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line 246, in _create_router_namespace<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>    ip_wrapper.netns.execute(['sysctl', '-w', 'net.ipv4.ip_forward=1'])<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/ip_lib.py", line 417, in execute<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>    check_exit_code=check_exit_code)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>  File "/usr/lib/python2.7/dist-packages/quantum/agent/linux/utils.py", line 81, in execute<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>    raise RuntimeError(m)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>RuntimeError:<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-00aadec6-d405-4ee6-8cd2-16a5d79d682c', 'sysctl', '-w', 'net.ipv4.ip_forward=1']<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Exit code: 1<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Stdout: ''<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Stderr: 'seting the network namespace failed: Invalid argument\n'<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>And executing the command “<b>quantum –v ipsec-site-connection-create --name ipsec_pqr --vpnservice-id vpnservice_pqr --ikepolicy-id ike_pqr --ipsecpolicy-id ipsec_pqr --peer-address 7.7.0.3 --peer-id 7.7.0.3 --peer-cidr 3.3.0.0/24 --psk secret</b>” gives the following error:<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>DEBUG: quantumclient.client RESP:{'date': 'Tue, 14 Jan 2014 12:29:21 GMT', </span><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:red'>'status': '500'</span></b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>, 'content-length': '88', 'content-type': 'application/json; charset=UTF-8'} {"QuantumError": "Request Failed: internal server error while processing your request."}<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>INFO: quantumclient.client leaving HTTPClient._cs_request<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>DEBUG: quantumclient.v2_0.client Error message: {"QuantumError": "Request Failed: internal server error while processing your request."}<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>ERROR: quantumclient.shell Request Failed: internal server error while processing your request.<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>DEBUG: quantumclient.shell clean_up CreateIPsecSiteConnection<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>DEBUG: quantumclient.shell got an error: Request Failed: internal server error while processing your request.<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>INFO: quantumclient.shell Leaving run_subcommand result 1<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>POST method is being called and then throws this Error:<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Inside CreateCommand::get_data(resource : ipsec_site_connection)<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Inside CreateCommand::get_data(body : {'ipsec_site_connection': {'psk': 'secret', 'peer_cidrs': ['3.3.0.0/24'], 'ikepolicy_id': u'beb12aae-e982-4186-848e-14f2a7647a90', 'vpnservice_id': u'1ad5bef8-3a57-4be1-9fa1-2a9a4e332e9b', 'peer_address': '7.7.0.3', 'initiator': 'bi-directional', 'name': 'ipsec_pqr', 'admin_state_up': True, 'mtu': '1500', 'ipsecpolicy_id': u'ba7c7456-34c1-4ee7-a9b7-9249d3a4523c', 'peer_id': '7.7.0.3'}})<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>obj_creator : <function with_params at 0x1b58398><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Inside quantumclient/v2_0/client create_ipsec_site_connection<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>body : {'ipsec_site_connection': {'psk': 'secret', 'peer_cidrs': ['3.3.0.0/24'], 'ikepolicy_id': u'beb12aae-e982-4186-848e-14f2a7647a90', 'vpnservice_id': u'1ad5bef8-3a57-4be1-9fa1-2a9a4e332e9b', 'peer_address': '7.7.0.3', 'initiator': 'bi-directional', 'name': 'ipsec_pqr', 'admin_state_up': True, 'mtu': '1500', 'ipsecpolicy_id': u'ba7c7456-34c1-4ee7-a9b7-9249d3a4523c', 'peer_id': '7.7.0.3'}}<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Inside POST<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Inside <b>POST : action -> /vpn/ipsec-site-connections</b><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Inside do_request method info<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Inside <b>HTTPClient.do_request, url -> /v2.0/vpn/ipsec-site-connections.json</b><o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Inside HTTPClient.do_request, method -> POST<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Inside HTTPClient._cs_request<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>leaving HTTPClient._cs_request<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:red'>Request Failed: internal server error while processing your request.<o:p></o:p></span></b></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Leaving run_subcommand result 1<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Could this be a server issue? <o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Thanks,<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Ashwini<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Paul Michali [mailto:pcm@cisco.com] <br><b>Sent:</b> Friday, January 10, 2014 5:40 PM<br><b>To:</b> OpenStack Development Mailing List (not for usage questions)<br><b>Subject:</b> Re: [openstack-dev] Implementing VPNaas in Openstack Grizzly release<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Though I mostly use DevStack for debugging, I would think that the same logging information (from q-svc showing service driver side, and from q-vpn showing the device driver side) should be available - probably in the system log. I think you can specify this (and to turn on debug logging) via neutron.conf (DevStack does this for you automatically). Here's the stuff in neutron.conf:<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal>[DEFAULT]<o:p></o:p></p></div><div><p class=MsoNormal>auth_strategy = keystone<o:p></o:p></p></div><div><p class=MsoNormal>allow_overlapping_ips = True<o:p></o:p></p></div><div><p class=MsoNormal>policy_file = /etc/neutron/policy.json<o:p></o:p></p></div><div><p class=MsoNormal><b>debug = True</b><o:p></o:p></p></div><div><p class=MsoNormal><b>verbose = True</b><o:p></o:p></p></div><div><p class=MsoNormal>service_plugins = neutron.services.vpn.plugin.VPNDriverPlugin<o:p></o:p></p></div><div><p class=MsoNormal>…<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>One thing to check. Do you have the service driver configured in neutron.conf?  If not, then it won't be loaded and it won't respond to the RPC requests from the device driver. Here's the bits:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal>[service_providers]<o:p></o:p></p></div><div><p class=MsoNormal># Specify service providers (drivers) for advanced services like loadbalancer, VPN, Firewall.<o:p></o:p></p></div><div><p class=MsoNormal># Must be in form:<o:p></o:p></p></div><div><p class=MsoNormal># service_provider=<service_type>:<name>:<driver>[:default]<o:p></o:p></p></div><div><p class=MsoNormal># List of allowed service type include LOADBALANCER, FIREWALL, VPN<o:p></o:p></p></div><div><p class=MsoNormal># Combination of <service type> and <name> must be unique; <driver> must also be unique<o:p></o:p></p></div><div><p class=MsoNormal># this is multiline option, example for default provider:<o:p></o:p></p></div><div><p class=MsoNormal># service_provider=LOADBALANCER:name:lbaas_plugin_driver_path:default<o:p></o:p></p></div><div><p class=MsoNormal># example of non-default provider:<o:p></o:p></p></div><div><p class=MsoNormal># service_provider=FIREWALL:name2:firewall_driver_path<o:p></o:p></p></div><div><p class=MsoNormal># --- Reference implementations ---<o:p></o:p></p></div><div><p class=MsoNormal>service_provider=LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default<o:p></o:p></p></div><div><p class=MsoNormal><b>service_provider=VPN:openswan:neutron.services.vpn.service_drivers.ipsec.IPsecVPNDriver:default</b><o:p></o:p></p></div></div><div><p class=MsoNormal>…<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>HTHs,<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal>PCM (Paul Michali)<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>MAIL          <a href="mailto:pcm@cisco.com">pcm@cisco.com</a><o:p></o:p></p></div><div><p class=MsoNormal>IRC            pcm_  (<a href="http://irc.freenode.net">irc.freenode.net</a>)<o:p></o:p></p></div><div><p class=MsoNormal>TW            @pmichali<o:p></o:p></p></div><div><p class=MsoNormal>GPG key    4525ECC253E31A83<o:p></o:p></p></div><div><p class=MsoNormal>Fingerprint 307A 96BB 1A4C D2C7 931D 8D2D 4525 ECC2 53E3 1A83<o:p></o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Jan 10, 2014, at 5:14 AM, Ashwini Babureddy <<a href="mailto:AB0078468@TechMahindra.com">AB0078468@TechMahindra.com</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal><br><br><o:p></o:p></p><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Along with the attached outlook item. Here are the following updates:</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>With the help of few logs written manually, it is seen that RPC call is waiting on “</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>IPSEC_DRIVER_TOPIC = ipsec_driver<span style='color:#1F497D'>” :</span></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>                2014-01-10 23:35:15     INFO [quantum.openstack.common.rpc.proxy] Inside proxy.RpcProxy : msg [{'args': {'host': 'ubuntu'}, 'method': 'get_vpn_services_on_host'}], topic [ipsec_driver]</span><o:p></o:p></p></div><div><p class=MsoNormal style='text-indent:.5in'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2014-01-10 23:35:15     INFO [quantum.openstack.common.rpc.amqp] Making synchronous call on<span class=apple-converted-space> </span></span><b><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>ipsec_driver</span></b><span class=apple-converted-space><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>...</span><o:p></o:p></p></div><div><p class=MsoNormal style='text-indent:.5in'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2014-01-10 23:35:15     INFO [quantum.openstack.common.rpc.amqp] MSG_ID is df6c8e6ff7ca48cca239a84959a61fb7</span><o:p></o:p></p></div><div><p class=MsoNormal style='text-indent:.5in'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2014-01-10 23:35:15     INFO [quantum.openstack.common.rpc.amqp] Inside if not case</span><o:p></o:p></p></div><div><p class=MsoNormal style='text-indent:.5in'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2014-01-10 23:36:15    ERROR [quantum.agent.l3_agent] Failed synchronizing routers : _sync_routers_task</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>And queues created :</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>root@ubuntu:/var/log/quantum# rabbitmqctl list_queues | more</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Listing queues ...</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>consoleauth_fanout_36b3f71c6ea64616a69c0b2e2ed3d7c0     0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>l3_agent_fanout_e398e651d8d44303a4826fd2a3faedf4        0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>cert_fanout_c04d42ce4ab249f4b050241bbe79caa3    0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>q-agent-notifier-tunnel-update_fanout_5f77bce1a09348b0b6927553d0646bc6  0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>l3_agent.ubuntu 0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>consoleauth.ubuntu      0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>cinder-scheduler        0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>conductor_fanout_7c10c5e7371340d18af3588dccbc76b3       0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>notifications.info      11</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>cinder-scheduler.ubuntu 0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>cinder-scheduler_fanout_5d4e9f0e60c4413fabec3ecf9fce164f        0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>q-agent-notifier-port-update_fanout_6043fca215d54263b74c058f33e29a74    0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>q-agent-notifier-network-delete_fanout_12e2c4b4670c4455b4192413e8990166 0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>conductor.ubuntu        0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>dhcp_agent.ubuntu       0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>cert.ubuntu     0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>ipsec_agent.ubuntu<span style='color:#1F497D'>      0</span></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>q-plugin        0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>dhcp_agent      0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>compute 0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>scheduler       0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>q-agent-notifier-security_group-update_fanout_794f378ea54a495d938fa347f99a6c8d  0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>scheduler_fanout_2fc00a8c896a46ecac6f57df6abc8f70       0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>l3_agent_fanout_fce1b317fff94b5aaba36dad6a0a9575        0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>compute_fanout_ee1f3d0427244a35891c7cf707da1542 0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>cert    0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>conductor       0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>compute.ubuntu  0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>5ef01edd61d64f19937d4544b341b0e9        0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>scheduler.ubuntu        0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>dhcp_agent_fanout_5bd979a41d9a48aaa2f6639bcc079389      0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>l3_agent        0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>consoleauth     0</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>...done.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks,</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ashwini</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><div><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span class=apple-converted-space><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> </span></span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Paul Michali [mailto:pcm@<a href="http://cisco.com"><span style='color:purple'>cisco.com</span></a>]<span class=apple-converted-space> </span><br><b>Sent:</b><span class=apple-converted-space> </span>Thursday, January 09, 2014 6:01 PM<br><b>To:</b><span class=apple-converted-space> </span>OpenStack Development Mailing List (not for usage questions)<br><b>Subject:</b><span class=apple-converted-space> </span>Re: [openstack-dev] Implementing VPNaas in Openstack Grizzly release</span><o:p></o:p></p></div></div></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>Just some ideas to look into…<o:p></o:p></p></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>You could look at the q-vpn process log. With devstack, there is a screen-q-vpn.log that might give more info on the failure.<o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>The commands that are working, are ones that strictly deal with the database. The IPSec site connection command is the first one that actually does messaging from the service driver to the device driver.  Once at the device driver, it will do an RPC back to the service driver to get the all the information on the services/connections on that host.<o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>Maybe some things are to check that the IPSEC_AGENT_TOPIC is defined (<span style='font-size:8.5pt;font-family:"Monaco","serif"'>IPSEC_AGENT_TOPIC =<span class=apple-converted-space> </span><span style='color:#00B400'>'ipsec_agent')</span></span>, and that the code is there in the service driver (service_dirvers/ipsec.py) to handle the callback (<span style='font-size:8.5pt;font-family:"Monaco","serif"'>IPsecVpnDriverCallBack get_vpn_services_on_host</span>). This will call the plugin (<span style='font-size:8.5pt;font-family:"Monaco","serif"'>VPNPluginRpcDbMixin _get_agent_hosting_vpn_services).</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>It seems like the RPC from the device driver back to the service driver is timing out, so making sure they are all set up OK, would be useful.<o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>HTHs,<o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><div><div><p class=MsoNormal>PCM (Paul Michali)<o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>MAIL          <a href="mailto:pcm@cisco.com"><span style='color:purple'>pcm@cisco.com</span></a><o:p></o:p></p></div></div><div><div><p class=MsoNormal>IRC            pcm_  (<a href="http://irc.freenode.net"><span style='color:purple'>irc.freenode.net</span></a>)<o:p></o:p></p></div></div><div><div><p class=MsoNormal>TW            @pmichali<o:p></o:p></p></div></div><div><div><p class=MsoNormal>GPG key    4525ECC253E31A83<o:p></o:p></p></div></div><div><div><p class=MsoNormal>Fingerprint 307A 96BB 1A4C D2C7 931D 8D2D 4525 ECC2 53E3 1A83<o:p></o:p></p></div></div></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><div><div><p class=MsoNormal>On Jan 9, 2014, at 5:12 AM, Ashwini Babureddy <<a href="mailto:AB0078468@TechMahindra.com"><span style='color:purple'>AB0078468@TechMahindra.com</span></a>> wrote:<o:p></o:p></p></div></div><div><p class=MsoNormal><br><br><br><o:p></o:p></p></div><div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Hi,</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>I am trying to implement VPNaas in openstack grizzly release 2013.1 by taking Havana release as a reference. This is basically a single node set up by following the below link :</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><a href="https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/master/OpenStack_Grizzly_Install_Guide.rst"><span style='color:purple'>https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/master/OpenStack_Grizzly_Install_Guide.rst</span></a></span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Currently all the vpn related files from Havana moved to Grizzly as follows:</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/quantum/services/vpn/*</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/quantum/db/vpn/*</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/quantum/extensions/vpnaas.py</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/etc/quantum/vpn_agent.ini</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/etc/quantum/quantum.conf -> service_plugins = quantum.services.vpn.plugin.VPNPlugin</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/quantumclient/quantum/v2_0/vpn/*</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Installed Openswan</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Made changes in /quantumclient/shell.py</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/usr/bin/quantum-vpn-agent</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/etc/init.d/quantum-plugin-vpn-agent</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/etc/init/quantum-plugin-vpn-agent.conf</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><b><u><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Current status:</span></u></b><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Commands running successfully</span><o:p></o:p></p></div></div><div style='margin-left:1.0in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:"Courier New"'>o</span><span style='font-size:7.0pt'>  <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Vpn-ikepolicy-create/list/delete</span><o:p></o:p></p></div></div><div style='margin-left:1.0in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:"Courier New"'>o</span><span style='font-size:7.0pt'>  <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Vpn-ipsecpolicy-create/list/delete</span><o:p></o:p></p></div></div><div style='margin-left:1.0in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:"Courier New"'>o</span><span style='font-size:7.0pt'>  <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Vpn-service-create/list/delete</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Ipsec-site-connection-create command is failing with an HTTP Error. [Request Failed: internal server error while processing your request.]</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/var/log/quantum/vpn-agent.log has logs as follows:</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>2014-01-09 23:32:30    ERROR [quantum.agent.l3_agent] Failed synchronizing routers : _sync_routers_task</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>Traceback (most recent call last):</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line 694, in _sync_routers_task</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    self._process_routers(routers, all_routers=True)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/services/vpn/agent.py", line 150, in _process_routers</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    device.sync(self.context, routers)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/lockutils.py", line 242, in inner</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    retval = f(*args, **kwargs)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/services/vpn/device_drivers/ipsec.py", line 652, in sync</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    context, self.host)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/services/vpn/device_drivers/ipsec.py", line 453, in get_vpn_services_on_host</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    topic=self.topic)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/proxy.py", line 80, in call</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    return rpc.call(context, self._get_topic(topic), msg, timeout)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/__init__.py", line 140, in call</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    return _get_impl().call(CONF, context, topic, msg, timeout)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/impl_kombu.py", line 798, in call</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    rpc_amqp.get_connection_pool(conf, Connection))</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/amqp.py", line 613, in call</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    rv = list(rv)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/amqp.py", line 555, in __iter__</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    self.done()</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    self.gen.next()</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/amqp.py", line 552, in __iter__</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    self._iterator.next()</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/impl_kombu.py", line 648, in iterconsume</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    yield self.ensure(_error_callback, _consume)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/impl_kombu.py", line 566, in ensure</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    error_callback(e)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/impl_kombu.py", line 629, in _error_callback</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    raise rpc_common.Timeout()</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>Timeout: Timeout while waiting on RPC response.</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>2014-01-09 23:32:30  WARNING [quantum.openstack.common.loopingcall] task run outlasted interval by 21.531911 sec</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Can anyone please help on this issue. Could this issue be due to an incomplete quantum-plugin-vpn-agent [as we have no such standard package].</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>What else can be done further to make this work?</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Thanks,</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Ashwini</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div></div><div><div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'> </span><o:p></o:p></p></div></div><div class=MsoNormal align=center style='text-align:center'><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><hr size=2 width="100%" align=center></span></div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>============================================================================================================================<br>Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at<span class=apple-converted-space> </span><a href="http://www.techmahindra.com/Disclaimer.html"><span style='color:purple'>http://www.techmahindra.com/Disclaimer.html</span></a><span class=apple-converted-space> </span>externally<span class=apple-converted-space> </span><a href="http://tim.techmahindra.com/tim/disclaimer.html"><span style='color:purple'>http://tim.techmahindra.com/tim/disclaimer.html</span></a><span class=apple-converted-space> </span>internally within TechMahindra.<br>============================================================================================================================</span><o:p></o:p></p></div><div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'> </span><o:p></o:p></p></div></div></div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>_______________________________________________<br>OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org"><span style='color:purple'>OpenStack-dev@lists.openstack.org</span></a><br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><span style='color:purple'>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</span></a></span><o:p></o:p></p></div></div></div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><o:p> </o:p></span></p></div><div class=MsoNormal align=center style='text-align:center'><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><hr size=2 width="100%" align=center></span></div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>============================================================================================================================<br>Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at<span class=apple-converted-space> </span><a href="http://www.techmahindra.com/Disclaimer.html"><span style='color:purple'>http://www.techmahindra.com/Disclaimer.html</span></a><span class=apple-converted-space> </span>externally<span class=apple-converted-space> </span><a href="http://tim.techmahindra.com/tim/disclaimer.html"><span style='color:purple'>http://tim.techmahindra.com/tim/disclaimer.html</span></a><span class=apple-converted-space> </span>internally within TechMahindra.<br>============================================================================================================================<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><o:p> </o:p></span></p></div></div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><o:p> </o:p></span></p><div><p class=MsoNormal><b><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:#7F7F7F'>From:<span class=apple-converted-space> </span></span></b><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>Ashwini Babureddy <<a href="mailto:AB0078468@TechMahindra.com"><span style='color:purple'>AB0078468@TechMahindra.com</span></a>><o:p></o:p></span></p></div><div><p class=MsoNormal><b><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:#7F7F7F'>Subject:<span class=apple-converted-space> </span></span></b><b><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>RE: [openstack-dev] Implementing VPNaas in Openstack Grizzly release</span></b><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><o:p></o:p></span></p></div><div><p class=MsoNormal><b><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:#7F7F7F'>Date:<span class=apple-converted-space> </span></span></b><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>January 10, 2014 2:31:03 AM EST<o:p></o:p></span></p></div><div><p class=MsoNormal><b><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif";color:#7F7F7F'>To:<span class=apple-converted-space> </span></span></b><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org"><span style='color:purple'>openstack-dev@lists.openstack.org</span></a>><o:p></o:p></span></p></div><p class=MsoNormal style='margin-bottom:13.5pt'><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi Paul,</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks for the info provided.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>There is<span class=apple-converted-space> </span></span>IPSEC_AGENT_TOPIC<span class=apple-converted-space> </span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>defined and that is imported in service_driver/ipsec.py. Code is present.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>As I have not installed Openstack Grizzly set up using devstack, I do not have access to q-vpn process log.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>So if the RPC is timing out waiting for the response back from device_driver to service_driver, does this mean that the callback (</span><span style='font-size:8.5pt;font-family:"Monaco","serif"'>IPsecVpnDriverCallBack get_vpn_services_on_host</span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>) is having an issue.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Currently I am debugging this issue using /var/log/quantum/* logs.</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Are there any other debugging tools that I can use in this scenario? Could Eclipse using PyDev be another option for debugging this issue?</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks,</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ashwini</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p></div><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><div><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span class=apple-converted-space><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> </span></span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Paul Michali [mailto:pcm@<a href="http://cisco.com">cisco.com</a>]<span class=apple-converted-space> </span><br><b>Sent:</b><span class=apple-converted-space> </span>Thursday, January 09, 2014 6:01 PM<br><b>To:</b><span class=apple-converted-space> </span>OpenStack Development Mailing List (not for usage questions)<br><b>Subject:</b><span class=apple-converted-space> </span>Re: [openstack-dev] Implementing VPNaas in Openstack Grizzly release</span><o:p></o:p></p></div></div></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><p class=MsoNormal>Just some ideas to look into…<o:p></o:p></p></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>You could look at the q-vpn process log. With devstack, there is a screen-q-vpn.log that might give more info on the failure.<o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>The commands that are working, are ones that strictly deal with the database. The IPSec site connection command is the first one that actually does messaging from the service driver to the device driver.  Once at the device driver, it will do an RPC back to the service driver to get the all the information on the services/connections on that host.<o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>Maybe some things are to check that the IPSEC_AGENT_TOPIC is defined (<span style='font-size:8.5pt;font-family:"Monaco","serif"'>IPSEC_AGENT_TOPIC =<span class=apple-converted-space> </span><span style='color:#00B400'>'ipsec_agent')</span></span>, and that the code is there in the service driver (service_dirvers/ipsec.py) to handle the callback (<span style='font-size:8.5pt;font-family:"Monaco","serif"'>IPsecVpnDriverCallBack get_vpn_services_on_host</span>). This will call the plugin (<span style='font-size:8.5pt;font-family:"Monaco","serif"'>VPNPluginRpcDbMixin _get_agent_hosting_vpn_services).</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>It seems like the RPC from the device driver back to the service driver is timing out, so making sure they are all set up OK, would be useful.<o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>HTHs,<o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><div><div><p class=MsoNormal>PCM (Paul Michali)<o:p></o:p></p></div></div><div><div><p class=MsoNormal> <o:p></o:p></p></div></div><div><div><p class=MsoNormal>MAIL          <a href="mailto:pcm@cisco.com"><span style='color:purple'>pcm@cisco.com</span></a><o:p></o:p></p></div></div><div><div><p class=MsoNormal>IRC            pcm_  (<a href="http://irc.freenode.net"><span style='color:purple'>irc.freenode.net</span></a>)<o:p></o:p></p></div></div><div><div><p class=MsoNormal>TW            @pmichali<o:p></o:p></p></div></div><div><div><p class=MsoNormal>GPG key    4525ECC253E31A83<o:p></o:p></p></div></div><div><div><p class=MsoNormal>Fingerprint 307A 96BB 1A4C D2C7 931D 8D2D 4525 ECC2 53E3 1A83<o:p></o:p></p></div></div></div><div><p class=MsoNormal> <o:p></o:p></p></div><div><div><div><p class=MsoNormal>On Jan 9, 2014, at 5:12 AM, Ashwini Babureddy <<a href="mailto:AB0078468@TechMahindra.com"><span style='color:purple'>AB0078468@TechMahindra.com</span></a>> wrote:<o:p></o:p></p></div></div><div><p class=MsoNormal><br><br><br><o:p></o:p></p></div><div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Hi,</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>I am trying to implement VPNaas in openstack grizzly release 2013.1 by taking Havana release as a reference. This is basically a single node set up by following the below link :</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><a href="https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/master/OpenStack_Grizzly_Install_Guide.rst"><span style='color:purple'>https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/master/OpenStack_Grizzly_Install_Guide.rst</span></a></span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Currently all the vpn related files from Havana moved to Grizzly as follows:</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/quantum/services/vpn/*</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/quantum/db/vpn/*</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/quantum/extensions/vpnaas.py</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/etc/quantum/vpn_agent.ini</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/etc/quantum/quantum.conf -> service_plugins = quantum.services.vpn.plugin.VPNPlugin</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/quantumclient/quantum/v2_0/vpn/*</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Installed Openswan</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Made changes in /quantumclient/shell.py</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/usr/bin/quantum-vpn-agent</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/etc/init.d/quantum-plugin-vpn-agent</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/etc/init/quantum-plugin-vpn-agent.conf</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><b><u><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Current status:</span></u></b><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Commands running successfully</span><o:p></o:p></p></div></div><div style='margin-left:1.0in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:"Courier New"'>o</span><span style='font-size:7.0pt'>  <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Vpn-ikepolicy-create/list/delete</span><o:p></o:p></p></div></div><div style='margin-left:1.0in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:"Courier New"'>o</span><span style='font-size:7.0pt'>  <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Vpn-ipsecpolicy-create/list/delete</span><o:p></o:p></p></div></div><div style='margin-left:1.0in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:"Courier New"'>o</span><span style='font-size:7.0pt'>  <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Vpn-service-create/list/delete</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Ipsec-site-connection-create command is failing with an HTTP Error. [Request Failed: internal server error while processing your request.]</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal style='text-indent:-.25in'><span style='font-size:11.0pt;font-family:Symbol'>·</span><span style='font-size:7.0pt'>        <span class=apple-converted-space> </span></span><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>/var/log/quantum/vpn-agent.log has logs as follows:</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>2014-01-09 23:32:30    ERROR [quantum.agent.l3_agent] Failed synchronizing routers : _sync_routers_task</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>Traceback (most recent call last):</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/agent/l3_agent.py", line 694, in _sync_routers_task</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    self._process_routers(routers, all_routers=True)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/services/vpn/agent.py", line 150, in _process_routers</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    device.sync(self.context, routers)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/lockutils.py", line 242, in inner</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    retval = f(*args, **kwargs)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/services/vpn/device_drivers/ipsec.py", line 652, in sync</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    context, self.host)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/services/vpn/device_drivers/ipsec.py", line 453, in get_vpn_services_on_host</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    topic=self.topic)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/proxy.py", line 80, in call</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    return rpc.call(context, self._get_topic(topic), msg, timeout)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/__init__.py", line 140, in call</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    return _get_impl().call(CONF, context, topic, msg, timeout)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/impl_kombu.py", line 798, in call</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    rpc_amqp.get_connection_pool(conf, Connection))</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/amqp.py", line 613, in call</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    rv = list(rv)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/amqp.py", line 555, in __iter__</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    self.done()</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    self.gen.next()</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/amqp.py", line 552, in __iter__</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    self._iterator.next()</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/impl_kombu.py", line 648, in iterconsume</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    yield self.ensure(_error_callback, _consume)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/impl_kombu.py", line 566, in ensure</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    error_callback(e)</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>  File "/usr/lib/python2.7/dist-packages/quantum/openstack/common/rpc/impl_kombu.py", line 629, in _error_callback</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>    raise rpc_common.Timeout()</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>Timeout: Timeout while waiting on RPC response.</span><o:p></o:p></p></div></div><div style='margin-left:.5in'><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#31859C'>2014-01-09 23:32:30  WARNING [quantum.openstack.common.loopingcall] task run outlasted interval by 21.531911 sec</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Can anyone please help on this issue. Could this issue be due to an incomplete quantum-plugin-vpn-agent [as we have no such standard package].</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>What else can be done further to make this work?</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Thanks,</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Ashwini</span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div></div><div><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'> </span><o:p></o:p></p></div></div><div><div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'> </span><o:p></o:p></p></div></div><div class=MsoNormal align=center style='text-align:center'><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><hr size=2 width="100%" align=center></span></div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>============================================================================================================================<br>Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at<span class=apple-converted-space> </span><a href="http://www.techmahindra.com/Disclaimer.html"><span style='color:purple'>http://www.techmahindra.com/Disclaimer.html</span></a><span class=apple-converted-space> </span>externally<span class=apple-converted-space> </span><a href="http://tim.techmahindra.com/tim/disclaimer.html"><span style='color:purple'>http://tim.techmahindra.com/tim/disclaimer.html</span></a><span class=apple-converted-space> </span>internally within TechMahindra.<br>============================================================================================================================</span><o:p></o:p></p></div><div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'> </span><o:p></o:p></p></div></div></div><div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'>_______________________________________________<br>OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org"><span style='color:purple'>OpenStack-dev@lists.openstack.org</span></a><br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"><span style='color:purple'>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</span></a></span><o:p></o:p></p></div></div></div><div><p class=MsoNormal> <o:p></o:p></p></div></div><p class=MsoNormal><span style='font-size:13.5pt;font-family:"Helvetica","sans-serif"'><br><br>_______________________________________________<br>OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></div>
<DIV><P><HR>
============================================================================================================================<BR>
Disclaimer:  This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra.<BR>
============================================================================================================================<BR>

</P></DIV>
</body></html>