I am alo trying to install opencontrail using [1]. All steps are correctly executed execpt ./contrail.sh start.
The attached is /var/log/contrail/contrail-api.log in that platform. [1] https://github.com/Juniper/contrail-installer On 31 March 2016 at 15:40, Alioune <[email protected]> wrote: > I have checked /var/log/contrail repository but there is not such file > > On 31 March 2016 at 15:36, Adrian Smith <[email protected]> wrote: > >> api-0-zk.log is the contrail API's zookeeper client log file. The >> contrail API application log file would be more useful, i.e. >> /var/log/contrail/contrail-api.log. Does it exist? >> >> Adrian >> >> >> On 31 March 2016 at 14:10, Alioune <[email protected]> wrote: >> > Hi Adrian, >> > The attached is /var/log/contrail/api-0-zk.log . >> > >> > Regards, >> > >> > On 31 March 2016 at 15:00, Adrian Smith <[email protected]> wrote: >> >> >> >> Hi Alioune, >> >> >> >> Is there anything of interest in the contrail API log, >> >> /var/log/contrail/contrail-api.log? >> >> >> >> Adrian >> >> >> >> >> >> On 31 March 2016 at 10:38, Alioune <[email protected]> wrote: >> >> > Hi guys, >> >> > >> >> > I've tried ./stack.sh again but I get same error: >> >> > >> >> > 2016-03-31 09:29:17.066 | ++ is_service_enabled api-srv >> >> > 2016-03-31 09:29:17.087 | ++ return 0 >> >> > 2016-03-31 09:29:17.089 | ++ wget --no-proxy --retry-connrefused >> >> > --no-check-certificate --waitretry=1 -t 60 -q -O /dev/null >> >> > http://192.168.56.50:8082 >> >> > 2016-03-31 09:29:31.121 | ++ echo 'Contrail api failed to start' >> >> > 2016-03-31 09:29:31.123 | Contrail api failed to start >> >> > >> >> > Both curl commands curl http://192.168.56.50:8082 and curl -u >> >> > admin:admin >> >> > http://192.168.56.50:8082 return : >> >> > Authentication required >> >> > >> >> > Someone has already got such errors ? >> >> > >> >> > Regards, >> >> > >> >> > >> >> > On 30 March 2016 at 17:48, Édouard Thuleau < >> [email protected]> >> >> > wrote: >> >> >> >> >> >> Exact and as you use the default devstack configuration you don't >> need >> >> >> to >> >> >> provide any credentials. >> >> >> Curl can do the job or you can have a look to this cli tools [1] >> which >> >> >> is >> >> >> much more friendly. >> >> >> >> >> >> [1] https://github.com/eonpatapon/contrail-api-cli >> >> >> >> >> >> Édouard. >> >> >> >> >> >> On Wed, Mar 30, 2016 at 5:44 PM, Edgar Magana >> >> >> <[email protected]> >> >> >> wrote: >> >> >>> >> >> >>> You just need to make a CURL request. Contrail provide a REST >> server >> >> >>> listening on that port. >> >> >>> >> >> >>> Edgar >> >> >>> >> >> >>> From: Users <[email protected]> on behalf of >> >> >>> Alioune >> >> >>> <[email protected]> >> >> >>> Date: Wednesday, March 30, 2016 at 8:39 AM >> >> >>> To: Édouard Thuleau <[email protected]> >> >> >>> Cc: "<[email protected]>" <[email protected] >> > >> >> >>> Subject: Re: [Users] Install Desvstack with Opencontrail plugin >> >> >>> >> >> >>> In fact I am biginner in Opencontrail I don't know how to make >> such a >> >> >>> request. >> >> >>> Could you explain to me please ? >> >> >>> >> >> >>> On 30 March 2016 at 17:30, Édouard Thuleau < >> [email protected]> >> >> >>> wrote: >> >> >>>> >> >> >>>> That sounds good. >> >> >>>> Are you able to request the Contrail API form >> >> >>>> http://192.168.56.50:8082 >> >> >>>> ? >> >> >>>> >> >> >>>> Édouard. >> >> >>>> >> >> >>>> On Wed, Mar 30, 2016 at 12:02 PM, Alioune <[email protected]> >> >> >>>> wrote: >> >> >>>>> >> >> >>>>> Hi all, >> >> >>>>> @Edouard: Yes I am using ubuntu 14.04 >> >> >>>>> Screen -X contrail" shows the following error: >> >> >>>>> >> >> >>>>> >> >> >>>>> 3/30/2016 11:40:39 AM [contrail-api]: SANDESH: [DROP: NoSession] >> >> >>>>> __default__ [SYS_DEBUG]: VncApiError: Rule 2) >> >> >>>>> id-to-fqname *:CRUD, (-1,False) >> >> >>>>> ERROR:contrail-api:SANDESH: [DROP: NoSession] __default__ >> >> >>>>> [SYS_DEBUG]: >> >> >>>>> VncApiError: Rule 2) id-to-fqname >> >> >>>>> *:CRUD, (-1,False) >> >> >>>>> 03/30/2016 11:40:39 AM [contrail-api]: SANDESH: [DROP: NoSession] >> >> >>>>> __default__ [SYS_DEBUG]: VncApiError: Rule 3) >> >> >>>>> documentation *:R, (-1,False) >> >> >>>>> ERROR:contrail-api:SANDESH: [DROP: NoSession] __default__ >> >> >>>>> [SYS_DEBUG]: >> >> >>>>> VncApiError: Rule 3) documentation >> >> >>>>> *:R, (-1,False) >> >> >>>>> 03/30/2016 11:40:39 AM [contrail-api]: SANDESH: [DROP: NoSession] >> >> >>>>> __default__ [SYS_DEBUG]: VncApiError: +++ admin=yes, u=admin, >> >> >>>>> r='admin' >> >> >>>>> ERROR:contrail-api:SANDESH: [DROP: NoSession] __default__ >> >> >>>>> [SYS_DEBUG]: >> >> >>>>> VncApiError: +++ admin=yes, u=admin, r='admin' >> >> >>>>> 127.0.0.1 - - [2016-03-30 11:40:39] "POST /fqname-to-id HTTP/1.1" >> >> >>>>> 200 >> >> >>>>> 156 0.013949 >> >> >>>>> 127.0.0.1 - - [2016-03-30 11:40:39] "GET / HTTP/1.1" 200 16276 >> >> >>>>> 3.542202 >> >> >>>>> 03/30/2016 11:40:39 AM [contrail-api]: SANDESH: [DROP: NoSession] >> >> >>>>> __default__ [SYS_DEBUG]: VncApiError: u=admin, r=[u'admin'], >> >> >>>>> o=domains, >> >> >>>>> op=R, rules=3, proj:3250a1401c954b26be1985ab6fc4f802(admin), >> >> >>>>> dom:None >> >> >>>>> ERROR:contrail-api:SANDESH: [DROP: NoSession] __default__ >> >> >>>>> [SYS_DEBUG]: >> >> >>>>> VncApiError: u=admin, r=[u'admin'], o=domains, op=R, rules=3, >> >> >>>>> proj:3250a1401c954b26be1985ab6fc4f802(admin), dom:None >> >> >>>>> 03/30/2016 11:40:39 AM [contrail-api]: SANDESH: [DROP: NoSession] >> >> >>>>> __default__ [SYS_DEBUG]: VncApiError: Rule 1) >> >> >>>>> fqname-to-id *:CRUD, (-1,False) >> >> >>>>> ERROR:contrail-api:SANDESH: [DROP: NoSession] __default__ >> >> >>>>> [SYS_DEBUG]: >> >> >>>>> VncApiError: Rule 1) fqname-to-id >> >> >>>>> *:CRUD, (-1,False) >> >> >>>>> 03/30/2016 11:40:39 AM [contrail-api]: SANDESH: [DROP: NoSession] >> >> >>>>> __default__ [SYS_DEBUG]: VncApiError: Rule 2) >> >> >>>>> id-to-fqname *:CRUD, (-1,False) >> >> >>>>> ERROR:contrail-api:SANDESH: [DROP: NoSession] __default__ >> >> >>>>> [SYS_DEBUG]: >> >> >>>>> VncApiError: Rule 2) id-to-fqname >> >> >>>>> *:CRUD, (-1,False) >> >> >>>>> 03/30/2016 11:40:39 AM [contrail-api]: SANDESH: [DROP: NoSession] >> >> >>>>> __default__ [SYS_DEBUG]: VncApiError: Rule 3) >> >> >>>>> documentation *:R, (-1,False) >> >> >>>>> ERROR:contrail-api:SANDESH: [DROP: NoSession] __default__ >> >> >>>>> [SYS_DEBUG]: >> >> >>>>> VncApiError: Rule 3) documentation >> >> >>>>> *:R, (-1,False) >> >> >>>>> 03/30/2016 11:40:39 AM [contrail-api]: SANDESH: [DROP: NoSession] >> >> >>>>> __default__ [SYS_DEBUG]: VncApiError: +++ admin=yes, u=admin, >> >> >>>>> r='admin' >> >> >>>>> ERROR:contrail-api:SANDESH: [DROP: NoSession] __default__ >> >> >>>>> [SYS_DEBUG]: >> >> >>>>> VncApiError: +++ admin=yes, u=admin, r='admin' >> >> >>>>> 03/30/2016 11:40:39 AM [contrail-api]: SANDESH: [DROP: NoSession] >> >> >>>>> __default__ [SYS_INFO]: VncApiStatsLog: api_stats = << >> >> >>>>> operation_type = GET >> >> >>>>> user = admin useragent = foutatoro:/usr/bin/contrail-api >> remote_ip >> >> >>>>> = >> >> >>>>> 127.0.0.1:8082 domain_name = default-domain project_name = >> admin >> >> >>>>> object_type = domain response_time_in_usec = 3152 >> response_size = >> >> >>>>> 174 >> >> >>>>> resp_code = 200 >> >> >> >>>>> ERROR:contrail-api:SANDESH: [DROP: NoSession] __default__ >> >> >>>>> [SYS_INFO]: >> >> >>>>> VncApiStatsLog: api_stats = << operation_type = GET user = >> admin >> >> >>>>> useragent = foutatoro:/usr/bin/contrail-api remote_ip = >> >> >>>>> 127.0.0.1:8082 >> >> >>>>> domain_name = default-domain project_name = admin object_type = >> >> >>>>> domain >> >> >>>>> response_time_in_usec = 3152 response_size = 174 resp_code = >> 200 >> >> >>>>> >> >> >> >>>>> 127.0.0.1 - - [2016-03-30 11:40:39] "GET >> >> >>>>> /domains?count=False&detail=False HTTP/1.1" 200 280 0.010865 >> >> >>>>> 03/30/2016 11:40:39 AM [contrail-api]: SANDESH: [DROP: NoSession] >> >> >>>>> __default__ [SYS_DEBUG]: VncApiError: u=admin, r=[u'admin'], >> >> >>>>> o=projects, >> >> >>>>> op=R, rules=3, proj:3250a1401c954b26be1985ab6fc4f802(admin), >> >> >>>>> dom:None >> >> >>>>> ERROR:contrail-api:SANDESH: [DROP: NoSession] __default__ >> >> >>>>> [SYS_DEBUG]: >> >> >>>>> VncApiError: u=admin, r=[u'admin'], o=projects, op=R, rules=3, >> >> >>>>> proj:3250a1401c954b26be1985ab6fc4f802(admin), dom:None >> >> >>>>> 03/30/2016 11:40:39 AM [contrail-api]: SANDESH: [DROP: NoSession] >> >> >>>>> __default__ [SYS_DEBUG]: VncApiError: Rule 1) >> >> >>>>> fqname-to-id *:CRUD, (-1,False) >> >> >>>>> ERROR:contrail-api:SANDESH: [DROP: NoSession] __default__ >> >> >>>>> [SYS_DEBUG]: >> >> >>>>> VncApiError: Rule 1) fqname-to-id >> >> >>>>> *:CRUD, (-1,False) >> >> >>>>> 03/30/2016 11:40:39 AM [contrail-api]: SANDESH: [DROP: NoSession] >> >> >>>>> __default__ [SYS_DEBUG]: VncApiError: Rule 2) >> >> >>>>> id-to-fqname *:CRUD, (-1,False) >> >> >>>>> ERROR:contrail-api:SANDESH: [DROP: NoSession] __default__ >> >> >>>>> [SYS_DEBUG]: >> >> >>>>> VncApiError: Rule 2) id-to-fqname >> >> >>>>> *:CRUD, (-1,False) >> >> >>>>> 03/30/2016 11:40:39 AM [contrail-api]: SANDESH: [DROP: NoSession] >> >> >>>>> __default__ [SYS_DEBUG]: VncApiError: Rule 3) >> >> >>>>> documentation *:R, (-1,False) >> >> >>>>> ERROR:contrail-api:SANDESH: [DROP: NoSession] __default__ >> >> >>>>> [SYS_DEBUG]: >> >> >>>>> VncApiError: Rule 3) documentation >> >> >>>>> *:R, (-1,False) >> >> >>>>> 03/30/2016 11:40:39 AM [contrail-api]: SANDESH: [DROP: NoSession] >> >> >>>>> __default__ [SYS_DEBUG]: VncApiError: +++ admin=yes, u=admin, >> >> >>>>> r='admin' >> >> >>>>> ERROR:contrail-api:SANDESH: [DROP: NoSession] __default__ >> >> >>>>> [SYS_DEBUG]: >> >> >>>>> VncApiError: +++ admin=yes, u=admin, r='admin' >> >> >>>>> 03/30/2016 11:40:39 AM [contrail-api]: SANDESH: [DROP: NoSession] >> >> >>>>> __default__ [SYS_INFO]: VncApiStatsLog: api_stats = << >> >> >>>>> operation_type = GET >> >> >>>>> user = admin useragent = foutatoro:/usr/bin/contrail-api >> remote_ip >> >> >>>>> = >> >> >>>>> 127.0.0.1:8082 domain_name = default-domain project_name = >> admin >> >> >>>>> object_type = project response_time_in_usec = 5402 >> response_size = >> >> >>>>> 196 >> >> >>>>> resp_code = 200 >> >> >> >>>>> ERROR:contrail-api:SANDESH: [DROP: NoSession] __default__ >> >> >>>>> [SYS_INFO]: >> >> >>>>> VncApiStatsLog: api_stats = << operation_type = GET user = >> admin >> >> >>>>> useragent = foutatoro:/usr/bin/contrail-api remote_ip = >> >> >>>>> 127.0.0.1:8082 >> >> >>>>> domain_name = default-domain project_name = admin object_type = >> >> >>>>> project >> >> >>>>> response_time_in_usec = 5402 response_size = 196 resp_code = >> 200 >> >> >>>>> >> >> >> >>>>> 127.0.0.1 - - [2016-03-30 11:40:39] "GET >> >> >>>>> /projects?count=False&detail=False HTTP/1.1" 200 301 0.014430 >> >> >>>>> >> >> >>>>> >> >> >>>>> >> >> >>>>> Regards, >> >> >>>>> >> >> >>>>> On 30 March 2016 at 10:37, Filip Pytloun < >> [email protected]> >> >> >>>>> wrote: >> >> >>>>>> >> >> >>>>>> Hello, >> >> >>>>>> >> >> >>>>>> another option is to use Openstack-Salt project [1] >> >> >>>>>> Single-node Vagrant setup [2] or clustered setup using Heat [3] >> >> >>>>>> >> >> >>>>>> If you are going to try this project, don't hessitate to >> discuss or >> >> >>>>>> give >> >> >>>>>> us feedback at Freenode/#openstack-salt >> >> >>>>>> >> >> >>>>>> [1] https://wiki.openstack.org/wiki/OpenStackSalt >> >> >>>>>> [2] >> >> >>>>>> >> http://openstack-salt.tcpcloud.eu/develop/quickstart-vagrant.html >> >> >>>>>> [3] >> http://openstack-salt.tcpcloud.eu/develop/quickstart-heat.html >> >> >>>>>> >> >> >>>>>> Filip >> >> >>>>>> >> >> >>>>>> On 2016/03/30 10:09, Édouard Thuleau wrote: >> >> >>>>>> > Hi Alioune, >> >> >>>>>> > >> >> >>>>>> > First of all, you are using the new devstack plugin [1] that >> >> >>>>>> > permit >> >> >>>>>> > to >> >> >>>>>> > deploy Contrail with OpenStack. That plugin is very recent and >> >> >>>>>> > probably >> >> >>>>>> > still have bugs. I cc'ed François who initialized that plugin. >> >> >>>>>> > For >> >> >>>>>> > the >> >> >>>>>> > moment, the plugin only works with Ubuntu, is it the >> distribution >> >> >>>>>> > you are >> >> >>>>>> > using? >> >> >>>>>> > >> >> >>>>>> > The other way to deploy Contrail/OpenStack dev/test >> environment >> >> >>>>>> > is >> >> >>>>>> > to use >> >> >>>>>> > the contrail-installer script [2] which can also work on a >> CentOS >> >> >>>>>> > distribution. >> >> >>>>>> > >> >> >>>>>> > As Deepinder said, you error seems related to a failure of the >> >> >>>>>> > contrail API >> >> >>>>>> > to start. You can check in the 'contrail' screen if you have >> more >> >> >>>>>> > information about the issue and check if all services which >> >> >>>>>> > depends >> >> >>>>>> > the API >> >> >>>>>> > are running (cassandra, zookeeper and irond). >> >> >>>>>> > >> >> >>>>>> > [1] https://github.com/zioc/contrail-devstack-plugin >> >> >>>>>> > [2] https://github.com/juniper/contrail-installer >> >> >>>>>> > >> >> >>>>>> > Édouard. >> >> >>>>>> > >> >> >>>>>> > On Tue, Mar 29, 2016 at 8:22 PM, Deepinder Singh Setia >> >> >>>>>> > <[email protected]> >> >> >>>>>> > wrote: >> >> >>>>>> > >> >> >>>>>> > > “Screen –x contrail”, go to API server tab to see detailed >> >> >>>>>> > > error. >> >> >>>>>> > > Also >> >> >>>>>> > > switch to other tabs before API server to see if any >> dependent >> >> >>>>>> > > process >> >> >>>>>> > > (such as IFMAP serve or ZooKeeper) has failed to start. >> >> >>>>>> > > >> >> >>>>>> > > — >> >> >>>>>> > > Deepinder >> >> >>>>>> > > >> >> >>>>>> > > >> >> >>>>>> > > From: Users <[email protected]> on >> behalf of >> >> >>>>>> > > Alioune < >> >> >>>>>> > > [email protected]> >> >> >>>>>> > > Date: Tuesday, March 29, 2016 at 9:32 AM >> >> >>>>>> > > To: "[email protected]" >> >> >>>>>> > > <[email protected]> >> >> >>>>>> > > Subject: [Users] Install Desvstack with Opencontrail plugin >> >> >>>>>> > > >> >> >>>>>> > > Hi All, >> >> >>>>>> > > I'm beginer with Opencontrail. I am trying to install >> devstack >> >> >>>>>> > > with >> >> >>>>>> > > opencontraill plugin by the following steps: >> >> >>>>>> > > >> >> >>>>>> > > git clone https://github.com/openstack-dev/devstack.git >> >> >>>>>> > > cd devstack >> >> >>>>>> > > git checkout stable/liberty >> >> >>>>>> > > cp samples/local.conf . >> >> >>>>>> > > echo "enable_plugin contrail >> >> >>>>>> > > https://github.com/zioc/contrail-devstack-plugin.git" >> >> >> >>>>>> > > local.conf >> >> >>>>>> > > ./stack.sh >> >> >>>>>> > > >> >> >>>>>> > > But I got this error: >> >> >>>>>> > > >> >> >>>>>> > > 2016-03-29 15:38:00.005 | ++ wget --no-proxy >> >> >>>>>> > > --retry-connrefused >> >> >>>>>> > > --no-check-certificate --waitretry=1 -t 60 -q -O /dev/null >> >> >>>>>> > > http://192.168.56.50:8082 >> >> >>>>>> > > 2016-03-29 15:38:11.029 | ++ echo 'Contrail api failed to >> >> >>>>>> > > start' >> >> >>>>>> > > 2016-03-29 15:38:11.030 | Contrail api failed to start >> >> >>>>>> > > >> >> >>>>>> > > Someone has an idea about how to solve that error ? >> >> >>>>>> > > >> >> >>>>>> > > >> >> >>>>>> > > Regards, >> >> >>>>>> > > >> >> >>>>>> > > _______________________________________________ >> >> >>>>>> > > Users mailing list >> >> >>>>>> > > [email protected] >> >> >>>>>> > > >> >> >>>>>> > > >> >> >>>>>> > > >> http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org >> >> >>>>>> > > >> >> >>>>>> > > >> >> >>>>>> >> >> >>>>>> > _______________________________________________ >> >> >>>>>> > Users mailing list >> >> >>>>>> > [email protected] >> >> >>>>>> > >> >> >>>>>> > >> >> >>>>>> > >> http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org >> >> >>>>>> >> >> >>>>>> >> >> >>>>>> -- >> >> >>>>>> Filip Pytloun >> >> >>>>>> Cloud Architect >> >> >>>>>> >> >> >>>>>> [tcp ◕ cloud] >> >> >>>>>> >> >> >>>>>> tcp cloud a.s. >> >> >>>>>> Thamova 16, 180 00 Prague 8 >> >> >>>>>> >> >> >>>>>> Mobile: +420 776 004 323 >> >> >>>>>> E-mail: [email protected] >> >> >>>>>> GPG ID: 9C72E61B >> >> >>>>>> Web: http://www.opentcpcloud.org/ >> >> >>>>>> >> >> >>>>>> ========================================== >> >> >>>>>> OpenStack Day Prague >> >> >>>>>> June 8th, 2016 // Prague, Czech Republic >> >> >>>>>> http://openstackdayprague.eu/ >> >> >>>>>> /The first OpenStack conference in Prague/ >> >> >>>>>> ========================================== >> >> >>>>>> >> >> >>>>>> _______________________________________________ >> >> >>>>>> Users mailing list >> >> >>>>>> [email protected] >> >> >>>>>> >> >> >>>>>> >> >> >>>>>> >> http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org >> >> >>>>>> >> >> >>>>> >> >> >>>> >> >> >>> >> >> >> >> >> > >> >> > >> >> > _______________________________________________ >> >> > Users mailing list >> >> > [email protected] >> >> > >> >> > >> http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org >> >> > >> > >> > >> > >
contrail-api.log
Description: Binary data
_______________________________________________ Users mailing list [email protected] http://lists.opencontrail.org/mailman/listinfo/users_lists.opencontrail.org
