Hello, check out this comment: 
https://wiki.onap.org/display/DW/Tutorial:+Creating+a+Service+Instance+from+a+Design+Model?focusedCommentId=3245522?focusedCommentId=3245522#comment-3245522

I think it's the same thing


Thanks,
Daniel Rose
ECOMP / ONAP
com.att.ecomp
732-420-7308

From: onap-discuss-bounces at lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Josef Reisinger
Sent: Wednesday, April 19, 2017 8:56 AM
To: onap-discuss at lists.onap.org
Subject: [onap-discuss] robot_vm: demo.sh failing - connectivity solved, cannot 
get openstack tenant

Folks,

trying to get demo.sh on robot_vm to run on an vanilla openstack (Ocata) 
install. I successfully have identified the variable 
"GLOBAL_OPENSTACK_KEYSTONE_SERVER" in  line 30 (or so) of file 
/opt/eteshare/config/integration_robot_properties.py to be changed to the 
http://<your<http://%3cyour> keystone server>:5000, but I do not understand 
what goes wrong after that:. I gather it has something to do with the 
(non-)existence of a tenant...? Is there any documentation on the semantics in 
this file?
See a snippet of output.log below.
 <kw library="BuiltIn" name="Log">
                      <doc>Logs the given message with the given level.</doc>
                      <arguments>
                        <arg>Received response from keystone ${resp.text}</arg>
                      </arguments>
                      <msg level="TRACE" timestamp="20170419 
12:06:56.147">Arguments: [ 'Received response from keystone {"access": 
{"token": {"issued_at": "2017-04-19T12:06:55.000000Z", "expires": 
"2017-04-19T13:06:55.000000Z", "id": "<for my eyes only>"]}, "serviceCatalog": 
[], "user": {"username": "<for my eyes only>", "roles_links": [], "id": "<for 
my eyes only>", "roles": [], "name": "<for my eyes only>"}, "metadata": 
{"is_admin": 0, "roles": []}}}' ]</msg>
                      <msg level="INFO" timestamp="20170419 
12:06:56.150">Received response from keystone {"access": {"token": 
{"issued_at": "2017-04-19T12:06:55.000000Z", "expires": 
"2017-04-19T13:06:55.000000Z", "id": "<for my eyes only>", "audit_ids": ["<for 
my eyes only>"]}, "serviceCatalog": [], "user": {"username": "<for my eyes 
only>", "roles_links": [], "id": "<for my eyes only>", "roles": [], "name": 
"<for my eyes only>"}, "metadata": {"is_admin": 0, "roles": []}}}</msg>
                      <msg level="TRACE" timestamp="20170419 
12:06:56.151">Return: None</msg>
                      <status endtime="20170419 12:06:56.153" 
starttime="20170419 12:06:56.141" status="PASS"></status>
                    </kw>
                    <msg level="TRACE" timestamp="20170419 
12:06:56.156">Return: None</msg>
                    <status endtime="20170419 12:06:56.157" starttime="20170419 
12:06:53.171" status="PASS"></status>
                  </kw>
                  <kw library="OpenstackLibrary" name="Get Current Openstack 
Tenant">
                    <doc>Get Openstack tenant from the current alias</doc>
                    <arguments>
                      <arg>auth</arg>
                    </arguments>
                    <assign>
                      <var>${tenants}</var>
                    </assign>
                    <msg level="TRACE" timestamp="20170419 
12:06:56.172">Arguments: [ 'auth' ]</msg>
                    <msg level="FAIL" timestamp="20170419 
12:06:56.182">KeyError: 'tenant'</msg>
                    <msg level="DEBUG" timestamp="20170419 
12:06:56.183">Traceback (most recent call last):
  File "/var/opt/OpenECOMP_ETE/robot/library/eteutils/OpenstackLibrary.py", 
line 45, in get_current_openstack_tenant
    return  jsonResponse['access']['token']['tenant']</msg>
                    <status endtime="20170419 12:06:56.184" starttime="20170419 
12:06:56.168" status="FAIL"></status>
                  </kw>
                  <status endtime="20170419 12:06:56.189" starttime="20170419 
12:06:53.151" status="FAIL"></status>
                </kw>
                <status endtime="20170419 12:06:56.193" starttime="20170419 
12:06:53.116" status="FAIL"></status>
              </kw>
              <status endtime="20170419 12:06:56.196" starttime="20170419 
12:06:53.092" status="FAIL"></status>
            </kw>




Mit freundlichen Gr??en / Kind regards
Josef Reisinger
When wisdom comes to call, there's nobody listening at all - Pendragon / Man Of 
Nomadic Traits



IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter
Gesch?ftsf?hrung: Martina Koederitz (Vorsitzende), Nicole Reimer, Norbert 
Janzen, Dr. Christian Keller, Ivo Koerner, Stefan Lutz
Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 
14562 / WEEE-Reg.-Nr. DE 99369940


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170419/da015d8e/attachment.html>

Reply via email to