Hey All,

I fixed the contrail-named issues. By running it without sudo, and with the –u 
contrail, and changing the files over to contrail user, and running from root. 
I am not sure if this is proper, but it is functional.

However the vRouter still doesn’t have any interfaces or routes. Also is there 
a way of clearing errors from contrail-status, I think it is still reporting 
old issues.

Thanks!

Bob

From: Dev [mailto:[email protected]] On Behalf Of Robert Ellis
Sent: Wednesday, June 08, 2016 10:46 AM
To: Michael Henkel; [email protected]
Subject: Re: [opencontrail-dev] vRouter and Named issues with Devstack + 
contrail-installer

Hey Michael,

Thanks that got the named server running, but it now has another permission 
issue:
07-Jun-2016 18:35:36.304 generating session key for dynamic DNS
07-Jun-2016 18:35:36.305 Could not open 
'/opt/stack/contrail/build/var/run/named/session.key'.
07-Jun-2016 18:35:36.306 Please check file and directory permissions or 
reconfigure the filename.
07-Jun-2016 18:35:36.306 could not open file 
'/opt/stack/contrail/build/var/run/named/session.key': Permission denied
07-Jun-2016 18:35:36.307 could not create 
/opt/stack/contrail/build/var/run/named/session.key
07-Jun-2016 18:35:36.308 failed to generate session key for dynamic DNS: 
permission denied

I have looked at that file, it is being created as root with only root access. 
I can change the permissions of the file, but on re-running named it recreates 
the file with those permissions again.

Bob

From: Michael Henkel [mailto:[email protected]]
Sent: Wednesday, June 08, 2016 10:34 AM
To: Robert Ellis; [email protected]<mailto:[email protected]>
Subject: Re: [opencontrail-dev] vRouter and Named issues with Devstack + 
contrail-installer

Hi Rob,

Start contrail-named with the following switches:

/usr/bin/contrail-named –f –g –u contrail –c 
/etc/contrail/dns/contrail-named.conf

Regards,
Michael

From: Dev 
<[email protected]<mailto:[email protected]>> 
on behalf of Robert Ellis 
<[email protected]<mailto:[email protected]>>
Date: Wednesday 8 June 2016 at 17:16
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [opencontrail-dev] vRouter and Named issues with Devstack + 
contrail-installer

Hello All,

I have been working on getting an Ubuntu VM running with Kilo Openstack and the 
latest master download on OpenContrail using the contrail-installer as an all 
in one. I assume this is a usable enviorment for doing OpenContrail development.

I got a lot of it up and running. OpenStack is running fine. Contrail web is up 
and can see information from OpenStack. However the vRouter is down and has 
nothing in its interface list.

Contrail-status says everything is good except contrail-named. This is giving 
the following error:
sudo /usr/bin/contrail-named -f -c /etc/contrail/dns/contrail-named.conf
isc_file_isplainfile '/var/log/contrail/contrail-named.log' failed: permission 
deniednamed failed to start
stack@ubuntu:~/contrail-installer$

I have tried changing the permissions to files as 777 assuming it was a file it 
was failing to get permission for, but that has not worked. Any suggestion, and 
is this a good environment to start contributing to OpenContrail?

Thanks!

Bob
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to