Thanks Josef,

Indeed the /etc/resolv.conf in all the sdnc containers contains dummy values 
instead of the expected entries:


root@7d1a4e03a38d:/# cat /etc/resolv.conf

search cisco.com

nameserver 127.0.0.11

options ndots:0

The difference in my case I guess is that my sdnc VM resolv.conf looks correct. 
I checked other VMs and their containers and they are all in sync and using the 
right dns entries. Looks like it’s only the sdnc containers getting the wrong 
info. Is there a proper way to force the sdnc containers to get the right info?
I will try to change the compose file to manually change the dns config, hope 
it fixes the problem for now.

Thanks,
Alex
From: Josef Reisinger <[email protected]>
Date: Wednesday, May 24, 2017 at 12:53 AM
To: "Alex Vicol (avicol)" <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [onap-discuss] SDNC container keeps failing

Alex,

I can see the getaddrinfo ENOTFOUND error which hit me too as few days ago. For 
me it could be resolved with a bit weird change of the resolv.conf of the SDC 
VM. See details here: 
https://wiki.onap.org/questions/5734531/sdnc---portal-container-error-npm-err-network-getaddrinfo-enotfound<https://wiki.onap.org/questions/5734531/sdnc---portal-container-error-npm-err-network-getaddrinfo-enotfound>

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:        "Alex Vicol (avicol)" <[email protected]>
To:        "[email protected]" <[email protected]>
Date:        24.05.2017 09:10
Subject:        [onap-discuss]  SDNC container keeps failing
Sent by:        [email protected]
________________________________



Hi everyone,

One of the sdnc containers (the portal_container) keeps failing in our 
Openstack deployment. Using 1.0-STAGING-latestas the docker version. Looks like 
it’s complaining about a network issue or a missing “debug” module, but not 
clear what the problem is. Overall the ONAP deployment is up and running fine: 
portal, sdc, vid, appc, … I’m able to run the demo part until the preload part. 
That’s where it’s complaining about the sdnc portal being down.

root@vm1-sdnc:/opt# docker ps
CONTAINER ID        IMAGE                                   COMMAND             
     CREATED             STATUS              PORTS                     NAMES
8900dc6eb41f        openecomp/dgbuilder-sdnc-image:latest   "/bin/bash -c 'cd 
..."   2 hours ago         Up 2 hours          0.0.0.0:3000->3100/tcp    
sdnc_dgbuilder_container
809db6dad2dc        openecomp/admportal-sdnc-image:latest   "/bin/bash -c 'cd 
..."   2 hours ago         Up 4 seconds        0.0.0.0:8843->8843/tcp    
sdnc_portal_container
d91cf4c9470b        openecomp/sdnc-image:latest             
"/opt/openecomp/sd..."   2 hours ago         Up 2 hours          
0.0.0.0:8282->8181/tcp    sdnc_controller_container
d9987a61cbbe        mysql/mysql-server:5.6                  "/entrypoint.sh 
my..."   7 days ago          Up 6 days           0.0.0.0:32768->3306/tcp   
sdnc_db_container
root@vm1-sdnc:/opt#
root@vm1-sdnc:/opt# docker logs sdnc_portal_container
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/ejs
npm http GET https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/express-session
npm http GET https://registry.npmjs.org/fs.extra
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/moment
npm http GET https://registry.npmjs.org/morgan
npm http GET https://registry.npmjs.org/multer
npm http GET https://registry.npmjs.org/mysql
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/path
npm http GET https://registry.npmjs.org/properties-reader/0.0.9
npm http GET https://registry.npmjs.org/sax
npm http GET https://registry.npmjs.org/body-parser
npm http GET https://registry.npmjs.org/serve-favicon
npm http GET https://registry.npmjs.org/xml2js
npm http GET https://registry.npmjs.org/dns-sync
npm http GET https://registry.npmjs.org/bootstrap
npm http GET https://registry.npmjs.org/bootstrap-table
npm http GET https://registry.npmjs.org/cookie-parser
npm http GET https://registry.npmjs.org/csv
npm http GET https://registry.npmjs.org/csvtojson
npm http GET https://registry.npmjs.org/dateformat
npm http GET https://registry.npmjs.org/bootstrap-submenu
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/ejs
npm http GET https://registry.npmjs.org/express-session
npm http GET https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/fs.extra
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/moment
npm http GET https://registry.npmjs.org/morgan
npm http GET https://registry.npmjs.org/multer
npm http GET https://registry.npmjs.org/mysql
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/path
npm http GET https://registry.npmjs.org/properties-reader/0.0.9
npm http GET https://registry.npmjs.org/sax
npm http GET https://registry.npmjs.org/body-parser
npm http GET https://registry.npmjs.org/serve-favicon
npm http GET https://registry.npmjs.org/xml2js
npm http GET https://registry.npmjs.org/dns-sync
npm http GET https://registry.npmjs.org/bootstrap
npm http GET https://registry.npmjs.org/bootstrap-table
npm http GET https://registry.npmjs.org/cookie-parser
npm http GET https://registry.npmjs.org/csv
npm http GET https://registry.npmjs.org/csvtojson
npm http GET https://registry.npmjs.org/dateformat
npm http GET https://registry.npmjs.org/bootstrap-submenu
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/ejs
npm http GET https://registry.npmjs.org/express-session
npm http GET https://registry.npmjs.org/fs.extra
npm http GET https://registry.npmjs.org/moment
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/morgan
npm http GET https://registry.npmjs.org/multer
npm http GET https://registry.npmjs.org/mysql
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/path
npm http GET https://registry.npmjs.org/properties-reader/0.0.9
npm http GET https://registry.npmjs.org/sax
npm http GET https://registry.npmjs.org/body-parser
npm http GET https://registry.npmjs.org/serve-favicon
npm http GET https://registry.npmjs.org/xml2js
npm http GET https://registry.npmjs.org/dns-sync
npm http GET https://registry.npmjs.org/bootstrap
npm http GET https://registry.npmjs.org/bootstrap-table
npm http GET https://registry.npmjs.org/cookie-parser
npm http GET https://registry.npmjs.org/csv
npm http GET https://registry.npmjs.org/csvtojson
npm http GET https://registry.npmjs.org/dateformat
npm http GET https://registry.npmjs.org/bootstrap-submenu
npm ERR! network getaddrinfo ENOTFOUND
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network 
settings.
npm ERR! network v
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

npm ERR! System Linux 3.13.0-116-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /opt/openecomp/sdnc/admportal
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! syscall getaddrinfo
npm ERR! code ENOTFOUND
npm ERR! errno ENOTFOUND
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /opt/openecomp/sdnc/admportal/npm-debug.log
npm ERR! not ok code 0

module.js:340
    throw err;
          ^
Error: Cannot find module 'debug'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/opt/openecomp/sdnc/admportal/shell/www:2:13)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
npm http GET https://registry.npmjs.org/bootstrap-submenu
npm http GET https://registry.npmjs.org/bootstrap-table
npm http GET https://registry.npmjs.org/cookie-parser
npm http GET https://registry.npmjs.org/csv
npm http GET https://registry.npmjs.org/csvtojson
npm http GET https://registry.npmjs.org/dateformat
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/ejs
npm http GET https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/express-session
npm http GET https://registry.npmjs.org/fs.extra
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/moment
npm http GET https://registry.npmjs.org/morgan
npm http GET https://registry.npmjs.org/multer
npm http GET https://registry.npmjs.org/mysql
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/path
npm http GET https://registry.npmjs.org/properties-reader/0.0.9
npm http GET https://registry.npmjs.org/sax
npm http GET https://registry.npmjs.org/serve-favicon
npm http GET https://registry.npmjs.org/xml2js
npm http GET https://registry.npmjs.org/dns-sync
npm http GET https://registry.npmjs.org/body-parser
npm http GET https://registry.npmjs.org/bootstrap
npm http GET https://registry.npmjs.org/bootstrap-submenu
npm http GET https://registry.npmjs.org/bootstrap-table
npm http GET https://registry.npmjs.org/cookie-parser
npm http GET https://registry.npmjs.org/csv
npm http GET https://registry.npmjs.org/csvtojson
npm http GET https://registry.npmjs.org/dateformat
npm http GET https://registry.npmjs.org/debug
npm http GET https://registry.npmjs.org/ejs
npm http GET https://registry.npmjs.org/express
npm http GET https://registry.npmjs.org/express-session
npm http GET https://registry.npmjs.org/fs.extra
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/moment
npm http GET https://registry.npmjs.org/morgan
npm http GET https://registry.npmjs.org/multer
npm http GET https://registry.npmjs.org/mysql
npm http GET https://registry.npmjs.org/node-uuid
npm http GET https://registry.npmjs.org/path
npm http GET https://registry.npmjs.org/properties-reader/0.0.9
npm http GET https://registry.npmjs.org/sax
npm http GET https://registry.npmjs.org/serve-favicon
npm http GET https://registry.npmjs.org/xml2js
npm http GET https://registry.npmjs.org/dns-sync
npm http GET https://registry.npmjs.org/body-parser
npm http GET https://registry.npmjs.org/bootstrap

