Hi, It might be a failure of not tacker but authentication because I've run VIM registration as you tried and no failure happened although it's just a bit different from your environment. Could you run it from CLI again referring [1] if you cannot register from horizon? [1] https://docs.openstack.org/tacker/latest/install/getting_started.html Thanks, Yasufumi On 2021/06/03 10:55, dangerzone ar wrote:
Hi all,
I just deployed Tacker and tried to add my 1^st VIM but I’m getting errors as per attached file. Pls advise how to resolve this problem. Thanks
1. *Error: *Failed to register VIM: {"error": {"message": "(http://192.168.0.121:5000/v3/tokens <http://192.168.0.121:5000/v3/tokens>): The resource could not be found.", "code": 404, "title": "Not Found"}}
2. *Error as below**à**WARNING keystonemiddleware.auth_token [-] Authorization failed for token: InvalidToken***
**
*{"vim": {"vim_project": {"name": "admin", "project_domain_name": "Default"}, "description": "d", "is_default": false, "auth_cred": {"username": "admin", "user_domain_name": "Default", "password": "c81e0c7a842f40c6"}, "auth_url": "**http://192.168.0.121:5000/v3 <http://192.168.0.121:5000/v3>**", "type": "openstack", "name": "d"}} process_request /usr/lib/python2.7/site-packages/tacker/alarm_receiver.py:43*
*2021-06-04 09:41:44.655 61233 WARNING keystonemiddleware.auth_token [-] Authorization failed for token: InvalidToken*
*2021-06-04 09:41:44.655 61233 INFO tacker.wsgi [-] 192.168.0.121 - - [04/Jun/2021 09:41:44] "POST //v1.0/vims.json HTTP/1.1" 401 384 0.001720*
**
Below is my tacker.conf
[DEFAULT] auth_strategy = keystone policy_file = /etc/tacker/policy.json debug = True use_syslog = False bind_host = 192.168.0.121 bind_port = 9890 service_plugins = nfvo,vnfm state_path = /var/lib/tacker
[nfvo] vim_drivers = openstack
[keystone_authtoken] region_name = RegionOne auth_type = password project_domain_name = Default user_domain_name = Default username = tacker password = password auth_url = http://192.168.0.121:35357 <http://192.168.0.121:35357> auth_uri = http://192.168.0.121:5000 <http://192.168.0.121:5000>
[agent] root_helper = sudo /usr/bin/tacker-rootwrap /etc/tacker/rootwrap.conf
[database] connection = mysql://tacker:password@192.168.0.121:3306/tacker?charset=utf8 <http://tacker:password@192.168.0.121:3306/tacker?charset=utf8>**