<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"MS ゴシック";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"MS Pゴシック";
        panose-1:2 11 6 0 7 2 5 8 2 4;}
@font-face
        {font-family:"\@MS Pゴシック";
        panose-1:2 11 6 0 7 2 5 8 2 4;}
@font-face
        {font-family:"\@MS ゴシック";
        panose-1:2 11 6 9 7 2 5 8 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0mm;
        font-size:12.0pt;
        font-family:"MS Pゴシック";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.20
        {mso-style-type:personal-compose;
        font-family:"Arial",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Arial",sans-serif;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:99.25pt 30.0mm 30.0mm 30.0mm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026">
<v:textbox inset="5.85pt,.7pt,5.85pt,.7pt" />
</o:shapedefaults></xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="JA" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif">Hi<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif">Have you installed “barbican” as described in the instructions?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="https://docs.openstack.org/tacker/latest/install/manual_installation.html#pre-requisites">https://docs.openstack.org/tacker/latest/install/manual_installation.html#pre-requisites</a><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif">I looked at the error log. It seems that the error occurred on the route that does not use barbican.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif">Could you add the following settings to tacker.conf and try again?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif">[vim_keys]<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif">use_barbican = True<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif">Ueha<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Arial",sans-serif"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0mm 0mm 0mm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri",sans-serif"> dangerzone ar <dangerzonen@gmail.com>
<br>
<b>Sent:</b> Saturday, June 5, 2021 12:48 AM<br>
<b>To:</b> yasufum <yasufum.o@gmail.com><br>
<b>Cc:</b> OpenStack Discuss <openstack-discuss@lists.openstack.org><br>
<b>Subject:</b> Re: [Tacker] Tacker Not able to create VIM<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi All, <o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US">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.<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">Below is the error <o:p></o:p></span></p>
<div>
<p class="MsoNormal"><b><span lang="EN-US" style="color:#38761D">error: failed to register vim: unable to find key file for vim</span></b><span lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="color:black">I also tried from cli and still failed with error below</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="color:black">command run:-</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="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</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US">error return:-<br>
<span style="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)</span><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="color:black">Most of the line in tacker.conf setting is based on</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><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><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US" style="color:black">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.</span><span lang="EN-US"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><b><span lang="EN-US" style="color:#38761D">*Attached image file and tacker.log for ref.</span></b><span lang="EN-US"><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div>
<div>
<p class="MsoNormal"><span lang="EN-US">On Fri, Jun 4, 2021 at 11:05 PM yasufum <<a href="mailto:yasufum.o@gmail.com">yasufum.o@gmail.com</a>> wrote:<o:p></o:p></span></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0mm 0mm 0mm 6.0pt;margin-left:4.8pt;margin-right:0mm">
<p class="MsoNormal"><span lang="EN-US">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" 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" target="_blank">http://192.168.0.121:5000/v3/tokens</a><br>
>     <<a href="http://192.168.0.121:5000/v3/tokens" 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" target="_blank">http://192.168.0.121:5000/v3</a>
<br>
> <<a href="http://192.168.0.121:5000/v3" 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" target="_blank">http://192.168.0.121:35357</a> <<a href="http://192.168.0.121:35357" target="_blank">http://192.168.0.121:35357</a>><br>
> auth_uri = <a href="http://192.168.0.121:5000" target="_blank">http://192.168.0.121:5000</a> <<a href="http://192.168.0.121:5000" 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" 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" target="_blank">http://tacker:password@192.168.0.121:3306/tacker?charset=utf8</a>>**<br>
> <o:p></o:p></span></p>
</blockquote>
</div>
</div>
</body>
</html>