So how is dns_list even used?

Shaheen

________________________________
From: PLATANIA, MARCO (MARCO) [plata...@research.att.com]
Sent: Friday, May 12, 2017 11:31 AM
To: Ali, Shaheen; ROSE, DANIEL V; onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] (no subject)

Shaheen,

I found that DNS issue too. In some OpenStack deployments, the heat engine 
complains and doesn’t even start. To get around it, I introduced another 
parameter in heat env, which is a simple string and is interpreted correctly by 
heat and docker engines.

So, the heat template now has:
dns_list: LIST OF DNS SERVERS
external_dns: ONE OF THE DNS IP ADDRESSES IN THE PREVIOUS LIST

In this way, both engines are happy. I will investigate later if there’s some 
different approach.

Thanks,
Marco

From: "Ali, Shaheen" <shaheen....@centurylink.com>
Date: Friday, May 12, 2017 at 11:23 AM
To: "PLATANIA, MARCO (MARCO)" <plata...@research.att.com>, "ROSE, DANIEL V" 
<dr6...@att.com>, "onap-discuss@lists.onap.org" <onap-discuss@lists.onap.org>
Subject: RE: [onap-discuss] (no subject)

I found the problem.

The docker opts for DNS were set thus:

DOCKER_OPTS="--dns [123.123.123.1] --mtu=1450"

The problem is the brackets.

Turns out that the external_dns: element in onap_openstack.env file is a list 
and was thus passing in a python list.  In my specific case, I hacked the heat 
template external_dns value with sed before saving it to 
/opt/config/external_dns.txt

echo "__external_dns__" | sed 's/\(.*\)\[\(.*\)\]\(.*\)/\1\2\3/g' > 
/opt/config/external_dns.txt

This is a hack but it got my servers up and working better.

My next problem is that the portal tomcat is not able to communicate with the 
mysql container even though mysql is up and running.  Restarting the containers 
and rebooting the portal VM do not help.

Shaheen

________________________________
From: PLATANIA, MARCO (MARCO) [plata...@research.att.com]
Sent: Friday, May 12, 2017 11:02 AM
To: ROSE, DANIEL V; Ali, Shaheen; onap-discuss@lists.onap.org
Subject: Re: [onap-discuss] (no subject)
Install scripts run as root, unless they are run manually, in which case you 
either grant root access or use sudo.

Based on the message below, it seems to me that the docker engine didn’t 
install correctly.

Shaheen,

could you please verify if docker is actually installed? Try to run “sudo 
docker ps”. If that error message still appears, it means that the docker 
engine didn’t install correctly.

Thanks,
Marco

From: <onap-discuss-boun...@lists.onap.org> on behalf of "ROSE, DANIEL V" 
<dr6...@att.com>
Date: Friday, May 12, 2017 at 10:49 AM
To: "Ali, Shaheen" <shaheen....@centurylink.com>, "onap-discuss@lists.onap.org" 
<onap-discuss@lists.onap.org>
Subject: Re: [onap-discuss] (no subject)

***Security Advisory: This Message Originated Outside of AT&T ***
Reference http://cso.att.com/EmailSecurity/IDSP.html for more information.

Marco seems to be a sudo issue? Are we running as root?

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

From: onap-discuss-boun...@lists.onap.org 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Ali, Shaheen
Sent: Thursday, May 11, 2017 6:33 PM
To: onap-discuss@lists.onap.org
Cc: Ali, Shaheen <shaheen....@centurylink.com>
Subject: [onap-discuss] (no subject)

I just started the latest ONAP heat template and all the servers that depend on 
docker failed on the same line in their install.sh:
Setting up docker-engine (17.05.0~ce-0~ubuntu-trusty) ...
docker start/running, process 25003
Setting up cgroup-lite (1.9) ...
cgroup-lite start/running
Processing triggers for libc-bin (2.19-0ubuntu6.11) ...
Processing triggers for ureadahead (0.100.0-16) ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   600    0   600    0     0   5839      0 --:--:-- --:--:-- --:--:--  5882
100 7857k  100 7857k    0     0  3071k      0  0:00:02  0:00:02 --:--:-- 3722k
docker stop/waiting
start: Job failed to start
Cloning into 'portal'...
...
Warning: failed to get default registry endpoint from daemon (Cannot connect to 
the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon 
running?). Using system default: 
https://index.docker.io/v1/<https://urldefense.proofpoint.com/v2/url?u=https-3A__index.docker.io_v1_&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=KgFIQiUJzSC0gUhJaQxg8eC3w16GC3sKgWIcs4iIee0&m=yTI42mOIyaw4Y6U8o2eHbYBU2IPRck0lo69aUxd4_Po&s=h_dZ5_X8_Qmk7IKrprXo_gTxKm5qgAvYikvDVIm9yJs&e=>
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the 
docker daemon running?

Notice the message: 'start: Job failed to start'.  Have other people seen this 
problem?  Is there a known work around or is there a fix in flight?

Thanks,

Shaheen


This communication is the property of CenturyLink and may contain confidential 
or privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful. If you have received this communication in 
error, please immediately notify the sender by reply e-mail and destroy all 
copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain confidential 
or privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful. If you have received this communication in 
error, please immediately notify the sender by reply e-mail and destroy all 
copies of the communication and any attachments.
This communication is the property of CenturyLink and may contain confidential 
or privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful. If you have received this communication in 
error, please immediately notify the sender by reply e-mail and destroy all 
copies of the communication and any attachments.
_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to