Re: [openstack-dev] [tripleO][Neutron] neutron-lbaas agent service placement

2016-03-19 Thread Ben Nemec
On 03/16/2016 05:29 AM, Qasim Sarfraz wrote:
> Thanks Ben.
> 
> On Tue, Mar 15, 2016 at 10:51 PM, Ben Nemec  > wrote:
> 
> On 03/14/2016 10:18 AM, Qasim Sarfraz wrote:
> > Hi Triple-O folks,
> >
> > I was planning to enable neutron-lbaas-agent on a overcloud deployment
> > but couldn't find any useful documentation. Can someone please point me
> > to the required documentation? Is there a heat/puppet workflow available
> > for this service?
> >
> > Also I had following questions regarding neutron-lbaas service 
> placement:
> >
> >   * I am not able to find a network node or neutron node role in
> tripleo
> > templates [1] consequently the service will be placed on
> > controllers. Correct?
> 
> Yeah, there's work under way to allow custom placement of services, but
> for the moment it would probably need to run on the controllers.
> 
> Makes sense. Is there a discussion going on for this or some patch set
> adding this functionality? I will be happy to be part of that effort. 

I'm not aware of anything right now.

> 
> >   * Is it possible to run multiple instances of this service and use
> > HAproxy to provide VIP to the services?
> 
> Assuming the service supports this, it should be doable. 
> 
> 
> >   * Is it possible to run the service on the compute nodes? If yes is
> > there a installation workflow for this.
> 
> It's possible, but to my knowledge there isn't any existing support for
> LBaaS in TripleO.  To enable it, you would need to:
> 
> -Add it to the TripleO loadbalancer puppet manifest:
> 
> https://github.com/openstack/puppet-tripleo/blob/master/manifests/loadbalancer.pp
> -Add
> 
>  -Add> the necessary hieradata to enable it in tripleo-heat-templates.
> 
> This is assuming there is existing puppet support for it.  If not, there
> would be some additional steps to get that into the puppet modules
> we use.
> 
> Thanks for the pointer. I will have to add support in [1] and take care
> of heat/puppet/hiera workflow for automated installation. Correct? 

Yep, that's pretty much it.

> [1]
> - 
> https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/manifests/overcloud_controller_pacemaker.pp
>  
> 
> 
> -Ben
> 
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe:
> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> 
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> 
> 
> 
> -- 
> Regards,
> Qasim Sarfraz


__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleO][Neutron] neutron-lbaas agent service placement

2016-03-16 Thread Qasim Sarfraz
Thanks Ben.

On Tue, Mar 15, 2016 at 10:51 PM, Ben Nemec  wrote:

> On 03/14/2016 10:18 AM, Qasim Sarfraz wrote:
> > Hi Triple-O folks,
> >
> > I was planning to enable neutron-lbaas-agent on a overcloud deployment
> > but couldn't find any useful documentation. Can someone please point me
> > to the required documentation? Is there a heat/puppet workflow available
> > for this service?
> >
> > Also I had following questions regarding neutron-lbaas service placement:
> >
> >   * I am not able to find a network node or neutron node role in tripleo
> > templates [1] consequently the service will be placed on
> > controllers. Correct?
>
> Yeah, there's work under way to allow custom placement of services, but
> for the moment it would probably need to run on the controllers.
>
Makes sense. Is there a discussion going on for this or some patch set
adding this functionality? I will be happy to be part of that effort.

> >   * Is it possible to run multiple instances of this service and use
> > HAproxy to provide VIP to the services?
>
> Assuming the service supports this, it should be doable.


> >   * Is it possible to run the service on the compute nodes? If yes is
> > there a installation workflow for this.
>
> It's possible, but to my knowledge there isn't any existing support for
> LBaaS in TripleO.  To enable it, you would need to:
>
> -Add it to the TripleO loadbalancer puppet manifest:
>
> https://github.com/openstack/puppet-tripleo/blob/master/manifests/loadbalancer.pp
> -Add the necessary hieradata to enable it in tripleo-heat-templates.
>
> This is assuming there is existing puppet support for it.  If not, there
> would be some additional steps to get that into the puppet modules we use.
>
> Thanks for the pointer. I will have to add support in [1] and take care of
heat/puppet/hiera workflow for automated installation. Correct?
[1] -
https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/manifests/overcloud_controller_pacemaker.pp


> -Ben
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Regards,
Qasim Sarfraz
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleO][Neutron] neutron-lbaas agent service placement

2016-03-16 Thread Qasim Sarfraz
Thanks Nir for pointing that out [1]. I am considering moving to LBaaSv2
moving forward.

Also, Response inline for the other questions.

[1] - https://review.openstack.org/#/c/286381
[2] - http://docs.openstack.org/ha-guide/controller-ha-haproxy.html

On Tue, Mar 15, 2016 at 2:21 PM, Nir Magnezi  wrote:

> Hi Qasim,
>
> Replied inline to your non-triple-o specific related questions.
> Also regarding your following email, any specific reason you try to use
> LBaaSv1?
> I highly recommend that you go with LBaaSv2 (you may still choose haproxy
> if you wish), since LBaaSv1 is deprecated[1] and will be removed[2]
> sometime in the future.
>
> [1] https://wiki.openstack.org/wiki/ReleaseNotes/Liberty --> Deprecated
> Features
> [2] https://review.openstack.org/#/c/286381
>
> Nir
>
> On Mon, Mar 14, 2016 at 5:18 PM, Qasim Sarfraz 
> wrote:
>
>> Hi Triple-O folks,
>>
>> I was planning to enable neutron-lbaas-agent on a overcloud deployment
>> but couldn't find any useful documentation. Can someone please point me to
>> the required documentation? Is there a heat/puppet workflow available for
>> this service?
>>
>> Also I had following questions regarding neutron-lbaas service placement:
>>
>>- I am not able to find a network node or neutron node role in
>>tripleo templates [1] consequently the service will be placed on
>>controllers. Correct?
>>- Is it possible to run multiple instances of this service and use
>>HAproxy to provide VIP to the services?
>>
>> Do you mean HAProxy in from of the LBaaS agent? could you elaborate?
> I have not tested this myself, but I suspect you will run into some
> difficulties. The VIP for your loadbalancer is actually a neutron port. a
> port contains a hostname in its binding information.
>
 I was talking about the HAProxy used to provide load balancing to
