Giter Site home page Giter Site logo

Comments (14)

gtema avatar gtema commented on August 14, 2024 1

We are currently in progress of getting Octavia API to OTC (something like in few months). There might be still further adoption issues (it's gonna be Octavia API managing OTC LB with their features) but we are clearly moving in this direction and are open for concrete dialog.

from gardener-extension-provider-openstack.

berendt avatar berendt commented on August 14, 2024 1

@sphr2k From our side, we plan to address the OTC extension when the Octavia proxy is in place. We won't spend any time on v3, since it is foreseeable that the proxy function will come.

@gtema I would also be interested in the current status. A few months have passed in the meantime.

from gardener-extension-provider-openstack.

gtema avatar gtema commented on August 14, 2024 1

Yeah, the time passes and things are still under question:

  • Octavia proxy as a solution is ready (from SW pov) and deployed for testing (no SLA, no API limits bypassing, etc)
  • we struggle to find resources currently to deploy it productively. Actially anybody is able to deploy container locally wherever and use it specifying octavia_endpoint_override in the clouds.yaml (at least this is exactly how we test it now)
  • we can theoretically mark it as "beta" without SLA and with potential to face API throttling limits and register it in the service catalog. Here I still need mgmt approval.
  • I have no information about proxy support. Neither I have information when elbv3 may become available in the eu-de region

from gardener-extension-provider-openstack.

berendt avatar berendt commented on August 14, 2024 1

A directly usable image is now available at quay.io/osism/otc-octavia-proxy:latest.

We will install the proxy next week and then test whether Gardener with the OTC does now directly work with the OpenStack extension.

from gardener-extension-provider-openstack.

gtema avatar gtema commented on August 14, 2024 1

Our latest build images are at quay.io/opentelekomcloud/octavia-proxy

from gardener-extension-provider-openstack.

timuthy avatar timuthy commented on August 14, 2024

We'll open separate issues/PRs and link them here as soon as we have identified specific requirements for the provider extension.

from gardener-extension-provider-openstack.

shimoza avatar shimoza commented on August 14, 2024

I will discuss it with the RnD. In general, if boot_index is set to 0, the system disk size cannot be set and the error you mentioned appears. If boot_index value is non-zero or omitted, VM is getting spawned with two disks:

  • system disk size is inherited from the image
  • data disk, equal to "volume_size"

some API call examples:
Test 01, Private Image with 40 GB system disk, boot_index is set to non-zero.
{
"server": {
"imageRef": "0a44cb5a-9fcf-49f0-9d32-505102ab5da6",
"flavorRef": "s2.large.2",
"name": "kla02",
"block_device_mapping_v2": [{
"source_type": "image",
"destination_type": "volume",
"uuid": "0a44cb5a-9fcf-49f0-9d32-505102ab5da6",
"delete_on_termination": "False",
"boot_index": "1",
"volume_type": "SAS",
"volume_size": "20"
}],
"security_groups": [{
"name": "sg-anyany"
}],
"networks": [{
"uuid": "66f9f277-da3d-4802-a5ac-ff98cc1308c4"
}],
"key_name": "kla-10491",
"availability_zone": "eu-de-01"
}
}

Result: an ECS with two disks:

  • system disk, 40 GB size, inherited from the image
  • data disk, the size is equal to "volume_size"

Test 02, Private Image with 40 GB system disk, boot_index = 0:

{
"server": {
"imageRef": "0a44cb5a-9fcf-49f0-9d32-505102ab5da6",
"flavorRef": "s2.large.2",
"name": "kla03",
"block_device_mapping_v2": [{
"source_type": "image",
"destination_type": "volume",
"uuid": "0a44cb5a-9fcf-49f0-9d32-505102ab5da6",
"delete_on_termination": "False",
"boot_index": "0",
"volume_type": "SAS",
"volume_size": "40"
}],
"security_groups": [{
"name": "sg-anyany"
}],
"networks": [{
"uuid": "66f9f277-da3d-4802-a5ac-ff98cc1308c4"
}],
"key_name": "kla-10491",
"availability_zone": "eu-de-01"
}
}

Result:
{
"badRequest": {
"message": "Block Device Mapping is Invalid: Boot sequence for the instance and image/block device mapping combination is not valid.",
"code": 400
}
}

from gardener-extension-provider-openstack.

r-ising avatar r-ising commented on August 14, 2024

Any update on this issue?

from gardener-extension-provider-openstack.

berendt avatar berendt commented on August 14, 2024

They also don't use Octavia for LBaaS.

We are currently clarifying if we can adopt the issue to create an OpenStack based extension for the OTC.

from gardener-extension-provider-openstack.

sphr2k avatar sphr2k commented on August 14, 2024

@gtema I noticed https://github.com/opentelekomcloud-infra/octavia-proxy/ a while ago. Really looking forward to Octavia being supported on OTC. Do you have an ETA for the project?

Also, are you aware of any plans to implement PROXY protocol support for OTC ELB v3? As it is, there is no way to get the actual client IP when using the ELB.

from gardener-extension-provider-openstack.

sphr2k avatar sphr2k commented on August 14, 2024

@gtema Thanks for the feedback. I tried the proxy locally. Is it also possible to deploy it on K8s? I couldn't find an endpoint override parameter for OpenStack CCM.

from gardener-extension-provider-openstack.

gtema avatar gtema commented on August 14, 2024

It is possible to deploy it on CCE without problems, but yes, absence of endpoint override in cloud provider is am issue

from gardener-extension-provider-openstack.

sphr2k avatar sphr2k commented on August 14, 2024

@gtema Thanks - so can you give me a hint how to use it on OTC or is it not possible?

from gardener-extension-provider-openstack.

sphr2k avatar sphr2k commented on August 14, 2024

@berendt Thanks for the hint. What I meant was: is it possible to use Octavia Proxy on Kubernetes with Openstack CCM? How would I tell the CCM to go though the proxy?

from gardener-extension-provider-openstack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.