lbaas-agent and vpn-agent is not working fine

Bug #1643755 reported by shaofeng cheng
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Expired
Undecided
Unassigned
Mitaka
Won't Fix
High
Unassigned
Newton
Won't Fix
High
Unassigned

Bug Description

I'm using ubuntu-source and the stable/newton branch of kolla (version 3.0.1).
Wanna use lbaas, following the guide doc in the source, I edit kolla-build.yml like this:

[neutron-server-plugin-neutron-lbaas]
type = url
location = http://tarballs.openstack.org/neutron-lbaas/neutron-lbaas-9.0.0.tar.gz
[neutron-server-plugin-neutron-vpnaas]
type = url
location = http://tarballs.openstack.org/neutron-vpnaas/neutron-vpnaas-9.0.0.tar.gz

this should be the correct package that I gonna use,and all images built successfully.

everything works, except the neutron_lbaas_agent and neutron_vpnaas_agent.

check logs,find WARNING.
neutron-vpn-agent.log
2016-11-22 11:46:24.905 6 WARNING stevedore.named [-] Could not load neutron.agent.linux.interface.OVSInterfaceDriver
2016-11-22 11:46:25.021 6 WARNING stevedore.named [req-1e7afeac-8144-4dc9-9690-30d8fcc1d473 - - - - -] Could not load neutron_vpnaas.services.vpn.device_drivers.strongswan_ipsec.StrongSwanDriver

neutron-lbaasv2-agent.log
2016-11-22 11:46:24.006 7 WARNING stevedore.named [req-3a5288d6-924c-4c20-becc-08b69424ae58 - - - - -] Could not load neutron_lbaas.drivers.haproxy.namespace_driver.HaproxyNSDriver
2016-11-22 11:46:24.124 7 WARNING stevedore.named [req-3a5288d6-924c-4c20-becc-08b69424ae58 - - - - -] Could not load neutron.agent.linux.interface.OVSInterfaceDriver

neutron-server.log
2016-11-22 11:46:24.045 7 WARNING stevedore.named [req-742e55d5-bfc2-4f9c-a9ec-698e52017476 - - - - -] Could not load neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver
2016-11-22 11:46:24.046 7 WARNING stevedore.named [req-742e55d5-bfc2-4f9c-a9ec-698e52017476 - - - - -] Could not load neutron_vpnaas.services.vpn.service_drivers.ipsec.IPsecVPNDriver

If there is any workaround, please let me know.

Revision history for this message
shaofeng cheng (shaofeng-cheng) wrote :

full logs

Revision history for this message
shaofeng cheng (shaofeng-cheng) wrote :
Download full text (5.9 KiB)

install neutron-lbaas-dashboard-1.0.1 to horizon contains,lbaas working fine.
create vpn service throw error:
2016-11-22 16:47:38.446 6 DEBUG oslo_messaging._drivers.amqpdriver [-] received reply msg_id: 7c8d464863b3498b9ef47e7c0da141e9 __call__ /var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:296
2016-11-22 16:47:38.450 6 DEBUG neutron.agent.linux.utils [req-a8dc997d-3589-414d-9aa9-680672820d8f ce0421e4a13849f98650010c82a15d87 f5c52437c944441dba54512184b6339e - - -] Running command: ['sudo', 'neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ipsec', '--piddir'] create_process /var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron/agent/linux/utils.py:83
2016-11-22 16:47:38.960 6 ERROR neutron.agent.linux.utils [req-a8dc997d-3589-414d-9aa9-680672820d8f ce0421e4a13849f98650010c82a15d87 f5c52437c944441dba54512184b6339e - - -] Exit code: 96; Stdin: ; Stdout: ; Stderr: /var/lib/kolla/venv/bin/neutron-rootwrap: Executable not found: ipsec (filter match = ipsec)

