octavia driver agent is missing

Bug #1903506 reported by Michal Nasiadka
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Wishlist
Michal Nasiadka
Ussuri
New
Undecided
Unassigned
Victoria
Fix Committed
Undecided
Unassigned
Wallaby
Fix Released
Wishlist
Michal Nasiadka

Bug Description

Octavia to support 3rd party providers needs octavia-driver-agent to be running
Kolla-Ansible does not deploy an octavia_driver_agent container with shared volume for /var/run/octavia

2020-11-09 09:26:06.139 6 ERROR octavia.api.drivers.driver_factory [-] Unable to load provider driver ovn due to: Unable to open the driver agent socket: /var/run/octavia/status.sock: octavia_lib.api.drivers.exceptions.DriverAgentNotFound: Unable to open the driver agent socket: /var/run/octavia/status.sock
2020-11-09 09:26:06.140 6 CRITICAL octavia [-] Unhandled error: octavia.common.exceptions.ProviderNotFound: Provider 'ovn' was not found.
2020-11-09 09:26:06.140 6 ERROR octavia Traceback (most recent call last):
2020-11-09 09:26:06.140 6 ERROR octavia File "/var/lib/kolla/venv/lib/python3.6/site-packages/octavia/api/drivers/driver_factory.py", line 44, in get_driver
2020-11-09 09:26:06.140 6 ERROR octavia invoke_on_load=True).driver
2020-11-09 09:26:06.140 6 ERROR octavia File "/var/lib/kolla/venv/lib/python3.6/site-packages/stevedore/driver.py", line 61, in __init__
2020-11-09 09:26:06.140 6 ERROR octavia warn_on_missing_entrypoint=warn_on_missing_entrypoint
2020-11-09 09:26:06.140 6 ERROR octavia File "/var/lib/kolla/venv/lib/python3.6/site-packages/stevedore/named.py", line 81, in __init__
2020-11-09 09:26:06.140 6 ERROR octavia verify_requirements)
2020-11-09 09:26:06.140 6 ERROR octavia File "/var/lib/kolla/venv/lib/python3.6/site-packages/stevedore/extension.py", line 203, in _load_plugins
2020-11-09 09:26:06.140 6 ERROR octavia self._on_load_failure_callback(self, ep, err)
2020-11-09 09:26:06.140 6 ERROR octavia File "/var/lib/kolla/venv/lib/python3.6/site-packages/stevedore/extension.py", line 195, in _load_plugins
2020-11-09 09:26:06.140 6 ERROR octavia verify_requirements,
2020-11-09 09:26:06.140 6 ERROR octavia File "/var/lib/kolla/venv/lib/python3.6/site-packages/stevedore/named.py", line 158, in _load_one_plugin
2020-11-09 09:26:06.140 6 ERROR octavia verify_requirements,
2020-11-09 09:26:06.140 6 ERROR octavia File "/var/lib/kolla/venv/lib/python3.6/site-packages/stevedore/extension.py", line 227, in _load_one_plugin
2020-11-09 09:26:06.140 6 ERROR octavia obj = plugin(*invoke_args, **invoke_kwds)
2020-11-09 09:26:06.140 6 ERROR octavia File "/var/lib/kolla/venv/lib/python3.6/site-packages/ovn_octavia_provider/driver.py", line 1937, in __init__
2020-11-09 09:26:06.140 6 ERROR octavia self._ovn_helper = OvnProviderHelper()
2020-11-09 09:26:06.140 6 ERROR octavia File "/var/lib/kolla/venv/lib/python3.6/site-packages/ovn_octavia_provider/driver.py", line 205, in __init__
2020-11-09 09:26:06.140 6 ERROR octavia self._octavia_driver_lib = o_driver_lib.DriverLibrary()
2020-11-09 09:26:06.140 6 ERROR octavia File "/var/lib/kolla/venv/lib/python3.6/site-packages/octavia_lib/api/drivers/driver_lib.py", line 53, in __init__
2020-11-09 09:26:06.140 6 ERROR octavia self._check_for_socket_ready(status_socket)
2020-11-09 09:26:06.140 6 ERROR octavia File "/var/lib/kolla/venv/lib/python3.6/site-packages/tenacity/__init__.py", line 311, in wrapped_f
2020-11-09 09:26:06.140 6 ERROR octavia return self.call(f, *args, **kw)
2020-11-09 09:26:06.140 6 ERROR octavia File "/var/lib/kolla/venv/lib/python3.6/site-packages/tenacity/__init__.py", line 391, in call
2020-11-09 09:26:06.140 6 ERROR octavia do = self.iter(retry_state=retry_state)
2020-11-09 09:26:06.140 6 ERROR octavia File "/var/lib/kolla/venv/lib/python3.6/site-packages/tenacity/__init__.py", line 350, in iter
2020-11-09 09:26:06.140 6 ERROR octavia raise retry_exc.reraise()
2020-11-09 09:26:06.140 6 ERROR octavia File "/var/lib/kolla/venv/lib/python3.6/site-packages/tenacity/__init__.py", line 168, in reraise
2020-11-09 09:26:06.140 6 ERROR octavia raise self.last_attempt.result()
2020-11-09 09:26:06.140 6 ERROR octavia File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 425, in result
2020-11-09 09:26:06.140 6 ERROR octavia return self.__get_result()
2020-11-09 09:26:06.140 6 ERROR octavia File "/usr/lib64/python3.6/concurrent/futures/_base.py", line 384, in __get_result
2020-11-09 09:26:06.140 6 ERROR octavia raise self._exception
2020-11-09 09:26:06.140 6 ERROR octavia File "/var/lib/kolla/venv/lib/python3.6/site-packages/tenacity/__init__.py", line 394, in call
2020-11-09 09:26:06.140 6 ERROR octavia result = fn(*args, **kwargs)
2020-11-09 09:26:06.140 6 ERROR octavia File "/var/lib/kolla/venv/lib/python3.6/site-packages/octavia_lib/api/drivers/driver_lib.py", line 44, in _check_for_socket_ready
2020-11-09 09:26:06.140 6 ERROR octavia 'socket: {}'.format(socket)))
2020-11-09 09:26:06.140 6 ERROR octavia octavia_lib.api.drivers.exceptions.DriverAgentNotFound: Unable to open the driver agent socket: /var/run/octavia/status.sock

Changed in kolla-ansible:
status: New → Triaged
Changed in kolla-ansible:
assignee: nobody → Michal Nasiadka (mnasiadka)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 12.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 12.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/782735
Committed: https://opendev.org/openstack/kolla-ansible/commit/7b19b2e31b618d6423617824daa7c7e43acc6054
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 7b19b2e31b618d6423617824daa7c7e43acc6054
Author: Michal Nasiadka <email address hidden>
Date: Mon Nov 9 10:17:10 2020 +0100

    Add missing octavia-driver-agent

    For using 3rd party Octavia providers (such as OVN provider) an
    octavia-driver-agent container must be running to expose those providers to
    use.

    tasks that used item.value.group where updated to not fail on missing group
    (to not break existing user inventories)

    OVN CI job has been extended with deploying Octavia and testing OVN Load
    Balancer.

    Closes-Bug: #1903506
    Depends-On: https://review.opendev.org/c/openstack/kolla/+/782957

    Change-Id: Ibafa8b7307981f2a51e630cc113d18af6162171c
    (cherry picked from commit 7a066f715467db56a637dd69de3e86419a0e58de)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 11.1.0

This issue was fixed in the openstack/kolla-ansible 11.1.0 release.

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.