Hi Daniel,
I read indeed that DCAE _should_ run run with the latest template... but I 
still see some issue which makes me believe it can't. To  double check. I 
re-created the DCAE-VM (the one defined in the HEAT template) in openstack 
from the image, let the cloud init stuff run and got the same results as 
before. In particular
The floatip heat template defined "artifacts_version: 1.1.0-SNAPSHOT", the 
cloud init downloads 

curl -k 
https://nexus.onap.org/content/sites/raw/org.openecomp.demo/boot/1.1.0-SNAPSHOT/dcae_install.sh
 
-o /opt/dcae_install.sh

Install.sh in turn creates, amongst other stuff files in 
/opt/dcae-startup-vm-controller/, where on of the files is 
docker-compose.yml which in turn names " dcae-controller: image: 
nexus3.onap.org:10001/openecomp/dcae-controller:1.0.0". In summary; have 
this docker image running as a container. 
When I look at the incoming network request on the controller, I can see 
that dcae-controller sends an request which is not compatible with the 
below mentioned Openstack specification of the v2.0 keystone interface and 
which is consequently responded to with "400 Bad request"

POST /v2.0/tokens HTTP/1.1.
Content-type: application/json.
Host: 172.16.3.31:35357.
Content-Length: 93.

{"auth":{"RAX-KSKEY:apiKeyCredentials":{"username":"<some-user-here>","apiKey":"<some-key-here>"}}}

HTTP/1.1 400 Bad Request.
Date: Wed, 21 Jun 2017 15:56:59 GMT.
Server: Apache/2.4.18 (Ubuntu).
Vary: X-Auth-Token.
X-Distribution: Ubuntu.
x-openstack-request-id: req-7eac4b47-f21d-418b-955a-0333011ac380.
Content-Length: 238.
Connection: close.
Content-Type: application/json.
.
{"error": {"message": "Expecting to find auth in request body. The server 
could not comply with the request since it is either malformed or 
otherwise incorrect. The client is assumed to be in error.", "code": 400, 
"title": "Bad Request"}}

and results in an error message which I find with on 
dcaestartupvmcontroller_dcae-controller_1 in 
/opt/app/dcae-controller-platform-server/logs/controller-platform-server-controller.err

m=[url:http://172.16.3.31:35357/v2.0/tokens, method:POST, 
body:[auth:[RAX-KSKEY:apiKeyCredentials:[username:user, 
apiKey:abcdefghijklmno]]]]
URL=http://172.16.3.31:35357/v2.0/tokens
Header: Content-type: application/json
REQUEST BODY: 
{"auth":{"RAX-KSKEY:apiKeyCredentials":{"username":"user","apiKey":":abcdefghijklmno"}}}
Exchange done: 7


Now, as I trust you guys to have checked this piece already - what's going 
wrong with my setup? If somebody can point us to the place where the 
RAY-KSKEY payload is defined in the code would be well appreciated.

Mit freundlichen Grüßen / Kind regards 
Josef Reisinger 



From:   "ROSE, DANIEL V" <[email protected]>
To:     Josef Reisinger <[email protected]>, 
"[email protected]" <[email protected]>
Date:   21.06.2017 16:04
Subject:        RE: [onap-discuss] A maybe dumb questions, but has anybody 
.. ... got the ONAP stack to work on vanilla Openstack. Yes we did... :-)



The floatip heat stack should let dcae spin up in generic openstack
 
Daniel Rose
ECOMP / ONAP
com.att.ecomp
732-420-7308
 
From: [email protected] [
mailto:[email protected]] On Behalf Of Josef Reisinger
Sent: Wednesday, June 21, 2017 3:49 AM
To: [email protected]
Subject: [onap-discuss] A maybe dumb questions, but has anybody .. ... got 
the ONAP stack to work on vanilla Openstack. Yes we did... :-)
 
Folks,

