openshift-on-openstack icon indicating copy to clipboard operation
openshift-on-openstack copied to clipboard

Support for LBaaS

Open ioggstream opened this issue 7 years ago • 7 comments

As of now, openshift-on-openstack just support OS::Neutron::LoadBalancer (LBaaS v1)

LBaaS v1 API was deprecated in Red Hat OpenStack Platform 9 and removed in version 10.

It would be nice to support OS::Neutron::LBaaS v2 API

Maybe we could need a bit of tuning in the environment https://bugzilla.redhat.com/show_bug.cgi?id=1410013

An old ticket about supporting LBaaS https://github.com/redhat-openstack/openshift-on-openstack/issues/229

ioggstream avatar Apr 24 '17 14:04 ioggstream

We've forked and tuned openshift-on-openstack, and put LBaaS v2 into use. Not sure about the roadmap of this project, but perhaps pull-request could be arranged.

bartpved avatar Apr 27 '17 06:04 bartpved

@bartpved Nice, that would be awesome.

lebauce avatar Apr 27 '17 12:04 lebauce

@bartpved if you can share a stub of the code we can work it out together. @drgogeta86

ioggstream avatar Apr 27 '17 15:04 ioggstream

great, I'll have to first get a green light from code owners, will come back soonish

bartpved avatar Apr 28 '17 10:04 bartpved

@bartpved can you tell at least if it's trivial or requires many changes of other templates? In the first case we'll start to write our own ;)

ioggstream avatar May 04 '17 11:05 ioggstream

The setup of LBaaS listener & co seems easy here https://gist.github.com/ioggstream/4e85cb9e45d7f884f332d8ed51a2add6

I don't know how to integrate

  • OS::Nova::ServerGroup and OS::Neutron::LBaaS::Pool / PoolMember

limiting the changes on openshift.yaml @drgogeta86

ioggstream avatar May 04 '17 17:05 ioggstream

Sorry for low traffic :-) We can opensource the code, and prepare the pull request. I am now working on a merge from our branch (forked on October) with upstream master. Once I get that in a good shape, I'll submit a pull request, which may be unpolished if you guys want to see something fast. I went quite far with merge, so I expect to have a working stack in few days.

bartpved avatar May 05 '17 07:05 bartpved