OpenSatck services [2]. Sorry for the confusion, i hope that explains.

>
>>- Is it possible to run the service on the compute nodes? If yes is
>>there a installation workflow for this.
>>
>> Neutron wise, it should work as long as you have L2 agent (which you
> should since it's a compute node) on your server.
>
>
Thanks. I will test it out.

> Tagged Neutron, as someone from the Neutron or sub-projects teams might
>> have already have answers for these.
>>
>> [1] - https://github.com/openstack/tripleo-heat-templates
>>
>> --
>> Regards,
>> Qasim Sarfraz
>>
>> __
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe:
>> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Regards,
Qasim Sarfraz
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleO][Neutron] neutron-lbaas agent service placement

2016-03-15 Thread Ben Nemec
On 03/14/2016 10:18 AM, Qasim Sarfraz wrote:
> Hi Triple-O folks,
> 
> I was planning to enable neutron-lbaas-agent on a overcloud deployment
> but couldn't find any useful documentation. Can someone please point me
> to the required documentation? Is there a heat/puppet workflow available
> for this service? 
> 
> Also I had following questions regarding neutron-lbaas service placement:
> 
>   * I am not able to find a network node or neutron node role in tripleo
> templates [1] consequently the service will be placed on
> controllers. Correct? 

Yeah, there's work under way to allow custom placement of services, but
for the moment it would probably need to run on the controllers.

>   * Is it possible to run multiple instances of this service and use
> HAproxy to provide VIP to the services?

Assuming the service supports this, it should be doable.

>   * Is it possible to run the service on the compute nodes? If yes is
> there a installation workflow for this.

It's possible, but to my knowledge there isn't any existing support for
LBaaS in TripleO.  To enable it, you would need to:

-Add it to the TripleO loadbalancer puppet manifest:
https://github.com/openstack/puppet-tripleo/blob/master/manifests/loadbalancer.pp
-Add the necessary hieradata to enable it in tripleo-heat-templates.

This is assuming there is existing puppet support for it.  If not, there
would be some additional steps to get that into the puppet modules we use.

-Ben

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleO][Neutron] neutron-lbaas agent service placement

2016-03-15 Thread Nir Magnezi
Hi Qasim,

Replied inline to your non-triple-o specific related questions.
Also regarding your following email, any specific reason you try to use
LBaaSv1?
I highly recommend that you go with LBaaSv2 (you may still choose haproxy
if you wish), since LBaaSv1 is deprecated[1] and will be removed[2]
sometime in the future.

[1] https://wiki.openstack.org/wiki/ReleaseNotes/Liberty --> Deprecated
Features
[2] https://review.openstack.org/#/c/286381

Nir

On Mon, Mar 14, 2016 at 5:18 PM, Qasim Sarfraz  wrote:

> Hi Triple-O folks,
>
> I was planning to enable neutron-lbaas-agent on a overcloud deployment but
> couldn't find any useful documentation. Can someone please point me to the
> required documentation? Is there a heat/puppet workflow available for this
> service?
>
> Also I had following questions regarding neutron-lbaas service placement:
>
>- I am not able to find a network node or neutron node role in tripleo
>templates [1] consequently the service will be placed on controllers.
>Correct?
>- Is it possible to run multiple instances of this service and use
>HAproxy to provide VIP to the services?
>
> Do you mean HAProxy in from of the LBaaS agent? could you elaborate?
I have not tested this myself, but I suspect you will run into some
difficulties. The VIP for your loadbalancer is actually a neutron port. a
port contains a hostname in its binding information.

>
>- Is it possible to run the service on the compute nodes? If yes is
>there a installation workflow for this.
>
> Neutron wise, it should work as long as you have L2 agent (which you
should since it's a compute node) on your server.


> Tagged Neutron, as someone from the Neutron or sub-projects teams might
> have already have answers for these.
>
> [1] - https://github.com/openstack/tripleo-heat-templates
>
> --
> Regards,
> Qasim Sarfraz
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleO][Neutron] neutron-lbaas agent service placement

2016-03-14 Thread Qasim Sarfraz
Adding to the provided information in the previous email. I am trying to
enable lbaasv1 with HAproxy.

On Mon, Mar 14, 2016 at 8:18 PM, Qasim Sarfraz  wrote:

> Hi Triple-O folks,
>
> I was planning to enable neutron-lbaas-agent on a overcloud deployment but
> couldn't find any useful documentation. Can someone please point me to the
> required documentation? Is there a heat/puppet workflow available for this
> service?
>
> Also I had following questions regarding neutron-lbaas service placement:
>
>- I am not able to find a network node or neutron node role in tripleo
>templates [1] consequently the service will be placed on controllers.
>Correct?
>- Is it possible to run multiple instances of this service and use
>HAproxy to provide VIP to the services?
>- Is it possible to run the service on the compute nodes? If yes is
>there a installation workflow for this.
>
> Tagged Neutron, as someone from the Neutron or sub-projects teams might
> have already have answers for these.
>
> [1] - https://github.com/openstack/tripleo-heat-templates
>
> --
> Regards,
> Qasim Sarfraz
>



-- 
Regards,
Qasim Sarfraz
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev