empty service catalog (tacker) leads to failure during vim registration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Unassigned | ||
tacker |
In Progress
|
Undecided
|
Yasufumi Ogawa |
Bug Description
I'm using all-in-one stable/queens release and altough I'm able to register new VIM accounts via the CLI, my attempts to do the same via the API interface fails with an exception complaining about EmptyCatalog('The service catalog is empty.'). I'm attaching the tacker logs below. Any suggestions on what I should be doing to overcome this issue? Thanks in advance!
$ sudo journalctl -f -u devstack@t*
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:02.877 DEBUG tacker.
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: Accept: */*
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: Accept-Encoding: gzip, deflate
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: Cache-Control: no-cache
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: Connection: keep-alive
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: Content-Length: 507
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: Content-Type: application/json
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: Cookie: csrftoken=
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: Host: 10.34.24.8:9890
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: Postman-Token: 3e37928e-
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: User-Agent: PostmanRuntime/
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: X-Auth-Token: gAAAAABcaA-
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: [1B blob data]
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: {
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: "vim": {
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: "type": "openstack",
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: "auth_url": "http://
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: "auth_cred": {
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: "username": "nfv_user",
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: "user_domain_name": "Default",
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: "password": "devstack",
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: "cert_verify": "False"
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: },
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: "vim_project": {
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: "project_name": "nfv",
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: "project_
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: },
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: "name": "vim-openstack-
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: "description": "vim-openstack-
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: "is_default": false
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: }
Feb 16 16:28:02 tc-nfv-mano tacker-server[955]: } from (pid=955) process_request /opt/stack/
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.030 DEBUG tacker.api.v1.base [req-d6a4e911-
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.031 DEBUG tacker.common.log [req-d6a4e911-
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.031 DEBUG tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.032 DEBUG tacker.common.log [req-d6a4e911-
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.033 DEBUG keystoneclient.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.042 DEBUG keystoneclient.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: RESP BODY: {"version": {"status": "stable", "updated": "2018-02-
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: from (pid=955) _http_log_response /usr/local/
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.090 DEBUG tacker.common.log [req-d6a4e911-
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.091 DEBUG tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.092 WARNING tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 ERROR tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.093 TRACE tacker.
Feb 16 16:28:03 tc-nfv-mano tacker-server[955]: 2019-02-16 16:28:03.095 INFO tacker.wsgi [req-d6a4e911-
Changed in tacker: | |
status: | New → Incomplete |
status: | Incomplete → In Progress |
assignee: | nobody → Yasufumi Ogawa (yasufum) |
I'm also attaching the CLI version of the same.
$ cat vim-openstack- xyz.yaml 10.34.24. 8/identity/ v3' domain_ name: 'Default'
auth_url: 'http://
user_domain_name: 'Default'
username: 'nfv_user'
password: 'devstack'
cert_verify: 'False'
project_
project_name: 'nfv'
$ openstack vim register --config-file vim-openstack- xyz.yaml --description 'vim-openstack-xyz' vim-openstack-xyz ------- ---+--- ------- ------- ------- ------- ------- ------- ------+ ------- ---+--- ------- ------- ------- ------- ------- ------- ------+ 10.34.24. 8/identity/ v3", | domain_ name": "Default" | 10.34.24. 8/identity/ v3 | c143-497e- 8f78-de1274a33f 60 | d989f7274f788db b3 | domain_ name": "Default" | ------- ---+--- ------- ------- ------- ------- ------- ------- ------+
+------
| Field | Value |
+------
| auth_cred | { |
| | "username": "nfv_user", |
| | "project_id": null, |
| | "project_name": "nfv", |
| | "cert_verify": "False", |
| | "user_domain_name": "Default", |
| | "key_type": "barbican_key", |
| | "secret_uuid": "***", |
| | "auth_url": "http://
| | "password": "***", |
| | "project_
| | } |
| auth_url | http://
| created_at | 2019-02-16 13:32:14.270679 |
| description | vim-openstack-xyz |
| id | 7e82c0df-
| is_default | False |
| name | vim-openstack-xyz |
| placement_attr | { |
| | "regions": [ |
| | "RegionOne" |
| | ] |
| | } |
| project_id | 885d1646353647f
| status | PENDING |
| type | openstack |
| updated_at | None |
| vim_project | { |
| | "name": "nfv", |
| | "project_
| | } |
+------
$ sudo journalctl -f -u devstack@t* 7de1-4df9- bcde-2a12729744 a2 nfv nfv_user] (955) accepted ('10.34.24.8', 50332) from (pid=955) server /usr/local/ lib/python2. 7/dist- packages/ eventlet/ wsgi.py: 883
Feb 16 16:32:13 tc-nfv-mano tacker-server[955]: 2019-02-16 16:32:13.224 DEBUG tacker.wsgi [req-d6a4e911-
Feb 16 16:32:13 tc-nfv-mano tacker-s...