Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

[Pike][Octavia] Cannot create LB from Horizon

RDO Pike Packages:

openstack-dashboard-12.0.3-1.el7.noarch
openstack-neutron-lbaas-ui-3.0.2-1.el7.noarch
openstack-octavia-common-1.0.2-1.el7.noarch
openstack-octavia-worker-1.0.2-1.el7.noarch
openstack-octavia-housekeeping-1.0.2-1.el7.noarch
openstack-octavia-api-1.0.2-1.el7.noarch
python-octavia-1.0.2-1.el7.noarch
openstack-octavia-health-manager-1.0.2-1.el7.noarch

I followed the guide at https://docs.openstack.org/octavia/pike/contributor/guides/dev-quick-start.html and successfully installed Octavia in RDO Pike. The only extra step I did was create a service named 'octavia' and also added endpoints of 'load-balancer' type.

Once Octavia started, I was unable to create load balancer using "neutron lbaas-loadbalancer-create .." command as it failed with the error:

Driver error: 'NoneType' object has no attribute 'rstrip' Neutron server returns request_ids: ['req-a355a097-6b4e-44b5-a9dd-f4777b4db299']

However, I then installed python-octaviaclient after which I was able to successfully create Octavia load balancers using "openstack loadbalancer create .." and everything work perfectly - amphora was created fine, round-robin algorithm and monitoring worked great as well.

Questions:

  1. All the examples I see online use neutron command to create octavia load balancers, but I can only create it using "openstack" command (python-octaviaclient). Why is that? Where did I go wrong?

  2. When I create load balancer from Horizon, it also gives me the same error that I get when using neutron CLI. How can I get it working with Octavia?

  3. Was creating service and endpoints a mistake?

  4. https://developer.openstack.org/api-ref/load-balancer/v2/ says:

During the neutron-lbaas deprecation period a pass-through proxy will be included in neutron to allow requests via neutron and the neutron-lbaas v2 API to continue to function.

If so, then why is the request to create LB not being forwarded to Octavia properly?

Please assist..

[Pike][Octavia] Cannot create LB from Horizon

RDO Pike Packages:

openstack-dashboard-12.0.3-1.el7.noarch
openstack-neutron-lbaas-ui-3.0.2-1.el7.noarch
openstack-octavia-common-1.0.2-1.el7.noarch
openstack-octavia-worker-1.0.2-1.el7.noarch
openstack-octavia-housekeeping-1.0.2-1.el7.noarch
openstack-octavia-api-1.0.2-1.el7.noarch
python-octavia-1.0.2-1.el7.noarch
openstack-octavia-health-manager-1.0.2-1.el7.noarch

I followed the guide at https://docs.openstack.org/octavia/pike/contributor/guides/dev-quick-start.html and successfully installed Octavia in RDO Pike. The only extra step I did was create a service named 'octavia' and also added endpoints of 'load-balancer' type.

Once Octavia started, I was unable to create load balancer using "neutron lbaas-loadbalancer-create .." command as it failed with the error:

Driver error: 'NoneType' object has no attribute 'rstrip' Neutron server returns request_ids: ['req-a355a097-6b4e-44b5-a9dd-f4777b4db299']

However, I then installed python-octaviaclient after which I was able to successfully create Octavia load balancers using "openstack loadbalancer create .." and everything work perfectly - amphora was created fine, round-robin algorithm and monitoring worked great as well.

Questions:

  1. All the examples I see online use neutron command to create octavia load balancers, but I can only create it using "openstack" command (python-octaviaclient). Why is that? Where did I go wrong?

  2. When I create load balancer from Horizon, it also gives me the same error that I get when using neutron CLI. How can I get it working with Octavia?

  3. Was creating service and endpoints a mistake?

  4. https://developer.openstack.org/api-ref/load-balancer/v2/ says:

During the neutron-lbaas deprecation period a pass-through proxy will be included in neutron to allow requests via neutron and the neutron-lbaas v2 API to continue to function.

If so, then why is the request to create LB not being forwarded to Octavia properly?

Please assist..