Adding devlist to CC
This is what I get when I start the UI. I am trying to figure out how
the UI learns of the other contrail components. Is it via some API
call it makes? Does it just look at the IP/port in the config and call
it good? Does it look at the Cassandra DB? Redis DB? I'm totally
confused here. And the documentation doesn't help either. I cannot
isolate the specific API call because I believe the API Call
http://172.31.0.103:8080/api/tenant/get-data is responsible for
getting the control node information with the post-data
{"data":[{"type":"generator","cfilt":"ModuleClientState:client_info,ModuleServerState:generator_info","kfilt":"*:contrail-control*"}]}
but I cannot just "curl" this request to debug because it needs
cookies to be set and is CSRF protected. Sorry for my rant but I've
been trying this for 3 days now with no luck and there is so much
going on that it is kind of intimidating for someone who is just
starting.
On Mon, Mar 6, 2017 at 7:57 PM, Biswajit Mandal <[email protected]> wrote:
> Which request you are talking about? You can check introspect for specific:
> http://<control_node_ip>:8083
>
>
>
> With regards,
>
> Biswajit
>
>
>
> From: Syed Mushtaq <[email protected]>
> Date: Monday, March 6, 2017 at 4:55 PM
>
>
> To: Biswajit Mandal <[email protected]>
> Subject: Re: [opencontrail-dev] Need help setting up OpenContrail
>
>
>
> Yes I did provision the control node. I can see the requests reach the
> control node but I can't track it from there onwards. Anything I can check
> here?
>
>
>
>
>
> On Mon, Mar 6, 2017 at 19:43 Biswajit Mandal <[email protected]> wrote:
>
> Did you provision control node?
>
>
>
> If not then also, it will show as 0.
>
>
>
> With regards,
>
> Biswajit
>
>
>
> From: Syed Mushtaq <[email protected]>
> Date: Monday, March 6, 2017 at 4:33 PM
>
>
> To: Biswajit Mandal <[email protected]>
> Subject: Re: [opencontrail-dev] Need help setting up OpenContrail
>
>
>
> I see. However, in my case it also shows 0 control nodes. Is it the case
> that the control nodes will be shown only if there are vrouters present?
>
> On Mon, Mar 6, 2017 at 19:31 Biswajit Mandal <[email protected]> wrote:
>
> Hi Syed,
>
> Web-UI fetches the information from Api Server and Op Server, if vrouters
> are not provisioned, then we will not be able to get data, so UI shows no of
> vrouters as 0.
>
>
>
> With regards,
>
> Biswajit
>
>
>
> From: Syed Mushtaq <[email protected]>
> Date: Monday, March 6, 2017 at 4:22 PM
> To: Biswajit Mandal <[email protected]>
> Subject: Re: [opencontrail-dev] Need help setting up OpenContrail
>
>
>
> Hi Biswajit,
>
> I haven't configured any vRouters yet. Is it not possible to start contrail
> without having any vRouters?
>
>
>
> On Mon, Mar 6, 2017 at 7:07 PM, Biswajit Mandal <[email protected]> wrote:
>
> Hi Syed,
>
> Which image/release you are using?
>
>
>
> I hope you have followed the below:
>
> Provisioned compute nodes,
>
> Login API Server node and please check with “curl –u
> <admin_user:admin_password> http://localhost:8095/virtual-routers”
>
> Login to OpServer node and please check with “curl
> http://localhost:8081/analytics/uves/vrouters | python -m json.tool”
>
>
>
> Please check if you have got any data, if yes and still see the issue as
> mentioned below: then send me the snapshop of the UI logs with debugging
> console enable and you point to Network Tab.
>
> If you see empty data there, then in Contrail UI, go to
> “Configure->Infrastructre->Virtual Routers” and add all the vrouters there
> or use vrouter_provision.py to provision vrouter node as in
> /opt/contrail/utils.
>
>
>
> With regards,
>
> Biswajit
>
>
>
> From: Dev <[email protected]> on behalf of Syed Mushtaq
> <[email protected]>
> Date: Monday, March 6, 2017 at 3:53 PM
> To: "[email protected]" <[email protected]>
> Subject: [opencontrail-dev] Need help setting up OpenContrail
>
>
>
> Hi Guys,
>
> I've been struggling to install OpenContrail standalone on my dev machine
> for 2 days now. I've managed to install all the components on a single
> machine and am able to get the UI up. I've also installed keystone to deal
> with authentication and such. I've not installed nova yet.
>
> I don't see any errors in the logs, however, when I try to list the compute
> nodes in the UI, it says "No Data Found". Could someone please guide me how
> to debug this? I've spent way too much time without any significant results.
>
> Thanks,
>
> -Syed
>
>
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org