Arun,
if you are lucky, changing the url in keystone_url.txt to 
http://10.110.208.162:5000/v2.0 will do the trick already :-). 

Mit freundlichen Grü?en / Kind regards 
Josef Reisinger 



From:   "Arun Arora (c)" <[email protected]>
To:     Josef Reisinger <[email protected]>
Cc:     "[email protected]" <[email protected]>, 
"Virginie Dotta" <[email protected]>
Date:   20.07.2017 12:00
Subject:        RE: [onap-discuss] DCAE controller-startup.sh fails and 
throws error



Hi Josef,
 
Thanks a lot for the quick reply.
 
@Virginie, it would be great if you can guide me for changes required to 
support both V2 and V3 as Joseph mentioned. I am a bit uninitiated in this 
hence... my question.
Meanwhile, I will try to figure it out as well.
 
Thanks,
Arun
 
From: Josef Reisinger [mailto:[email protected]] 
Sent: Thursday, July 20, 2017 3:25 PM
To: Arun Arora (c) <[email protected]>
Cc: [email protected]; Virginie Dotta <[email protected]>
Subject: RE: [onap-discuss] DCAE controller-startup.sh fails and throws 
error
 
Hi Arun,

I can see that you configured the use of V3 api from openstack ... that is 
not supported in ONAP at this point in time. You might want to change the 
content of keystone_url.txt to be "http://10.110.208.162:5000/v2.0"; and 
give it a try. I include my team member Virginie, who did the magic in 
Openstack configuration for me, to the discussion in case you need 
configuration hints for Openstack to suport V2 and V3 at the same time.

Mit freundlichen Grü?en / Kind regards 
Josef Reisinger 




From:        "Arun Arora (c)" <[email protected]>
To:        Josef Reisinger <[email protected]>, "
[email protected]" <[email protected]>
Date:        20.07.2017 11:39
Subject:        RE: [onap-discuss] DCAE controller-startup.sh fails and 
throws error




Hi Joseph,
 
Following is the output
root@vm1-dcae-controller:~# cat /opt/config/keystone_url.txt
http://10.110.208.162:5000/v3
 
The output of ‘openstack endpoint list’ is attached.
 
 
Thanks,
Arun
 
From: [email protected] [
mailto:[email protected]] On Behalf Of Josef Reisinger
Sent: Thursday, July 20, 2017 2:14 PM
To: [email protected]
Subject: Re: [onap-discuss] DCAE controller-startup.sh fails and throws 
error
 
Arun,

I visited the docker logs of the docker container in the DCAE controller 
to compare them with yours. As far as I can see, I get the same "File not 
found" exceptions for example
exception: OPENECOMP-DEMO-ZONE/cdap-instances/cdap-helloworld.yaml class 
java.nio.file.NoSuchFileException
Same for the jar files
error: cp: cannot stat '/opt/app/dcae-*-jars/lib/*.jar': No such file or 
directory
cp: cannot stat '/opt/app/dcae-*-model/lib/*.jar': No such file or 
directory
cp: cannot stat '/opt/app/dcae-*-manager/lib/*.jar': No such file or 
directory
cp: cannot stat '/opt/app/dcae-*-adaptor/lib/*.jar': No such file or 
directory
cp: cannot stat '/opt/app/ncomp-*-jars/lib/*.jar': No such file or 
directory
cp: cannot stat '/opt/app/ncomp-*-model/lib/*.jar': No such file or 
directory
cp: cannot stat '/opt/app/ncomp-*-manager/lib/*.jar': No such file or 
directory
cp: cannot stat '/opt/app/ncomp-*-adaptor/lib/*.jar': No such file or 
directory
and even the same for 
error: Loading runtime factory: 
org.openecomp.dcae.controller.service.servers.docker.DcaeDockerFactory

I ignored these errors in the very beginning and well, DCAE works for me 
:-)

This line
bin/dcae-controller.sh deploy-user -l $ZONE -p ONAP -u $OPENSTACK_KEYNAME
Caught: org.openecomp.ncomp.sirius.manager.Jetty8ClientException: HTTP 
Request Failed: URL: 
http://localhost:9998/resources/services/vm-postgresqlcode:400 
msg:REQUEST-FAILED-UNDEPLOY-4001W REQUEST-FAILED-DELETESERVER-4001W 
!Absolute URI: null/servers
is the first real error and remember to have seen this "null" in the URI 
once also.. but I didn't write thesolution down, so I need to make some 
assumptions here. I think it has to do with the communication with the 
openstack controller. 
What I remember is the usage of the default host name 'controller' for the 
controller host. Not a good choice btw, but we did it. 

To verify this is the correct path, could you post the content of 
/opt/config/keystone_url.txt on the dcae controller and the output of the 
command "openstack endpoint list" on the openstack controller? Or, 
likewise, check whether there is a host name in either of them? If there 
is a hostname, can it be resolved from the container in the  DCAE 
controller, i.e. with the command
docker exec -it dcaestartupvmcontroller_dcae-controller_1 ping controller


Mit freundlichen Grü?en / Kind regards 
Josef Reisinger 

When wisdom comes to call, there's nobody listening at all - Pendragon / 
Man Of Nomadic Traits 
Certified IT-Architect Telecommunications
IBM Certified Telecommunications Industry ITA
Global Telecommunications, Media and Entertainment Industry
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:        "Arun Arora (c)" <[email protected]>
To:        Arun Arora <[email protected]>, "LUND, CARSTEN  (CARSTEN)" 
<[email protected]>, "PLATANIA, MARCO  (MARCO)" <
[email protected]>
Cc:        "[email protected]" <[email protected]>
Date:        20.07.2017 09:43
Subject:        Re: [onap-discuss] DCAE controller-startup.sh fails and 
throws error
Sent by:        [email protected]





Forgot to attach the logs. Sending now.

Thanks,
Arun



From: Arun Arora (c)
Sent: Thursday, July 20, 2017 1:11:05 PM
To: Arun Arora; LUND, CARSTEN (CARSTEN); PLATANIA, MARCO (MARCO)
Cc: [email protected]
Subject: RE: [onap-discuss] DCAE controller-startup.sh fails and throws 
error 

@Carsten, I redeployed and didn’t see any extra SPACE in the logs. 
However, it also didn’t help. Seeing the same issue.
Also, I didn’t see any SPACE in config.yaml so no change was required as 
well. It might be logs saving issue where I saved the Linux terminal logs 
into Windows Notepad, can’t say for sure though.

@Marco, tried the commands you suggested but no joy.


Thanks,
Arun

From: Arun Arora [mailto:[email protected]] 
Sent: Thursday, July 20, 2017 12:59 AM
To: Arun Arora (c) <[email protected]>; LUND, CARSTEN (CARSTEN) <
[email protected]>; PLATANIA, MARCO (MARCO) <[email protected]
>
Cc: [email protected]
Subject: Re: [onap-discuss] DCAE controller-startup.sh fails and throws 
error

Thanks Marco. 
Will get back here soon with results. 
Regards, 
Arun

From: PLATANIA, MARCO  (MARCO)
Sent: Thursday, July 20, 12:09 AM
Subject: Re: [onap-discuss] DCAE controller-startup.sh fails and throws 
error
To: Arun Arora (c), LUND, CARSTEN  (CARSTEN)
Cc: [email protected]

Arun,

You can modify the yaml file manually. Then you have to run “make down” to 
shutdown the entire environment and then “bash init.sh” and “make up” to 
startup again. Those files are in /opt/dcae-startup-vm-controller.

No need to rebuild ONAP.

Thanks,
Marco


From: <[email protected]> on behalf of "Arun Arora (c)" 
<[email protected]>
Date: Wednesday, July 19, 2017 at 2:00 PM
To: "LUND, CARSTEN (CARSTEN)" <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [onap-discuss] DCAE controller-startup.sh fails and throws 
error

Okay, thanks for pointing that out. I think redeploying ONAP stack is not 
necessary? Will it be fine if I just change the Zone in config.yaml in 
DCAE and rerun dcae_install.shmanually? 
Also, do you think this is causing the problem of missing files and 
directories?
Thanks, 
Arun
On Jul 19, 2017, at 11:06 PM, "LUND, CARSTEN (CARSTEN)" <
[email protected]> wrote: 
I noticed this from the log 
 
+ export 'ZONE=NorthIndia ' 
+ ZONE='NorthIndia ' 
 
Note the space after NorthIndia. 
 
Please remove from config.yaml and redeploy. 
 
Carsten 
 
From: [email protected][
mailto:[email protected]] On Behalf Of Arun Arora (c)
Sent: Wednesday, July 19, 2017 9:29 AM
To: MAJHI, TAPAN <[email protected]>; Josef Reisinger <
[email protected]>; FREEMAN, BRIAN D <[email protected]>; 
[email protected]
Subject: Re: [onap-discuss] DCAE controller-startup.sh fails and throws 
error 
 
Hi All, 
 
Regarding the issue I am facing for DCAE VMs deployment, the immediate 
blocker for me is required files and directories are not found (like 
cdap-instances, docker-instances, docker-instances). I am suspecting these 
directories are created in run-time as I searched them in the DCAA VM, 
Container and DCAE Demo Gittree but couldn’t find them. 
Attaching the execution logs for your reference. All errors for missing 
files, directories are mentioned as exceptions in the attached execution 
log. 
 
1)      I tried with rel-1.0and rel-1.1 but both gave same errors 
2)      Also tried with both 2-NIC and 1-NIC-FLOATING-IPS. No luck in this 
as well 
3)      Currently using 1-NIC-FLOATING-IPS 
4)      Verified config.yaml parameters with all configurations and 
modifications in https://jira.onap.org/browse/DCAEGEN2-69and 
https://jira.onap.org/browse/DCAEGEN2-7
5)      Found some more config issues in the config.yaml and fixed 
6)      Finally, made sure the execution is going as per the sequence 
mentioned in https://wiki.onap.org/display/DW/DCAE
+Controller+Development+Guide
 
The problem happens with the following command execution done as part of ‘
make gen-config sync restart’ 
java -cp 'lib/*' 
org.openecomp.dcae.controller.operation.utils.GenControllerConfiguration 
$ZONE . GITLINK OPENECOMP-DEMO 
 
I am not able to find the directories/ files listed in the errors. 
 
Any pointers from anyone who have fixed these issues? 
@Tapan, @Joseph, @Brian, special mention to you for any pointers to 
resolve this issue, as you have finished the deployment (Congrats BTW J ) 
 
 
Thanks & Regards, 
Arun Arora 
 
PS: Wanted to mention again, I am deploying on VIO (VMware Integrated 
OpenStack)
 
 
 
 
From: Kanagaraj Manickam [mailto:[email protected]] 
Sent: Tuesday, July 18, 2017 8:29 PM
To: Arun Arora (c) <[email protected]>; [email protected]
Subject: RE: DCAE controller-startup.sh fails and throws error 
 
We also faced this issue and created an JIRA ID: DCAEGEN2-69 
 
And  we tried to provided required conf and logs. Please let us know if 
additional details required. 
 
Thanks. 
 
Regards 
Kanagaraj M 
 
***************************************************************************************

本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群
组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散
发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除
本邮件!
**************************************************************************************
***************************************************************************************
This e-mail and its attachments contain confidential information from 
HUAWEI, which is intended only for the person  or entity whose address is 
listed above. Any use of the information contained herein in any way 
(including, but not   limited to, total or partial disclosure, 
reproduction, or dissemination) by persons other than the intended 
recipient(s) is  prohibited. If you receive this e-mail in error, please 
notify the sender by phone or email immediately and delete it!
***************************************************************************************
 

 
From: [email protected][
mailto:[email protected]] On Behalf Of Arun Arora (c)
Sent: Tuesday, July 18, 2017 7:47 PM
To: [email protected]
Subject: [onap-discuss] DCAE controller-startup.sh fails and throws error 
 
Hi All, 
 
We are trying to deploy ONAP on VIO. Using the following YAML and env 
files: 
https://gerrit.onap.org/r/gitweb?p=demo.git;a=blob;f=heat/OpenECOMP
/onap_openstack_float.yaml;h=659f94c93b9c5dfae02031ddcae82161ce927318;hb
=refs/heads/master
https://gerrit.onap.org/r/gitweb?p=demo.git;a=blob;f=heat/OpenECOMP
/onap_openstack_float.yaml;h=659f94c93b9c5dfae02031ddcae82161ce927318;hb
=refs/heads/master
 
 
In the DCAE VM, the dcae-controller docker is running however, 
controller-startup.sh inside it fails with error. Seen the following and 
fixed 
1)      /etc/hosts has static IP addresses for each DCAE VM which does not 
match with the Private subnet IP addresses mentioned in ENV file. So 
changed the IP addresses in /etc/hosts 
2)      FYI, the floating IPs for DCAE VMs are created in the VIO and are 
also mentioned in the ENV file (Total 6 IPs including 1 for 
dcae-controller) 
 
 
After this, on executing controller-startup.sh, varied errors are seem and 
finally additional VMs are not created. The command execution gets stuck 
in a wait loop. Some of the errors are following. 
1)  destinationRoot=GITLINK/OPENECOMP-DEMO-NorthIndia/controller-gen 
exception: OPENECOMP-DEMO-NorthIndia/cdap-instances/cdap-tca-hi-lo.yaml 
class java.nio.file.NoSuchFileException 
exception: OPENECOMP-DEMO-NorthIndia/cdap-instances/cdap-helloworld.yaml 
class java.nio.file.NoSuchFileException 
exception: 
OPENECOMP-DEMO-NorthIndia/docker-instances/docker-common-event.yaml class 
java.nio.file.NoSuchFileException 
exception: 
OPENECOMP-DEMO-NorthIndia/docker-instances/docker-databus-controller.yaml 
class java.nio.file.NoSuchFileException 
exception: OPENECOMP-DEMO-NorthIndia/chef.yaml class 
java.nio.file.NoSuchFileException 
exception: OPENECOMP-DEMO-NorthIndia/vm-instances/vm-controller.yaml class 
java.nio.file.NoSuchFileException 
XXXXX: ./OPENECOMP-DEMO-NorthIndia/vm-config/vm-controller 
exception: OPENECOMP-DEMO-NorthIndia/vm-instances/vm-postgresql.yaml class 
java.nio.file.NoSuchFileException 
 
2)      Enter keystore password:  keytool error: java.lang.Exception: 
Certificate not imported, alias <simpledemo-root-ca> already exists 
 
 
Complete Log file is attached. Attaching all logs files for reference. Pls 
point to any possible solution for this. 
 
Thanks & Regards, 
Arun Arora 
[attachment "controller-startup-exec2.txt" deleted by Josef 
Reisinger/Germany/IBM] _______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

[attachment "endpt_list.txt" deleted by Josef Reisinger/Germany/IBM] 




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

Reply via email to