<div dir="ltr">Hi All, <div>I'm struggling these few days to register vim on my Tacker from the dashboard. What I did is I removed tacker.conf and with the original file and set back the setting each line..when I run the create from dashboard I'm still not able to register the VIM but now I'm getting a new error below.<div><br></div><div>Below is the error <div><b style="color:rgb(56,118,29)">error: failed to register vim: unable to find key file for vim</b><br></div><div><b style="color:rgb(56,118,29)"><br></b></div><div><font color="#000000">I also tried from cli and still failed with error below</font></div><div><font color="#000000">command run:-</font></div><div><font color="#38761d">tacker vim-register --config-file vim_config.yaml --is-default vim-default --os-username admin --os-project-name admin --os-project-domain-name Default --os-auth-url <a href="http://192.168.0.121:5000/v3" target="_blank">http://192.168.0.121:5000/v3</a> --os-password c81e0c7a842f40c6</font></div><div>error return:-<br><font color="#38761d">Expecting to find domain in user. The server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-a980cea4-adf2-4461-a66d-4c6c3bfd2e7d)</font><font color="#000000"><br></font></div><div><font color="#38761d"><br></font></div><div><font color="#000000">Most of the line in tacker.conf setting is based on</font></div><div><a href="https://docs.openstack.org/tacker/latest/install/manual_installation.html" target="_blank">https://docs.openstack.org/tacker/latest/install/manual_installation.html</a><font color="#38761d"><br></font></div><div><font color="#38761d"><br></font></div><div><font color="#000000">I'm running all-in-one openstack packstack (queens) and deploying Tacker manually. I really hope someone could advise and help me please. Thank you for your help and support.</font></div><div><b style="color:rgb(56,118,29)"><br></b></div><div><b style="color:rgb(56,118,29)">*Attached image file and tacker.log for ref.</b></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 4, 2021 at 11:05 PM yasufum <<a href="mailto:yasufum.o@gmail.com">yasufum.o@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
It might be a failure of not tacker but authentication because I've run <br>
VIM registration as you tried and no failure happened although it's just <br>
a bit different from your environment. Could you run it from CLI again <br>
referring [1] if you cannot register from horizon?<br>
<br>
[1] <a href="https://docs.openstack.org/tacker/latest/install/getting_started.html" rel="noreferrer" target="_blank">https://docs.openstack.org/tacker/latest/install/getting_started.html</a><br>
<br>
Thanks,<br>
Yasufumi<br>
<br>
On 2021/06/03 10:55, dangerzone ar wrote:<br>
> Hi all,<br>
> <br>
> I just deployed Tacker and tried to add my 1^st VIM but I’m getting <br>
> errors as per attached file. Pls advise how to resolve this problem. Thanks<br>
> <br>
> 1. *Error: *Failed to register VIM: {"error": {"message":<br>
> "(<a href="http://192.168.0.121:5000/v3/tokens" rel="noreferrer" target="_blank">http://192.168.0.121:5000/v3/tokens</a><br>
> <<a href="http://192.168.0.121:5000/v3/tokens" rel="noreferrer" target="_blank">http://192.168.0.121:5000/v3/tokens</a>>): The resource could not be<br>
> found.", "code": 404, "title": "Not Found"}}<br>
> <br>
> 2. *Error as below**à**WARNING keystonemiddleware.auth_token [-]<br>
> Authorization failed for token: InvalidToken***<br>
> <br>
> **<br>
> <br>
> *{"vim": {"vim_project": {"name": "admin", "project_domain_name": <br>
> "Default"}, "description": "d", "is_default": false, "auth_cred": <br>
> {"username": "admin", "user_domain_name": "Default", "password": <br>
> "c81e0c7a842f40c6"}, "auth_url": "**<a href="http://192.168.0.121:5000/v3" rel="noreferrer" target="_blank">http://192.168.0.121:5000/v3</a> <br>
> <<a href="http://192.168.0.121:5000/v3" rel="noreferrer" target="_blank">http://192.168.0.121:5000/v3</a>>**", "type": "openstack", "name": "d"}} <br>
> process_request <br>
> /usr/lib/python2.7/site-packages/tacker/alarm_receiver.py:43*<br>
> <br>
> *2021-06-04 09:41:44.655 61233 WARNING keystonemiddleware.auth_token [-] <br>
> Authorization failed for token: InvalidToken*<br>
> <br>
> *2021-06-04 09:41:44.655 61233 INFO tacker.wsgi [-] 192.168.0.121 - - <br>
> [04/Jun/2021 09:41:44] "POST //v1.0/vims.json HTTP/1.1" 401 384 0.001720*<br>
> <br>
> **<br>
> <br>
> Below is my tacker.conf<br>
> <br>
> [DEFAULT]<br>
> auth_strategy = keystone<br>
> policy_file = /etc/tacker/policy.json<br>
> debug = True<br>
> use_syslog = False<br>
> bind_host = 192.168.0.121<br>
> bind_port = 9890<br>
> service_plugins = nfvo,vnfm<br>
> state_path = /var/lib/tacker<br>
> <br>
> <br>
> [nfvo]<br>
> vim_drivers = openstack<br>
> <br>
> [keystone_authtoken]<br>
> region_name = RegionOne<br>
> auth_type = password<br>
> project_domain_name = Default<br>
> user_domain_name = Default<br>
> username = tacker<br>
> password = password<br>
> auth_url = <a href="http://192.168.0.121:35357" rel="noreferrer" target="_blank">http://192.168.0.121:35357</a> <<a href="http://192.168.0.121:35357" rel="noreferrer" target="_blank">http://192.168.0.121:35357</a>><br>
> auth_uri = <a href="http://192.168.0.121:5000" rel="noreferrer" target="_blank">http://192.168.0.121:5000</a> <<a href="http://192.168.0.121:5000" rel="noreferrer" target="_blank">http://192.168.0.121:5000</a>><br>
> <br>
> [agent]<br>
> root_helper = sudo /usr/bin/tacker-rootwrap /etc/tacker/rootwrap.conf<br>
> <br>
> <br>
> [database]<br>
> connection = <br>
> mysql://<a href="http://tacker:password@192.168.0.121:3306/tacker?charset=utf8" rel="noreferrer" target="_blank">tacker:password@192.168.0.121:3306/tacker?charset=utf8</a> <br>
> <<a href="http://tacker:password@192.168.0.121:3306/tacker?charset=utf8" rel="noreferrer" target="_blank">http://tacker:password@192.168.0.121:3306/tacker?charset=utf8</a>>**<br>
> <br>
</blockquote></div>