Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

lbaas 404 not found

I am trying to use lbaas on standard 2-nodes ubuntu deployment of Liberty, I tried changing plugin and driver in neutron-lbaas.conf and lbaas_agent.ini but i keep receiving this error when i use

neutron lbaas-loadbalancer-create --name lb1 8c159e5f-9ef1-4c7b-b380-127be5bfbb31

and I couldn't find the appropiate log file

404 Not Found

The resource could not be found.

lbaas 404 not found

I am trying to use lbaas on standard 2-nodes ubuntu deployment of Liberty, I tried changing plugin and driver in neutron-lbaas.conf and lbaas_agent.ini but i keep receiving this error when i use

neutron lbaas-loadbalancer-create --name lb1 8c159e5f-9ef1-4c7b-b380-127be5bfbb31

and I couldn't find the appropiate log file

404 Not Found

The resource could not be found.

--- Following indications ---

If i set lbaasv2 in serive_plugin

service_plugins = router, lbaasv2

I get an error on module import, checking setup.cfg of neutron I see there is no lbaasv2 option.

If I use lbaas and don't touch neutron_lbaas.conf i get

ERROR neutron.services.service_base [req-ac99774a-49e7-45e7-bc6b-b4dcee2b5157 - - - - -] No providers specified for 'LOADBALANCER' service, exiting

if I use baas and this neutron_lbaas (the rest is commented)

service_provider = LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default

i get

ERROR neutron ConfigFileParseError: Failed to parse /etc/neutron/neutron_lbaas.conf: at /etc/neutron/neutron_lbaas.conf:73, Unexpected continuation line: '  service_provider = LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default'

Anyway this is my lbaas_agent.ini

[DEFAULT]
# Show debugging output in log (sets DEBUG log level output).
  debug = True

# The LBaaS agent will resync its state with Neutron to recover from any
# transient notification or rpc errors. The interval is number of
# seconds between attempts.
# periodic_interval = 10

# LBaas requires an interface driver be set. Choose the one that best
# matches your plugin.
  interface_driver =neutron.plugins.services.agent_loadbalancer.plugin.LoadBalancerPluginv2



# Example of interface_driver option for OVS based plugins (OVS, Ryu, NEC, NVP,
# BigSwitch/Floodlight)
# interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver

# Use veth for an OVS interface or not.
# Support kernels with limited namespace support
# (e.g. RHEL 6.5) so long as ovs_use_veth is set to True.
# ovs_use_veth = False

# Example of interface_driver option for LinuxBridge
# interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver

# The agent requires drivers to manage the loadbalancer.  HAProxy is the opensource version.
# Multiple device drivers reflecting different service providers could be specified:
# device_driver = path.to.provider1.driver.Driver
# device_driver = path.to.provider2.driver.Driver
# Default is:
#  device_driver = neutron_lbaas.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver

[haproxy]
# Location to store config and state files
# loadbalancer_state_path = $state_path/lbaas

# The user group
#  user_group = haproxy

# When delete and re-add the same vip, send this many gratuitous ARPs to flush
# the ARP cache in the Router. Set it below or equal to 0 to disable this feature.
# send_gratuitous_arp = 3

lbaas 404 not found

I am trying to use lbaas on standard 2-nodes ubuntu deployment of Liberty, I tried changing plugin and driver in neutron-lbaas.conf and lbaas_agent.ini but i keep receiving this error when i use

neutron lbaas-loadbalancer-create --name lb1 8c159e5f-9ef1-4c7b-b380-127be5bfbb31

and I couldn't find the appropiate log file

404 Not Found

The resource could not be found.

--- Following indications ---

neutron-lbaas-agent is installed but is not alive under neutron agent-list, it keeps respawning and giving me the following errors:

If i set lbaasv2 in serive_plugin

service_plugins = router, lbaasv2

I get an error on module import, checking setup.cfg of neutron I see there is no lbaasv2 option.

If I use lbaas and don't touch neutron_lbaas.conf i get

ERROR neutron.services.service_base [req-ac99774a-49e7-45e7-bc6b-b4dcee2b5157 - - - - -] No providers specified for 'LOADBALANCER' service, exiting

if I use baas and this neutron_lbaas (the rest is commented)

service_provider = LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default

i get

ERROR neutron ConfigFileParseError: Failed to parse /etc/neutron/neutron_lbaas.conf: at /etc/neutron/neutron_lbaas.conf:73, Unexpected continuation line: '  service_provider = LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default'

Anyway this is my lbaas_agent.ini

[DEFAULT]
# Show debugging output in log (sets DEBUG log level output).
  debug = True

# The LBaaS agent will resync its state with Neutron to recover from any
# transient notification or rpc errors. The interval is number of
# seconds between attempts.
# periodic_interval = 10

# LBaas requires an interface driver be set. Choose the one that best
# matches your plugin.
  interface_driver =neutron.plugins.services.agent_loadbalancer.plugin.LoadBalancerPluginv2



# Example of interface_driver option for OVS based plugins (OVS, Ryu, NEC, NVP,
# BigSwitch/Floodlight)
# interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver

# Use veth for an OVS interface or not.
# Support kernels with limited namespace support
# (e.g. RHEL 6.5) so long as ovs_use_veth is set to True.
# ovs_use_veth = False

# Example of interface_driver option for LinuxBridge
# interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver

# The agent requires drivers to manage the loadbalancer.  HAProxy is the opensource version.
# Multiple device drivers reflecting different service providers could be specified:
# device_driver = path.to.provider1.driver.Driver
# device_driver = path.to.provider2.driver.Driver
# Default is:
#  device_driver = neutron_lbaas.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver

[haproxy]
# Location to store config and state files
# loadbalancer_state_path = $state_path/lbaas

# The user group
#  user_group = haproxy

# When delete and re-add the same vip, send this many gratuitous ARPs to flush
# the ARP cache in the Router. Set it below or equal to 0 to disable this feature.
# send_gratuitous_arp = 3

lbaas 404 not found

I am trying to use lbaas on standard 2-nodes ubuntu deployment of Liberty, I tried changing plugin and driver in neutron-lbaas.conf and lbaas_agent.ini but i keep receiving this error when i use

neutron lbaas-loadbalancer-create --name lb1 8c159e5f-9ef1-4c7b-b380-127be5bfbb31

and I couldn't find the appropiate log file

404 Not Found

The resource could not be found.

--- Following indications ---

neutron-lbaas-agent is installed but is not alive under neutron agent-list, it keeps respawning and giving me the following errors:

If i set lbaasv2 in serive_plugin

service_plugins = router, lbaasv2

I get an error on module import, checking setup.cfg of neutron I see there is no lbaasv2 option.

If I use lbaas and don't touch neutron_lbaas.conf i get

ERROR neutron.services.service_base [req-ac99774a-49e7-45e7-bc6b-b4dcee2b5157 - - - - -] No providers specified for 'LOADBALANCER' service, exiting

if I use baas and this neutron_lbaas (the rest is commented)

service_provider = LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default

i get

ERROR neutron ConfigFileParseError: Failed to parse /etc/neutron/neutron_lbaas.conf: at /etc/neutron/neutron_lbaas.conf:73, Unexpected continuation line: '  service_provider = LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default'

Anyway this is my lbaas_agent.ini

[DEFAULT]
# Show debugging output in log (sets DEBUG log level output).
  debug = True

# The LBaaS agent will resync its state with Neutron to recover from any
# transient notification or rpc errors. The interval is number of
# seconds between attempts.
# periodic_interval = 10

# LBaas requires an interface driver be set. Choose the one that best
# matches your plugin.
  interface_driver =neutron.plugins.services.agent_loadbalancer.plugin.LoadBalancerPluginv2



# Example of interface_driver option for OVS based plugins (OVS, Ryu, NEC, NVP,
# BigSwitch/Floodlight)
# interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver

# Use veth for an OVS interface or not.
# Support kernels with limited namespace support
# (e.g. RHEL 6.5) so long as ovs_use_veth is set to True.
# ovs_use_veth = False

# Example of interface_driver option for LinuxBridge
# interface_driver = neutron.agent.linux.interface.BridgeInterfaceDriver

# The agent requires drivers to manage the loadbalancer.  HAProxy is the opensource version.
# Multiple device drivers reflecting different service providers could be specified:
# device_driver = path.to.provider1.driver.Driver
# device_driver = path.to.provider2.driver.Driver
# Default is:
#  device_driver = neutron_lbaas.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver

[haproxy]
# Location to store config and state files
# loadbalancer_state_path = $state_path/lbaas

# The user group
#  user_group = haproxy

# When delete and re-add the same vip, send this many gratuitous ARPs to flush
# the ARP cache in the Router. Set it below or equal to 0 to disable this feature.
# send_gratuitous_arp = 3

----- Found solution ------

Add

device_driver = neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2

in the neutron.conf like this

device_driver = neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2
service_plugins = router, neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2