NFV scenario broken due to lack of Aodh

Bug #1906299 reported by Radosław Piliszek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Medium
Radosław Piliszek
Victoria
Fix Released
Medium
Radosław Piliszek
Wallaby
Fix Released
Medium
Radosław Piliszek

Bug Description

It seems Tacker started requiring Aodh for its Heat actions (starting Victoria):

Creating sample VNF
ERROR: HEAT-E99001 Service aodh is not available for resource type OS::Aodh::EventAlarm, reason: aodh alarming endpoint is not in service catalog.

/var/log/kolla/tacker/tacker-server.log
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource [req-8c1f18a0-b306-403a-9b42-d0411202eba6 d5db56719db048118c265339a13ef48d 16373ab9eb164c809d614d4c3b100219 - default default] create failed: No details.: tacker.extensions.vnfm.HeatClientException: ERROR: HEAT-E99001 Service aodh is not available for resource type OS::Aodh::EventAlarm, reason: aodh alarming endpoint is not in service catalog.
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource Traceback (most recent call last):
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/var/lib/kolla/venv/lib/python3.6/site-packages/tacker/vnfm/infra_drivers/openstack/heat_client.py", line 51, in create
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource return self.stacks.create(**fields)
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/var/lib/kolla/venv/lib/python3.6/site-packages/heatclient/v1/stacks.py", line 171, in create
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource data=kwargs, headers=headers)
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/var/lib/kolla/venv/lib/python3.6/site-packages/keystoneauth1/adapter.py", line 401, in post
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource return self.request(url, 'POST', **kwargs)
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/var/lib/kolla/venv/lib/python3.6/site-packages/heatclient/common/http.py", line 323, in request
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource raise exc.from_response(resp)
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource heatclient.exc.HTTPBadRequest: ERROR: HEAT-E99001 Service aodh is not available for resource type OS::Aodh::EventAlarm, reason: aodh alarming endpoint is not in service catalog.
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource During handling of the above exception, another exception occurred:
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource Traceback (most recent call last):
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/var/lib/kolla/venv/lib/python3.6/site-packages/tacker/api/v1/resource.py", line 77, in resource
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource result = method(request=request, **args)
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/var/lib/kolla/venv/lib/python3.6/site-packages/tacker/api/v1/base.py", line 394, in create
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource obj = obj_creator(request.context, **kwargs)
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/var/lib/kolla/venv/lib/python3.6/site-packages/tacker/vnfm/plugin.py", line 446, in create_vnf
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource vnf_dict = self._create_vnf(context, vnf_info, vim_auth, infra_driver)
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/var/lib/kolla/venv/lib/python3.6/site-packages/tacker/vnfm/plugin.py", line 399, in _create_vnf
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource self._delete_vnf(context, vnf_id, force_delete=True)
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource self.force_reraise()
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource six.reraise(self.type_, self.value, self.tb)
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/usr/lib/python3.6/site-packages/six.py", line 703, in reraise
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource raise value
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/var/lib/kolla/venv/lib/python3.6/site-packages/tacker/vnfm/plugin.py", line 393, in _create_vnf
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource context=context, vnf=vnf_dict, auth_attr=vim_auth)
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/var/lib/kolla/venv/lib/python3.6/site-packages/tacker/common/driver_manager.py", line 71, in invoke
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource return getattr(driver, method_name)(**kwargs)
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/var/lib/kolla/venv/lib/python3.6/site-packages/tacker/common/log.py", line 35, in wrapper
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource return method(*args, **kwargs)
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/var/lib/kolla/venv/lib/python3.6/site-packages/tacker/vnfm/infra_drivers/openstack/openstack.py", line 290, in create
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource stack = self._create_stack(heatclient, tth.vnf, tth.fields)
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/var/lib/kolla/venv/lib/python3.6/site-packages/tacker/common/log.py", line 35, in wrapper
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource return method(*args, **kwargs)
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/var/lib/kolla/venv/lib/python3.6/site-packages/tacker/vnfm/infra_drivers/openstack/openstack.py", line 358, in _create_stack
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource stack = heatclient.create(fields)
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource File "/var/lib/kolla/venv/lib/python3.6/site-packages/tacker/vnfm/infra_drivers/openstack/heat_client.py", line 54, in create
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource raise vnfm.HeatClientException(msg=value)
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource tacker.extensions.vnfm.HeatClientException: ERROR: HEAT-E99001 Service aodh is not available for resource type OS::Aodh::EventAlarm, reason: aodh alarming endpoint is not in service catalog.
2020-11-30 14:59:58.778 20 ERROR tacker.api.v1.resource

description: updated
Revision history for this message
Radosław Piliszek (yoctozepto) wrote :

Reported against Tacker:
https://bugs.launchpad.net/tacker/+bug/1906300

We can simply install Aodh and be done w/ it but it seems wrong to require it always in the first place.

Revision history for this message
Radosław Piliszek (yoctozepto) wrote :
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 proposed to kolla-ansible (stable/victoria)

Fix proposed to branch: stable/victoria
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/797702

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/+/797702
Committed: https://opendev.org/openstack/kolla-ansible/commit/567fb01a766a068e5dafcb67af4b686d0ed1a8fa
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 567fb01a766a068e5dafcb67af4b686d0ed1a8fa
Author: Radosław Piliszek <email address hidden>
Date: Mon Nov 30 20:09:15 2020 +0100

    [CI] Fix the NFV scenario

    It seems Aodh started being required.

    Change-Id: I01714cbea03bddb0e438aebb197a8a0b2bcdb5b3
    Closes-Bug: #1906299
    (cherry picked from commit c00e7b2c9549d58c799b3a0639e16a12505c348b)

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.

Changed in kolla-ansible:
status: In Progress → 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.