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 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/8089b01b/attachment-0001.html>

Reply via email to