as nobody replied success to this question,
Yesterday I was able to deploy the first virtual firewall following the 
tutorial on a vanilla Openstack instance running on Ubuntu in an Softlayer 
data center. For me and the team this represents the first mile stone as I 
guess we are are pretty proud on it.
The next two steps would now be to get de.sh appc <module> to run. I run 
in the same issue as described in 
https://wiki.onap.org/questions/6591979/.demo.sh-appc-demomodule-returns-an-error-keyerror-tenantid
, but we do not run Contrail. So it may be a more general issue. 
Step #2 is DCAE ... and I can see that DCAE controller uses a 
Rackspace-specific request (at least it is not conforming to 
https://developer.openstack.org/api-ref/identity/v2/). Anybody out there 
who could point to to the place where this is defined (hard-coded or in a 
config file) so that I can get a team member to adapt it to OpenStack?

Mit freundlichen Grüßen / Kind regards 
Josef Reisinger 

__________________

Hmm..  doesn't work really... Same for /opt/portal_install.sh... once 
again my question: Anybody out there with sufficient luck to get an 
vanilla openstack instance and run the demo examples? I think I read here 
an there success stories and I wonder ... well.. I  don't have the same 
:-)

I used


ubuntu@vm1-vid:~$ cat /opt/vid_install.sh
<html>
  <head>
    <title>404 - Path 
/org.openecomp.demo/boot/1.0.0-SNAPSHOT/vid_install.sh not found in local 
storage of repository &quot;raw&quot; [id=raw]</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

    <link rel="icon" type="image/png" href="
https://nexus.onap.org/favicon.png";>
    <!--[if IE]>
    <link rel="SHORTCUT ICON" href="https://nexus.onap.org/favicon.ico"/>
    <![endif]-->

    <link rel="stylesheet" href="
https://nexus.onap.org/static/css/Sonatype-content.css?2.14.2-01"; 
type="text/css" media="screen" title="no title" charset="utf-8">
  </head>
  <body>
    <h1>404 - Path /org.openecomp.demo/boot/1.0.0-SNAPSHOT/vid_install.sh 
not found in local storage of repository &quot;raw&quot; [id=raw]</h1>
    <p>Path /org.openecomp.demo/boot/1.0.0-SNAPSHOT/vid_install.sh not 
found in local storage of repository &quot;raw&quot; [id=raw]</p>
  </body>
</html>

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 Sales & Distribution, Communications Sector
Certified IT-Architect Telecommunications
IBM Certified Telecommunications Industry ITA
Lehrbeauftragter an der Hochschule Fresenius
IBM Deutschland 
Godesberger Allee 127 
53175 Bonn Beuel
Phone:    +49 151 1426 4559 
Mobile:  +49-(0) 151 1426 4559 
E-Mail:  [email protected] 
The Open Group Master Certified IT Architect
Solution Advisor Cloud Computing
Architect Profession Certification - Level 2 Expert
Telecommunications Insights & Solutions
Public: IBM TME Solution Labs Flyer 
Internal: IBM TME Solution Wiki 
Internal: TME Demo Video Series 
Internal: TME Demo App 
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 





From:        "FORSYTH, JAMES" <[email protected]>
To:        Josef Reisinger <[email protected]>
Cc:        "ROSE, DANIEL V" <[email protected]>, "LUND, CARSTEN" <
[email protected]>, "[email protected]" <
[email protected]>, "KAJUR, HARISH V" <[email protected]>
Date:        13.06.2017 17:27
Subject:        RE: [onap-discuss] A maybe dump questions, but has anybody 
...




Hi, Josef,
 
Yes, definitely.
 
-jimmy
 
From: Josef Reisinger [mailto:[email protected]] 
Sent: Tuesday, June 13, 2017 11:25 AM
To: FORSYTH, JAMES <[email protected]>
Cc: ROSE, DANIEL V <[email protected]>; LUND, CARSTEN <[email protected]
>; [email protected]; KAJUR, HARISH V <[email protected]>
Subject: RE: [onap-discuss] A maybe dump questions, but has anybody ...
 
Thanks James,

that sounds absolutely reasonable and I tried adapt the docker version to 
1.1.. which didn't give me a working portal. So left it as it was 
pre-configured in the template and trusted the comment "You don'T need to 
change other parameters" (or similar...).

Do you think artifacts_version: 1.0.0-SNAPSHOT +  docker_version: 
1.0-STAGING-latest + gerrit_branch: release-1.0.0 will enhance the chance 
to get the ONAP stack working? 

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 Sales & Distribution, Communications Sector
Certified IT-Architect Telecommunications
IBM Certified Telecommunications Industry ITA
Lehrbeauftragter an der Hochschule Fresenius
IBM Deutschland 
Godesberger Allee 127 
53175 Bonn Beuel
Phone:    +49 151 1426 4559 
Mobile:  +49-(0) 151 1426 4559 
E-Mail:  [email protected]


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 






From:        "FORSYTH, JAMES" <[email protected]>
To:        "ROSE, DANIEL V" <[email protected]>, "LUND, CARSTEN" <
[email protected]>, Josef Reisinger <[email protected]>, "
[email protected]" <[email protected]>, "KAJUR, HARISH 
V" <[email protected]>
Date:        13.06.2017 17:00
Subject:        RE: [onap-discuss] A maybe dump questions, but has anybody 
...





If you use the 1.1.0-SNAPSHOT artifacts, and the 1.0-STAGING-latest docker 
image, you will get a mismatch in the table name.  1.0 uses 
?vid_openecomp? and 1.1 uses ?vid_openecomp_epsdk?

Thanks,
jimmy

From: ROSE, DANIEL V 
Sent: Tuesday, June 13, 2017 10:51 AM
To: LUND, CARSTEN <[email protected]>; Josef Reisinger <
[email protected]>; [email protected]; FORSYTH, JAMES <
[email protected]>; KAJUR, HARISH V <[email protected]>
Subject: RE: [onap-discuss] A maybe dump questions, but has anybody ...

Sorry wrong thread for my previous reply!

For robot vm we updated it to use tenant name (follow 
https://jira.onap.org/browse/TEST-28to see its testing progress)

For vid jimmy can you check this?

For aai can you check this harish?


I think we figure out if its due to rebasing or not.

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

From: [email protected][
mailto:[email protected]] On Behalf Of ROSE, DANIEL V
Sent: Tuesday, June 13, 2017 10:36 AM
To: LUND, CARSTEN <[email protected]>; Josef Reisinger <
[email protected]>; [email protected]
Subject: Re: [onap-discuss] A maybe dump questions, but has anybody ...

***Security Advisory:This Message Originated Outside of AT&T ***
Reference http://cso.att.com/EmailSecurity/IDSP.htmlfor more information.
You could ask someone from aai like Harish, Jimmy or Manisha as they also 
use Spotify

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

From: [email protected][
mailto:[email protected]] On Behalf Of LUND, CARSTEN
Sent: Tuesday, June 13, 2017 8:53 AM
To: Josef Reisinger <[email protected]>; 
[email protected]
Subject: Re: [onap-discuss] A maybe dump questions, but has anybody ...

***Security Advisory:This Message Originated Outside of AT&T ***
Reference http://cso.att.com/EmailSecurity/IDSP.htmlfor more information.
For DCAE issue see DCAE-7. We are still working that and then have to 
document things better.

Carsten

From: [email protected][
mailto:[email protected]] On Behalf Of Josef Reisinger
Sent: Tuesday, June 13, 2017 8:48 AM
To: [email protected]
Subject: [onap-discuss] A maybe dump questions, but has anybody ...

... got the ONAP stack to work on vanilla Openstack (We use Ocata) 
including running one demo from the tutorial using the HEAT template below 
without manual intervention? The only changes I made are the lines where 
the parameter values start with "PUT YOUR <xyz value> HERE" or so. I did 
especially not change any of
artifacts_version: 1.1.0-SNAPSHOT
docker_version: 1.0-STAGING-latest
gerrit_branch: release-1.0.0


I am asking since I get a lot of issues which I do not believe to relate 
to the fact we are on vanilla Openstack Ocata vs. Rackspace as there are:
Robot VM: I need to modify a couple of files to talk to the correct 
keystone endpoint, use the correct JSON in the token request and avoid SSL 
issues;  After the manual config I get it to run demo.sh init
 
VID VM: There is still some confusion on the database name to use as it 
seems. If I edit two files and remove the _epsdk from the DB name, at 
least the vid-mariadb container comes up and I can open the VID tab in the 
portal. 
 
A&AI: during install, I get a message that the aai/test-config project 
does not have a branch release-1.0.0 and the install is broken; if I 
change /opt/config/gerrit_branch.txt to contain "master", I can get AAI to 
run the docker images. (Btw, setting gerrit_branch to "master" in the HEAT 
file didn't give me working environment)
model-router exits after a few seconds run ... docker logs gives a 
one-liner "starting model-loader", the log-directory 
/opt/aai/logroot/AAI-MODEL-LOADER/is empty 
 
DCAE:   if I look in the logs of dcaestartupvmcontroller_dcae-controller_1 
I find lots of  '"exception": "java.lang.IllegalArgumentException: 
!Absolute URI: null/servers"'
 
Tutorial: After fixing all the stuff above, I started the tutorial (which 
now has some licenses and VF added, cool!), but when I try to deploy one 
of them, there is not user pre-configured as it was before. Asking AAI 
with a REST call returns one:
 curl -k "-HX-TransactionId:$(uuidgen)" "-HX-FromAppId: test" 
"-HAccept:application/json" 
https://AAI:AAI@vm1-aai1:8443/aai/v8/business/customers/customer/|json_pp

{
 "subscriber-type" : "INFRA",
 "resource-version" : "1497351232556",
 "global-customer-id" : "Demonstration",
 "subscriber-name" : "Demonstration",
 "service-subscriptions" : {
    "service-subscription" : [
       {
          "resource-version" : "1497351232629",
          "service-type" : "vLB",
          "relationship-list" : {
             "relationship" : [
                {
                   "relationship-data" : [
                      {
                         "relationship-key" : "cloud-region.cloud-owner",
                         "relationship-value" : "Rackspace"
                      },
                      {
                         "relationship-key" : 
"cloud-region.cloud-region-id",
                         "relationship-value" : "RegionOne"
                      },
                      {
                         "relationship-key" : "tenant.tenant-id",
                         "relationship-value" : 
"a90952b7994341f4951fb5e97f829d0d"
                      }
                   ],
                   "related-to" : "tenant",
                   "related-link" : "
https://vm1-aai1:8443/aai/v8/cloud-infrastructure/cloud-regions/cloud-region/Rackspace/RegionOne/tenants/tenant/a90952b7994341f4951fb5e97f829d0d
",
                   "related-to-property" : [
                      {
                         "property-key" : "tenant.tenant-name",
                         "property-value" : "admin"
                      }
                   ]
                }
             ]
          }
       },
       {
          "resource-version" : "1497351232580",
          "relationship-list" : {
             "relationship" : [
                {
                   "related-to" : "tenant",
                   "related-link" : "
https://vm1-aai1:8443/aai/v8/cloud-infrastructure/cloud-regions/cloud-region/Rackspace/RegionOne/tenants/tenant/a90952b7994341f4951fb5e97f829d0d
",
                   "related-to-property" : [
                      {
                         "property-key" : "tenant.tenant-name",
                         "property-value" : "admin"
                      }
                   ],
                   "relationship-data" : [
                      {
                         "relationship-key" : "cloud-region.cloud-owner",
                         "relationship-value" : "Rackspace"
                      },
                      {
                         "relationship-value" : "RegionOne",
                         "relationship-key" : 
"cloud-region.cloud-region-id"
                      },
                      {
                         "relationship-key" : "tenant.tenant-id",
                         "relationship-value" : 
"a90952b7994341f4951fb5e97f829d0d"
                      }
                   ]
                }
             ]
          },
          "service-type" : "vFW"
       }
    ]
 }
}


Now, the question is: Did I do something terribly wrong or do you know the 
few modifications and/or tips & tricks to be made to get the ONAP stack 
and demos working on vanilla Openstack?

Mit freundlichen Grüßen / Kind regards 
Josef Reisinger 



From:        "PLATANIA, MARCO  (MARCO)" <[email protected]>
To:        "[email protected]" <[email protected]>
Date:        09.06.2017 15:25
Subject:        [onap-discuss] [installation] Heat template and 
instructions to run DCAE in vanilla OpenStack
Sent by:        [email protected]






All,

I updated the wiki page about ONAP installation in vanilla OpenStack: 
https://wiki.onap.org/display/DW/ONAP+Installation+in+Vanilla+OpenStack

There?s a new paragraph (in blue) that highlights the necessary steps to 
run DCAE in OpenStack. Please use the following templates for 
installation: onap_openstack_float.yamland onap_openstack_float.env

Note, however, that DCAE team is still working on a DNS issue within the 
DCAE collector docker container. The issue is tracked in this Jira: 
https://jira.onap.org/browse/DCAE-7

Finally, the Heat templates linked above include the new A&AI 
configurations. A&AI now has 2 VMs: one has the docker containers that run 
the A&AI logic and one has databases and third-party software 
dependencies.

Thanks,
Marco
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss





_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to