Are you creating LBAAS using neutron commands? This in turn creates the service 
instance and manages the associated VMs (active and standby VMs).


Rudra

________________________________
From: Dev <[email protected]> on behalf of Wojciech 
Reszelewski <[email protected]>
Sent: Thursday, August 13, 2015 1:08 AM
To: [email protected]
Subject: [opencontrail-dev] ServiceInstance reference in VirtualMachine (netns, 
LBaaS, vrouter scheduler)

Hi!

I have some problems with LBaaS and vrouter scheduler.

On compute node I run some netnses using those scripts: 
https://github.com/pedro-r-marques/opencontrail-netns (with fixes from pull 
request). VirtualMachine created with those scripts have a project and a 
vrouter assigned but doesn't have ServiceInstance references. With those 
netenses up I tried to run LoadBalancer instance and scheduler failed to choose 
vrouters due to luck of ServiceInstance references.

The code which causes problem is here: 
https://github.com/Juniper/contrail-controller/blob/d87a00b3930140d5765c5ea665cd8eb9a0325af3/src/config/svc-monitor/svc_monitor/scheduler/vrouter_scheduler.py#L99-L100

What is the idea behind ServiceInstance? Should it be assigned to every 
VirtualMachine?
What should be fixed - scheduler or script? Or maybe running separate netnses 
on compute node is not allowed?

Thanks,
Wojciech Reszelewski
_______________________________________________
Dev mailing list
[email protected]
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to