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

Fix missing change name ovn central in function start-ovn-ic #94

Closed
wants to merge 1 commit into from

Conversation

lucassdiass
Copy link

function start-ovn-ic must check if OVN_DB_CLUSTER is being used to set CENTRAL_IC_ID name.
Running the following command, you will see the problem: OS_BASE=ubuntu OS_IMAGE=docker.io/library/ubuntu:jammy ENABLE_SSL=no CENTRAL_COUNT=1 GW_COUNT=4 CHASSIS_COUNT=4 ./ovn_cluster.sh start

It creates ovn central with name ovn-central-az1, and function try to use ovn-central-az1-1

function start-ovn-ic must check if OVN_DB_CLUSTER is being used
to set CENTRAL_IC_ID name.
Running the following command, you will see the problem:
OS_BASE=ubuntu OS_IMAGE=docker.io/library/ubuntu:jammy ENABLE_SSL=no CENTRAL_COUNT=1 GW_COUNT=4 CHASSIS_COUNT=4 ./ovn_cluster.sh start

It creates ovn central with name ovn-central-az1, and function try to use ovn-central-az1-1

Signed-off-by: Lucas Vargas Dias <lucas.vdias@luizalabs.com>
@lucassdiass
Copy link
Author

Hi @numansiddique could you review it?

Thanks

@dceara
Copy link
Contributor

dceara commented Jan 24, 2025

Hi @lucassdiass!

Sorry for the delayed reply. Doesn't #93 fix your problem? I just tried starting a cluster in the way you described with the code that's currently on the main branch and it worked fine.

Thanks,
Dumitru

@lucassdiass
Copy link
Author

Hi @lucassdiass!

Sorry for the delayed reply. Doesn't #93 fix your problem? I just tried starting a cluster in the way you described with the code that's currently on the main branch and it worked fine.

Thanks, Dumitru

Hi, It works. When I made PR this fix didn't exist

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

Successfully merging this pull request may close these issues.

2 participants