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
