Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OCCM] multi-region support #2763

Open
spnngl opened this issue Jan 29, 2025 · 1 comment
Open

[OCCM] multi-region support #2763

spnngl opened this issue Jan 29, 2025 · 1 comment

Comments

@spnngl
Copy link

spnngl commented Jan 29, 2025

Hi,

I'm trying to deploy kubernetes on a multi-region openstack project (2az) and have difficulties.
It seems occm can only read 1 region/region_name at a time and cloud is only a string (ini file).

Is it possible to config multiple clouds and/or regions for 1 occm ?

I also tried to deploy 1 occm by region but the charts use hostnetwork on a hard set port + a not configurable lease shared between them all

I have a clouds.yaml

clouds:
  az1:
    auth:
      auth_url: "https://auth.az1/"
      project_id: "xxx"
      project_name: "xxx"
      username: "xxx"
      password: "xxx"
      user_domain_name: "Default"
      project_domain_id: "default"
    interface: "public"
    identity_api_version: 3
    region_name: "az1"
  az2:
    auth:
      auth_url: "https://auth.az2/"
      project_id: "xxx"
      project_name: "xxx"
      username: "xxx"
      password: "xxx"
      user_domain_name: "Default"
      project_domain_id: "default"
    interface: "public"
    identity_api_version: 3
    region_name: "az2"

Here my cloud.conf

[Global]
cloud = "az1"
clouds-file = "/etc/openstack/secret/clouds.yaml"
use-clouds = "true"

[Networking]
internal-network-name = "toto"
public-network-name = "toto-ext"

[BlockStorage]
bs-version = "v3"
ignore-volume-az = "true"
@Boston01
Copy link

hi man it does support it's look like your config is not good enough, i can give you a help if you want

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants