Error during deployment of Devstack with Octavia Load Balancing

Bug #1948366 reported by David Chen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Low
Unassigned

Bug Description

My deployment on Devstack with LBaaS by following the steps below errors out and did not complete:
https://docs.openstack.org/devstack/latest/guides/devstack-with-lbaas-v2.html

My host:
stack@devstack:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal

The installation failed with the error:

2021-10-22 02:57:45.215 | Running setup.py develop for neutron
2021-10-22 02:57:46.356 | Successfully installed WebTest-3.0.0 beautifulsoup4-4.10.0 logutils-0.3.5 neutron neutron-lib-2.16.0 os-client-config-2.1.0 os-ken-2.2.0 os-resource-classes-1.1.0 os-traits-2.6.0 os-vif-2.6.0 osc-lib-2.4.2 ovsdbapp-1.12.0 pecan-1.3.3 pyroute2-0.6.5 pyroute2.core-0.6.5 pyroute2.ethtool-0.6.5 pyroute2.ipdb-0.6.5 pyroute2.ipset-0.6.5 pyroute2.ndb-0.6.5 pyroute2.nftables-0.6.5 pyroute2.nslink-0.6.5 python-designateclient-4.3.0 python-neutronclient-7.6.0 setproctitle-1.2.2 soupsieve-2.2.1 waitress-2.0.0
2021-10-22 02:57:46.356 | WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
2021-10-22 02:57:46.479 | +inc/python:pip_install:200 result=0
2021-10-22 02:57:46.483 | +inc/python:pip_install:202 time_stop pip_install
2021-10-22 02:57:46.487 | +functions-common:time_stop:2309 local name
2021-10-22 02:57:46.491 | +functions-common:time_stop:2310 local end_time
2021-10-22 02:57:46.495 | +functions-common:time_stop:2311 local elapsed_time
2021-10-22 02:57:46.499 | +functions-common:time_stop:2312 local total
2021-10-22 02:57:46.503 | +functions-common:time_stop:2313 local start_time
2021-10-22 02:57:46.506 | +functions-common:time_stop:2315 name=pip_install
2021-10-22 02:57:46.510 | +functions-common:time_stop:2316 start_time=1634871450281
2021-10-22 02:57:46.514 | +functions-common:time_stop:2318 [[ -z 1634871450281 ]]
2021-10-22 02:57:46.518 | ++functions-common:time_stop:2321 date +%s%3N
2021-10-22 02:57:46.523 | +functions-common:time_stop:2321 end_time=1634871466519
2021-10-22 02:57:46.527 | +functions-common:time_stop:2322 elapsed_time=16238
2021-10-22 02:57:46.531 | +functions-common:time_stop:2323 total=111198
2021-10-22 02:57:46.535 | +functions-common:time_stop:2325 _TIME_START[$name]=
2021-10-22 02:57:46.539 | +functions-common:time_stop:2326 _TIME_TOTAL[$name]=127436
2021-10-22 02:57:46.543 | +inc/python:pip_install:203 return 0
2021-10-22 02:57:46.547 | +inc/python:setup_package:448 [[ -e == \-\e ]]
2021-10-22 02:57:46.551 | +inc/python:setup_package:449 safe_chown -R stack /opt/stack/neutron/neutron.egg-info
2021-10-22 02:57:46.555 | +functions-common:safe_chown:2210 _safe_permission_operation chown -R stack /opt/stack/neutron/neutron.egg-info
2021-10-22 02:57:46.579 | +functions-common:_safe_permission_operation:2058 sudo chown -R stack /opt/stack/neutron/neutron.egg-info
2021-10-22 02:57:46.589 | +inc/python:_setup_package_with_constraints_edit:394 use_library_from_git /opt/stack/neutron
2021-10-22 02:57:46.594 | +inc/python:use_library_from_git:250 local name=/opt/stack/neutron
2021-10-22 02:57:46.598 | +inc/python:use_library_from_git:251 local enabled=1
2021-10-22 02:57:46.602 | +inc/python:use_library_from_git:252 [[ '' = \A\L\L ]]
2021-10-22 02:57:46.607 | +inc/python:use_library_from_git:252 [[ ,, =~ ,/opt/stack/neutron, ]]
2021-10-22 02:57:46.611 | +inc/python:use_library_from_git:253 return 1
2021-10-22 02:57:46.615 | +lib/neutron-legacy:install_mutnauq:458 [[ ovn == \o\v\n ]]
2021-10-22 02:57:46.620 | +lib/neutron-legacy:install_mutnauq:459 install_ovn
2021-10-22 02:57:46.624 | +lib/neutron_plugins/ovn_agent:install_ovn:344 [[ True == \F\a\l\s\e ]]
2021-10-22 02:57:46.628 | +lib/neutron_plugins/ovn_agent:install_ovn:349 echo 'Installing OVN and dependent packages'
2021-10-22 02:57:46.628 | Installing OVN and dependent packages
2021-10-22 02:57:46.632 | +lib/neutron_plugins/ovn_agent:install_ovn:352 ovn_sanity_check
2021-10-22 02:57:46.636 | +lib/neutron_plugins/ovn_agent:ovn_sanity_check:331 is_service_enabled q-agt neutron-agt
2021-10-22 02:57:46.658 | +functions-common:is_service_enabled:1965 return 0
2021-10-22 02:57:46.663 | +lib/neutron_plugins/ovn_agent:ovn_sanity_check:332 die 332 'The q-agt/neutron-agt service must be disabled with OVN.'
2021-10-22 02:57:46.667 | +functions-common:die:198 local exitcode=0
2021-10-22 02:57:46.671 | [Call Trace]
2021-10-22 02:57:46.672 | ./stack.sh:913:stack_install_service
2021-10-22 02:57:46.672 | /opt/stack/devstack/lib/stack:32:install_neutron
2021-10-22 02:57:46.672 | /opt/stack/devstack/lib/neutron:659:install_mutnauq
2021-10-22 02:57:46.672 | /opt/stack/devstack/lib/neutron-legacy:459:install_ovn
2021-10-22 02:57:46.672 | /opt/stack/devstack/lib/neutron_plugins/ovn_agent:352:ovn_sanity_check
2021-10-22 02:57:46.672 | /opt/stack/devstack/lib/neutron_plugins/ovn_agent:332:die
2021-10-22 02:57:46.674 | [ERROR] /opt/stack/devstack/lib/neutron_plugins/ovn_agent:332 The q-agt/neutron-agt service must be disabled with OVN.
2021-10-22 02:57:47.676 | Error on exit

-----------------------------------
Release: on 2020-06-23 10:21:09
SHA: 5ca665b9a5fd6e4a9c4c4c69e4ebcb4d703ad127
Source: https://opendev.org/openstack-dev/devstack/src/doc/source/guides/devstack-with-lbaas-v2.rst
URL: https://docs.openstack.org/devstack/latest/guides/devstack-with-lbaas-v2.html

Revision history for this message
Vladimir (zorachki) wrote :

I suppose you wrote in local.conf the string "ENABLED_SERVICES+=,q-svc,q-agt,q-dhcp,q-l3,q-meta,neutron", but the error reported about OVN and q-agt are incongruous. Try to erase "q-agt" and run again.

Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

That guide needs to be updated to work with the current default of OVN being deployed.

Changed in devstack:
status: New → Triaged
importance: Undecided → Medium
Changed in devstack:
importance: Medium → Low
Revision history for this message
Dr. Jens Harbott (j-harbott) wrote :

The guide has been reworked and should now cover the current deployment https://docs.openstack.org/devstack/latest/guides/devstack-with-octavia.html

Changed in devstack:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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