VIM creation is in PENDING state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tacker |
Fix Released
|
Medium
|
Manpreet Kaur |
Bug Description
setup : Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-112-generic x86_64)
release stable/ussri
installed via devstack
local.conf file
-------
[[local|localrc]]
HOST_IP=127.0.0.1
SERVICE_
SERVICE_
ADMIN_PASSWORD=
SERVICE_
DATABASE_
RABBIT_
ENABLE_
KEYSTONE_
# Logging
LOGFILE=
VERBOSE=True
ENABLE_
ENABLE_
GIT_BASE=
TACKER_
USE_BARBICAN=True
#TACKER_
enable_plugin networking-sfc ${GIT_BASE}
enable_plugin barbican ${GIT_BASE}
enable_plugin mistral ${GIT_BASE}
enable_plugin tacker ${GIT_BASE}
-------
Setup completed but getting issue during vim registration
vim registration state is in pending
-------
+------
| Field | Value |
+------
| auth_cred | { |
| | "username": "admin", |
| | "user_domain_name": "Default", |
| | "cert_verify": "True", |
| | "project_id": null, |
| | "project_name": "admin", |
| | "project_
| | "auth_url": "http://
| | "key_type": "barbican_key", |
| | "secret_uuid": "***", |
| | "password": "***" |
| | } |
| auth_url | http://
| created_at | 2020-08-21 16:27:36.891541 |
| description | |
| id | 93d7f0e4-
| is_default | True |
| name | testvim |
| placement_attr | { |
| | "regions": [ |
| | "RegionOne" |
| | ] |
| | } |
| project_id | 13e2f3ff0b9c4db
| status | PENDING |
| type | openstack |
| updated_at | None |
| vim_project | { |
| | "name": "admin", |
| | "project_
| | } |
+------
-------
getting below error in tacker-
2020-08-21 16:31:39.800 ERROR oslo.messaging.
similar error in mistral-api.log
2020-08-21 16:40:28.558655 Connection failed: [Errno 111] Connection refused (retrying in 32.0 seconds)
2020-08-21 16:41:00.608540 Connection failed: [Errno 111] Connection refused (retrying in 32.0 seconds)
tacker-server.log
-------
2020-08-21 16:27:36.969 DEBUG keystoneclient.
RESP BODY: {"version": {"id": "v3.14", "status": "stable", "updated": "2020-04-
from (pid=1107) _http_log_response /usr/local/
2020-08-21 16:27:37.024 DEBUG tacker.
vim_id_
input:
- ping_vim
tasks:
monitor_
action: tacker.
input:
count: '1'
interval: '1'
targetip: 192.168.32.28
timeout: '1'
vim_id: 93d7f0e4-
type: direct
from (pid=1107) prepare_
2020-08-21 16:27:44.594 DEBUG mistralclient.
2020-08-21 16:32:44.676 DEBUG mistralclient.
2020-08-21 16:32:44.676 WARNING tacker.
2020-08-21 16:32:44.682 INFO tacker.wsgi [req-2dddd758-
-------
tags: | added: tacker |
Changed in tacker: | |
importance: | Undecided → Medium |
Changed in tacker: | |
status: | Confirmed → Fix Committed |
Changed in tacker: | |
status: | Fix Committed → Fix Released |
Hi,
During debugging I figured out that it is only issue with the "vim_ping_action" and VIM is added in tacker, I am even able to instantiate VNF to VIM.
the issue that need attention is as below:
mistral. exceptions. InvalidActionEx ception: Failed to find action [action_ name=tacker. vim_ping_ action] in [namespace=]
Failed to run task [error=Failed to find action [action_ name=tacker. vim_ping_ action] in [namespace=], wf=vim_ id_f829c238- 5f61-48c8- a627-b5fdc0fdba 70, task=monitor_ ping_vimPingVIM TASK]: | mistral/ mistral/ engine/ task_handler. py", line 68, in run_task | lib/python3. 6/dist- packages/ osprofiler/ profiler. py", line 160, in wrapper | mistral/ mistral/ engine/ tasks.py" , line 508, in run | lib/python3. 6/dist- packages/ osprofiler/ profiler. py", line 160, in wrapper | mistral/ mistral/ engine/ tasks.py" , line 540, in _run_new | actions( ) | mistral/ mistral/ engine/ tasks.py" , line 616, in _schedule_actions | action( ) ...
| | Traceback (most recent call last): |
| | File "/opt/stack/
| | task.run() |
| | File "/usr/local/
| | result = f(*args, **kwargs) |
| | File "/opt/stack/
| | self._run_new() |
| | File "/usr/local/
| | result = f(*args, **kwargs) |
| | File "/opt/stack/
| | self._schedule_
| | File "/opt/stack/
| | action = self._build_