2016-11-22 16:47:38.962 6 DEBUG oslo_concurrency.lockutils [req-a8dc997d-3589-414d-9aa9-680672820d8f ce0421e4a13849f98650010c82a15d87 f5c52437c944441dba54512184b6339e - - -] Lock "vpn-agent" released by "neutron_vpnaas.services.vpn.device_drivers.ipsec.sync" :: held 0.775s inner /var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:282
2016-11-22 16:47:38.962 6 ERROR oslo_messaging.rpc.server [req-a8dc997d-3589-414d-9aa9-680672820d8f ce0421e4a13849f98650010c82a15d87 f5c52437c944441dba54512184b6339e - - -] Exception during message handling
2016-11-22 16:47:38.962 6 ERROR oslo_messaging.rpc.server Traceback (most recent call last):
2016-11-22 16:47:38.962 6 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_messaging/rpc/server.py", line 133, in _process_incoming
2016-11-22 16:47:38.962 6 ERROR oslo_messaging.rpc.server res = self.dispatcher.dispatch(message)
2016-11-22 16:47:38.962 6 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 150, in dispatch
2016-11-22 16:47:38.962 6 ERROR oslo_messaging.rpc.server return self._do_dispatch(endpoint, method, ctxt, args)
2016-11-22 16:47:38.962 6 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_messaging/rpc/dispatcher.py", line 121, in _do_dispatch
2016-11-22 16:47:38.962 6 ERROR oslo_messaging.rpc.server result = func(ctxt, **new_args)
2016-11-22 16:47:38.962 6 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/neutron_vpnaas/services/vpn/device_drivers/ipsec.py", line 884, in vpnservice_updated
2016-11-22 16:47:38.962 6 ERROR oslo_messaging.rpc.server self.sync(context, [router] if router else [])
2016-11-22 16:47:38.962 6 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/venv/local/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 271, in inner
2016-11-22 16:47:38.962 6 ERROR oslo_messaging.rpc.server return f(*args, **kwargs)
2016-11-22 16:47:38.962 6 ERROR oslo_messaging.rpc.server File "/var/lib/kolla/ve...

Read more...

Revision history for this message
shaofeng cheng (shaofeng-cheng) wrote :

neutron_vpnaas_agent contains install strongswan-starter package,vpn service worker fine.

Revision history for this message
Paul Bourke (pauldbourke) wrote :

Hi Shaofeng, does that mean this is working for you now or still not?

Revision history for this message
shaofeng cheng (shaofeng-cheng) wrote :

Hi paul,Normal working now.
But before the lack of software, I was loaded in the container directly. Now also looking at the code, and how to building installation in ubuntu-source-horizon image and ubuntu-source-neutron-vpnaas-agent image.

Revision history for this message
shaofeng cheng (shaofeng-cheng) wrote :

source-neutron-vpnaas-agent image update:
https://review.openstack.org/#/c/401834/

Changed in kolla:
importance: Undecided → High
no longer affects: kolla/ocata
Changed in kolla:
status: New → Confirmed
Revision history for this message
shaofeng cheng (shaofeng-cheng) wrote :

ubuntu-source-horizon image update:
https://review.openstack.org/#/c/396511/

Changed in kolla:
milestone: none → ocata-3
Changed in kolla:
milestone: ocata-3 → ocata-rc1
Changed in kolla:
milestone: ocata-rc1 → pike-1
Changed in kolla:
milestone: pike-2 → pike-3
Changed in kolla:
milestone: pike-3 → pike-rc1
Changed in kolla:
milestone: pike-rc1 → queens-1
Changed in kolla:
milestone: queens-2 → queens-3
Changed in kolla:
milestone: queens-3 → queens-rc1
Changed in kolla:
milestone: queens-rc1 → queens-rc2
Changed in kolla:
milestone: queens-rc2 → rocky-1
Changed in kolla:
milestone: rocky-2 → rocky-3
Revision history for this message
Jeffrey Zhang (jeffrey4l) wrote : Cleanup EOL bug report

This is an automated cleanup. This bug report has been closed because it
is older than 18 months and there is no open code change to fix this.
After this time it is unlikely that the circumstances which lead to
the observed issue can be reproduced.

If you can reproduce the bug, please:
* reopen the bug report (set to status "New")
* AND add the detailed steps to reproduce the issue (if applicable)
* AND leave a comment "CONFIRMED FOR: <RELEASE_NAME>"
  Only still supported release names are valid (OCATA, PIKE, QUEENS, ROCKY, ROCKY).
  Valid example: CONFIRMED FOR: OCATA

Changed in kolla:
importance: High → Undecided
status: Confirmed → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.