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

Lbaasv2

Open bartpved opened this issue 7 years ago • 9 comments

Hi guys, This pull request is related to #340 We (Tieto Tecong folks) forked the repo, and did some modifications. At this moment running OpenShift at our dev env requires quite amount of tuning (done in our fork), so this pull request is not tested -> it contains only the lbaasv2 fucntionality. But still it may be good enough as a starting point.

Let's see how to work on from here, in case you are interested in this feature. We have also other smaller features and fixes, so maybe we could propose further pull requests. In ideal case, we would want to have all out modifications upstream.

-Vedran (on behalf of the tecong team)

bartpved avatar May 07 '17 12:05 bartpved

Should I make a new pull request to a new feature branch, instead of the master?

bartpved avatar May 08 '17 07:05 bartpved

@bartpved thx++! I implemented a different solution adding a PoolMember in every master in master.yaml. I saw you used %index%. Your solution seems cool as you didn't modify master.yaml

ioggstream avatar May 08 '17 15:05 ioggstream

cheers! :-)

bartpved avatar May 09 '17 12:05 bartpved

@bartpved I just added update_dns support for LBaaS. Check #330. Feedback welcome!

ioggstream avatar May 09 '17 13:05 ioggstream

@bartpved I'm adding a lbaas configuration for the wildcard domain too (balancing nodes). Would you do it in the same lbaas.yaml or in a different one?

ioggstream avatar May 11 '17 14:05 ioggstream

Hi Gang,

Still working on getting this deployed on my Openstack deployment, but somethings I noticed when deploying:

  1. ERROR: The Parameter (external_network_subnet) was not defined in template.
  2. ERROR: The Parameter (os_domain_name) was not defined in template.

I was able to get the stack to create by adding those parameters to openstack.yaml.

Not sure if this is helpful or correct. Let me know if I can provide additional information.

Thanks! Connor

cwpenhale avatar Jun 13 '17 21:06 cwpenhale

Also, I'm getting stuck on the deploy for the loadbalancer resource; any advice?

Resource Create Failed: Resources.Pool Members: Resources.Loadbalancer.Property Error: Resources[0].Properties: Property Master Count Not Assigned

cwpenhale avatar Jun 13 '17 22:06 cwpenhale

@cwpenhale adding missing params is OK. About the HEAT error, looks like the param master_count is not passed properly, you will need to pass it if it's missing.

bartpved avatar Jun 14 '17 04:06 bartpved

To me it worked nicely. I just modified:

  • the LB to point to the fixed_network avoiding to passing twice thru the external_network
  • removed from openshift.yaml all lbaasv1 staff which was now not useful
  • moved all templates to newton

ioggstream avatar Jun 14 '17 16:06 ioggstream