Hi Arun,

Share the following logs as stated.

1. execute command : docker logs vid-server
2. check for database name in file /opt/vid/lf_config/vid-pre-init.sql 
vid_openecomp or vid_openecomp_ epsdk
3. artifacts_version : 1.0.0-SNAPSHOT uses vid_openecomp database while 
artifacts_version: 1.1.0-SNAPSHOT uses vid_openecomp_ epsdk.
so cat /opt/config/artifacts_version.txt /opt/config/docker_version.txt 
/opt/config/gerrit_branch.txt
Output should match in line with database used in file 
/opt/vid/lf_config/vid-pre-init.sql

4. Share the error.log file output.

Regards,
Ajay Priyadarshi


Date: Tue, 30 May 2017 17:57:47 +0200
From: "Josef Reisinger" 
<[email protected]<mailto:[email protected]>>
To: "Arun Arora (c)" <[email protected]<mailto:[email protected]>>
Cc: "\[onap-discuss\]" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [onap-discuss] VID VM , MariaDb docker does not remain
        running
Message-ID:
        
<ofb6a46ee4.34e290c3-onc1258130.0056c95e-c1258130.0057a...@notes.na.collabserv.com<mailto:ofb6a46ee4.34e290c3-onc1258130.0056c95e-c1258130.0057a...@notes.na.collabserv.com>>

Content-Type: text/plain; charset="iso-8859-1"

Arun,

could your issue be related to the one described here:
https://wiki.onap.org/questions/5736012/answers/6586792. If yes, could you
find a solution there? If not would you mind to record your issue with the
VID database in https://wiki.onap.org/questions ? I am running two
instances of ONAP right now on v. Openstack and ith helped in the first
instance.

I had some issues with exact the same database today in my second instance
and in tried something different to what is provided as a solution in the
above mentioned link (to give vidadmin rights to everything), I changed
the script in /opt/vid_vm_init.sh and changed the DB name from
vid_openecomp_epsdk to vid_openecomp. And VID worked too.

Btw, if you want to attach to one of the docker container, vid-mariadb
needs to be running. "docker start vid-mariadb " gives you the database
container back and you can exec to vid-server or/and vid-mariadb

Mit freundlichen Gr??en / Kind regards
Josef Reisinger



From:   "Arun Arora (c)" <[email protected]<mailto:[email protected]>>
To:     Elhay Efrat <[email protected]<mailto:[email protected]>>, 
"Lefevre, Catherine"
<[email protected]<mailto:[email protected]>>, 
"[email protected]<mailto:[email protected]>"
<[email protected]<mailto:[email protected]>>
Cc:     "Kapil Gupta \(c\)" <[email protected]<mailto:[email protected]>>
Date:   30.05.2017 17:28
Subject:        Re: [onap-discuss] VID VM , MariaDb docker does not remain
running
Sent by:        
[email protected]<mailto:[email protected]>



FYI, some info regarding the VID VM and docker. It might be relevant if
there is any fix done in the master branch which his not available in the
release-1.0.0 branch.

root@vm1-vid:/opt/config# cat artifacts_version.txt docker_version.txt
gerrit_branch.txt
1.1.0-SNAPSHOT
1.0-STAGING-latest
release-1.0.0

Thanks,
Arun

From: Arun Arora (c)
Sent: Tuesday, May 30, 2017 8:48 PM
To: Elhay Efrat <[email protected]<mailto:[email protected]>>; 
Lefevre, Catherine
<[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
Cc: Kapil Gupta (c) <[email protected]<mailto:[email protected]>>
Subject: RE: [onap-discuss] VID VM , MariaDb docker does not remain
running

HI Catherine, Efrat,

I am not able to find /opt/app/vid/logs/vid or /usr/local/tomcat/logs/
directories.
I am assuming these are in the VID VM and not in the docker container.
Also, I am not able to log in the docker container as it is rendered
unavailable even when I can see the vid-server container in docker ps list
Pls let me know what else can be done to understand the issue symptoms.

Thanks,
Arun

From: Elhay Efrat [mailto:[email protected]]
Sent: Monday, May 29, 2017 11:36 PM
To: Lefevre, Catherine <[email protected]<mailto:[email protected]>>; Arun 
Arora (c) <
[email protected]<mailto:[email protected]>>; 
[email protected]<mailto:[email protected]>
Cc: Kapil Gupta (c) <[email protected]<mailto:[email protected]>>
Subject: RE: [onap-discuss] VID VM , MariaDb docker does not remain
running

Please add also
Docker logs {mariadb-docker-id}


From: 
[email protected]<mailto:[email protected]> 
on behalf of Lefevre, Catherine
Sent: Monday, May 29, 2017 5:59:59 PM
To: Arun Arora (c); 
[email protected]<mailto:[email protected]>
Cc: Kapil Gupta (c)
Subject: Re: [onap-discuss] VID VM , MariaDb docker does not remain
running
Hi Arun,

Could you please provide some logs, traces in order to better understand
your current MariaDB issue?

Logging/Diagnostic Information
Application logs:
/opt/app/vid/logs/vid
audit.log for transaction details
application.log for detailed application logs and debugging
debug.log for debugging output
error.log for exception debugging
metrics.log for metrics on transactions
Application server logs:
/usr/local/tomcat/logs/
localhost_access_log.YYYY-mm-dd.txt contains access log info
catalina.2017-02-28.log tomcat information
Did you also check the following discussion?
https://lists.onap.org/pipermail/onap-discuss/2017-May/000911.html

Best regards
Catherine

From: 
[email protected]<mailto:[email protected]> 
[
mailto:[email protected]] On Behalf Of Arun Arora (c)
Sent: Friday, May 26, 2017 2:16 PM
To: [email protected]<mailto:[email protected]>
Cc: Kapil Gupta (c) <[email protected]<mailto:[email protected]>>
Subject: [onap-discuss] VID VM , MariaDb docker does not remain running

Hi All,

We have deployed ONAP on Vanilla OpenStack Mitaka (On top of CentOS 7).
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


After ONAP stack deployment, Mariadb docker inside VID VM starts but is
exiting after sometime.
Can anyone provide any pointers on why the mariadb docker stops, or is
this the desired behavior?

Thanks & Regards,
Arun Arora
This message and the information contained herein is proprietary and
confidential and subject to the Amdocs policy statement,
you may review at https://www.amdocs.com/about/email-disclaimer
_______________________________________________
onap-discuss mailing list
[email protected]<mailto:[email protected]>
https://lists.onap.org/mailman/listinfo/onap-discuss




-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170530/03c5c646/attachment-0001.html>

------------------------------

"Confidentiality Warning: This message and any attachments are intended only 
for the use of the intended recipient(s). 
are confidential and may be privileged. If you are not the intended recipient. 
you are hereby notified that any 
review. re-transmission. conversion to hard copy. copying. circulation or other 
use of this message and any attachments is 
strictly prohibited. If you are not the intended recipient. please notify the 
sender immediately by return email. 
and delete this message and any attachments from your system.

Virus Warning: Although the company has taken reasonable precautions to ensure 
no viruses are present in this email. 
The company cannot accept responsibility for any loss or damage arising from 
the use of this email or attachment."
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to