root@vm1-sdnc:~# docker ps
CONTAINER ID        IMAGE                                   COMMAND             
     CREATED             STATUS              PORTS                     NAMES
8900dc6eb41f        openecomp/dgbuilder-sdnc-image:latest   "/bin/bash -c 'cd 
..."   12 hours ago        Up 12 hours         0.0.0.0:3000->3100/tcp    
sdnc_dgbuilder_container
d91cf4c9470b        openecomp/sdnc-image:latest             
"/opt/openecomp/sd..."   12 hours ago        Up 12 hours         
0.0.0.0:8282->8181/tcp    sdnc_controller_container
d9987a61cbbe        mysql/mysql-server:5.6                  "/entrypoint.sh 
my..."   8 days ago          Up 6 days           0.0.0.0:32768->3306/tcp   
sdnc_db_container
root@vm1-sdnc:~#

root@vm1-sdnc:~# docker images
REPOSITORY                                             TAG                  
IMAGE ID            CREATED             SIZE
openecomp/dgbuilder-sdnc-image                         latest               
41bf56fdaa3d        17 hours ago        840MB
nexus3.onap.org:10001/openecomp/dgbuilder-sdnc-image   1.0-STAGING-latest   
41bf56fdaa3d        17 hours ago        840MB
nexus3.onap.org:10001/openecomp/admportal-sdnc-image   1.0-STAGING-latest   
09d39de719f4        17 hours ago        770MB
openecomp/admportal-sdnc-image                         latest               
09d39de719f4        17 hours ago        770MB
openecomp/sdnc-image                                   latest               
8c60397b853f        17 hours ago        1.42GB
nexus3.onap.org:10001/openecomp/sdnc-image             1.0-STAGING-latest   
8c60397b853f        17 hours ago        1.42GB
nexus3.onap.org:10001/openecomp/dgbuilder-sdnc-image   <none>               
aafd7f410691        6 days ago          840MB
nexus3.onap.org:10001/openecomp/admportal-sdnc-image   <none>               
5e235303f23d        6 days ago          770MB
nexus3.onap.org:10001/openecomp/sdnc-image             <none>               
9bd958292d9f        6 days ago          1.42GB
nexus3.onap.org:10001/openecomp/dgbuilder-sdnc-image   <none>               
15c222b3abc2        7 days ago          840MB
nexus3.onap.org:10001/openecomp/admportal-sdnc-image   <none>               
660e9a2b11a5        7 days ago          770MB
nexus3.onap.org:10001/openecomp/sdnc-image             <none>               
c602c0d312e2        7 days ago          1.42GB
nexus3.onap.org:10001/openecomp/dgbuilder-sdnc-image   <none>               
7e9860352167        8 days ago          917MB
nexus3.onap.org:10001/openecomp/admportal-sdnc-image   <none>               
cde6da85578e        8 days ago          847MB
nexus3.onap.org:10001/openecomp/sdnc-image             <none>               
92e2e34d164e        8 days ago          1.49GB
mysql/mysql-server                                     5.6                  
adcd325a1b5d        6 weeks ago         214MB
root@vm1-sdnc:~#

Thanks,
Alex





 _______________________________________________
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