Hello everyone.
After the upgrade to train the dashboard doesn’t show anymore the loadblancer tab.
I tried to reconfigure but I’ve the same result:
juju config openstack-dashboard neutron-network-lb=true
In the stain release I created a loadbalancer and now it keeps working even if I cant’ see anymore in the dashboard.
Fabrizio
Sorry about the lack of response @cardax. I’ve added a link to this question within the #openstack-charms IRC channel in Freenode. Hopefully someone will be able to answer soon.
The in-tree loadbalancer code has been deprecated for some time in the upstream OpenStack Neutron project. As of Train it was removed [0].
The Octavia project replaces and extends the functionality and there are charms available. There is a separate subordinate charm for the dashboard component.
Hello @fnordahl
Thank you to you reply.
After posting my help request I also found your link. In the dashboard charms train is still present the config to enable the neutron lb. Anyway I tried to deploy the Octavia solution without success. Today I’ll try again on the test environment.
Information like this should be on the top front of the upgrade documents. To avoid problem to production.
Fabrizio.
Each release of the OpenStack Charms encapsulate support for all supported release combinations of Ubuntu and OpenStack. Consequently the neutron-network-lb configuration option is still valid for the charm when deployed with OpenStack releases prior to Train. There should probably be a note on the description of that configuration option about which releases are supported though.
We work hard to facilitate or automate upgrades of the most used configurations where possible and with the breath of components and configurations supported in the charms it is unfortunately not possible to encapsulate every detail in the charms release notes.
Good information is worth repeating so we should probably add a section about the Neutron load balancer removal to the Known OpenStack upgrade issues section of the upgrade guide.
Anyway seems there is a problem about octavia and the train release openstack.
I deployed following the guide the charm went in the error state and inside the debug log there is:
RuntimeError: Release queens is not supported by this charm. Earliest support is rocky release
So there is no native loadbalancer solution for train openstack installation.
Fabrizio
unit-octavia-1: 12:10:23 ERROR unit.octavia/1.juju-log Hook error:
Traceback (most recent call last):
File “/var/lib/juju/agents/unit-octavia-1/.venv/lib/python3.6/site-packages/charms/reactive/init.py”, line 74, in main
bus.dispatch(restricted=restricted_mode)
File “/var/lib/juju/agents/unit-octavia-1/.venv/lib/python3.6/site-packages/charms/reactive/bus.py”, line 390, in dispatch
_invoke(other_handlers)
File “/var/lib/juju/agents/unit-octavia-1/.venv/lib/python3.6/site-packages/charms/reactive/bus.py”, line 359, in _invoke
handler.invoke()
File “/var/lib/juju/agents/unit-octavia-1/.venv/lib/python3.6/site-packages/charms/reactive/bus.py”, line 181, in invoke
self.action(*args)
File “/var/lib/juju/agents/unit-octavia-1/charm/reactive/layer_openstack.py”, line 21, in default_install
with charm.provide_charm_instance() as instance:
File “/var/lib/juju/agents/unit-octavia-1/.venv/lib/python3.6/site-packages/charms_openstack/charm/core.py”, line 95, in enter
return BaseOpenStackCharm.singleton
File “/var/lib/juju/agents/unit-octavia-1/.venv/lib/python3.6/site-packages/charms_openstack/charm/core.py”, line 305, in singleton
package_type=package_type or ‘deb’)
File “/var/lib/juju/agents/unit-octavia-1/.venv/lib/python3.6/site-packages/charms_openstack/charm/core.py”, line 135, in get_charm
instance
“is {} release”.format(release, known_releases[0]))
RuntimeError: Release queens is not supported by this charm. Earliest support is rocky release
Anyway was more simple to use the neutron solution. I will not upgrade production for this change. I’ve to understand better the functionality of Octavia. Do you think on the future release will be already inside the openstack charm?