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

bug: when bootstrapping cluster with kube-vip, role fails on "Wait for the first server be ready" #172

Closed
paulfantom opened this issue Nov 22, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@paulfantom
Copy link
Contributor

Summary

When running role on a fresh set of VMs with kube-vip as a VIP controller and rke2_api_ip set to that VIP, role fails on

TASK [lablabs.rke2 : Wait for the first server be ready - with CNI]

I believe this is because kube-vip manifests are put on disk AFTER running tasks from first_server.yml. If those 2 sections could be swapped, it would most likely solve the issue.

Issue Type

Bug Report

Ansible Version

ansible [core 2.14.9]
  config file = None
  configured module search path = ['/home/paulfantom/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3/dist-packages/ansible
  ansible collection location = /home/paulfantom/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.11.6 (main, Oct  8 2023, 05:06:43) [GCC 13.2.0] (/usr/bin/python3)
  jinja version = 3.1.2
  libyaml = True

Steps to Reproduce

Start a new cluster with the following variables

rke2_ha_mode: true
rke2_ha_mode_keepalived: false
rke2_ha_mode_kubevip: true

rke2_api_ip: "<SOME_IP_NOT_ASSIGNED_TO_ANY_NODE>"

Expected Results

I expect the playbook to run properly

Actual Results

Role fails on


TASK [lablabs.rke2 : Wait for the first server be ready - with CNI] *************************************************************************************************
FAILED - RETRYING: 
@paulfantom paulfantom added the bug Something isn't working label Nov 22, 2023
@MonolithProjects
Copy link
Collaborator

Fixed in #173

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants