Ask Your Question
0

[SOLVED][Pike][Octavia] Cannot create LB from Horizon

asked 2018-09-06 14:08:38 -0500

fedupwithneutron gravatar image

updated 2018-09-07 03:56:17 -0500

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/pi... 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-r... 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..

edit retag flag offensive close merge delete

Comments

I dont know about the horizon issue, but since the goal (afaik) is to move all CLI logik into the openstack-cli, why do you keep want to use neutron? I brief guess..there are several versions of LBAAS api's. Is neutron/horizon using the wrong one?

theque42 gravatar imagetheque42 ( 2018-09-10 01:27:59 -0500 )edit

I never wanted to keep using neutron CLI, but all guides that I read ran the load balancer commands using neutron CLI. I thought I made some mistake, but it wasn't the case. Confirmed the same later in #openstack-lbaas

fedupwithneutron gravatar imagefedupwithneutron ( 2018-09-11 01:02:53 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-09-07 03:55:49 -0500

fedupwithneutron gravatar image

On a fresh server, I installed openstack-octavia-ui and openstack-dashboard from the Queens repo, and it worked perfectly with Pike setup. Load balancers can be created and managed from the dashboard now.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2018-09-06 14:08:38 -0500

Seen: 54 times

Last updated: Sep 07