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: Add kube-apiserver-arg #272

Open
estaji opened this issue Nov 1, 2024 · 1 comment
Open

bug: Add kube-apiserver-arg #272

estaji opened this issue Nov 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@estaji
Copy link

estaji commented Nov 1, 2024

Summary

I wanted to add a feature-gates and enable authentication.k8s.io/v1alpha1 using the role but I couldn't.
I installed my cluster using tag: 1.37.0 of the lablabs/ansible-role-rke2 and now I want to add add a feature-gates and enable authentication.k8s.io/v1alpha1 using re-play the deployment playbook. this is my deployment playbook:

---
- name: Deploy RKE2
  hosts: k8s_cluster
  become: yes
  vars:
    rke2_ha_mode_keepalived: false
    rke2_cluster_domain: cluster.test.net
    rke2_api_ip : 192.168.1.110
    rke2_download_kubeconf: true
    rke2_cni: calico
    rke2_kube_apiserver_args:
       - feature-gates=JobTrackingWithFinalizers=true
       - feature-gates=APISelfSubjectReview=true
  roles:
    - role: ansible-role-rke2

Playbook ran until these tasks:

included: /Projects/Kubernetes-Lab/roles/ansible-role-rke2/tasks/change_config.yml for kuber-1 => (item=kuber-1)
included: /Projects/Kubernetes-Lab/roles/ansible-role-rke2/tasks/change_config.yml for kuber-2 => (item=kuber-2)
included: /Projects/Kubernetes-Lab/roles/ansible-role-rke2/tasks/change_config.yml for kuber-3 => (item=kuber-3)

TASK [ansible-role-rke2 : Restart RKE2 service on kuber-1] *************************************************************************************

And stuck here. Restarting master node 1 is not successful. the rke2-server service can not started due to these logs:

Nov 01 14:54:46 kuber-1 rke2[699]: time="2024-11-01T14:54:46+03:30" level=info msg="Container for etcd is running"
Nov 01 14:54:46 kuber-1 rke2[699]: time="2024-11-01T14:54:46+03:30" level=info msg="Container for kube-apiserver not found (no matching container found), retrying"
Nov 01 14:54:48 kuber-1 rke2[699]: time="2024-11-01T14:54:48+03:30" level=info msg="Waiting to retrieve kube-proxy configuration; server is not ready: https://127.0.0.1:9345/v1-rke2/readyz: 500 Internal Server Error"
Nov 01 14:54:53 kuber-1 rke2[699]: time="2024-11-01T14:54:53+03:30" level=info msg="Waiting to retrieve kube-proxy configuration; server is not ready: https://127.0.0.1:9345/v1-rke2/readyz: 500 Internal Server Error"
Nov 01 14:54:56 kuber-1 rke2[699]: time="2024-11-01T14:54:56+03:30" level=info msg="Waiting for API server to become available"
Nov 01 14:54:58 kuber-1 rke2[699]: time="2024-11-01T14:54:58+03:30" level=info msg="Waiting to retrieve kube-proxy configuration; server is not ready: https://127.0.0.1:9345/v1-rke2/readyz: 500 Internal Server Error"
Nov 01 14:55:02 kuber-1 rke2[699]: time="2024-11-01T14:55:02+03:30" level=info msg="Waiting for API server to become available"
Nov 01 14:55:03 kuber-1 rke2[699]: time="2024-11-01T14:55:03+03:30" level=info msg="Waiting to retrieve kube-proxy configuration; server is not ready: https://127.0.0.1:9345/v1-rke2/readyz: 500 Internal Server Error"

But new configs are placed in /etc/rancher/rke2/config.yaml :

server: https://192.168.1.110:9345
agent-token: agentToken
token: masterToken
data-dir: /var/lib/rancher/rke2
cni: calico
tls-san:
  - cluster.local
  - 192.168.1.110
cluster-domain: cluster.test.net
kube-apiserver-arg: ['feature-gates=JobTrackingWithFinalizers=true', 'feature-gates=APISelfSubjectReview=true']
snapshotter: overlayfs
node-name: kuber-1
cluster-cidr: "10.42.0.0/16"
service-cidr: "10.43.0.0/16"

Also apparmor and ufw service are disabled and stopped.
How can I solve this issue?

Issue Type

Bug Report

Ansible Version

ansible [core 2.17.5]
  config file = None
  configured module search path = ['/home/omid/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/omid/Projects/Kubernetes-Lab/venv/lib/python3.12/site-packages/ansible
  ansible collection location = /home/omid/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/omid/Projects/Kubernetes-Lab/venv/bin/ansible
  python version = 3.12.3 (main, Sep 11 2024, 14:17:37) [GCC 13.2.0] (/home/omid/Projects/Kubernetes-Lab/venv/bin/python3)
  jinja version = 3.1.4
  libyaml = True

Steps to Reproduce

---
- name: Deploy RKE2
  hosts: k8s_cluster
  become: yes
  vars:
    rke2_ha_mode_keepalived: false
    rke2_cluster_domain: cluster.test.net
    rke2_api_ip : 192.168.1.110
    rke2_download_kubeconf: true
    rke2_cni: calico
    rke2_kube_apiserver_args:
      - feature-gates=JobTrackingWithFinalizers=true
      - feature-gates=APISelfSubjectReview=true
    rke2_custom_registry_mirrors:
      - name: "docker.io"
        endpoint:
          - "https://docker.arvancloud.ir"
        rewrite:
          "^docker/(.*)": "docker/$1"
      - name: "quay.io"
        endpoint:
          - "https://docker.arvancloud.ir"
        rewrite:
          "(.*)": "quay/$1"
      - name: "ghcr.io"
        endpoint:
          - "https://docker.arvancloud.ir"
        rewrite:
          "(.*)": "ghcr/$1"
  roles:
    - role: ansible-role-rke2
  # environment:
  #   http_proxy: "http://192.168.1.14:2081"
  #   https_proxy: "http://192.168.1.14:2081"

Expected Results

kubectl auth whoami become available. but rke2-server is not available after new args.

Actual Results

PLAY [Deploy RKE2] *****************************************************************************************************************************

TASK [Gathering Facts] *************************************************************************************************************************
[WARNING]: Platform linux on host kuber-3 is using the discovered Python interpreter at /usr/bin/python3.10, but future installation of another
Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible-
core/2.17/reference_appendices/interpreter_discovery.html for more information.
ok: [kuber-3]
[WARNING]: Platform linux on host kuber-4 is using the discovered Python interpreter at /usr/bin/python3.10, but future installation of another
Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible-
core/2.17/reference_appendices/interpreter_discovery.html for more information.
ok: [kuber-4]
[WARNING]: Platform linux on host kuber-2 is using the discovered Python interpreter at /usr/bin/python3.10, but future installation of another
Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible-
core/2.17/reference_appendices/interpreter_discovery.html for more information.
ok: [kuber-2]
[WARNING]: Platform linux on host kuber-1 is using the discovered Python interpreter at /usr/bin/python3.10, but future installation of another
Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible-
core/2.17/reference_appendices/interpreter_discovery.html for more information.
ok: [kuber-1]
[WARNING]: Platform linux on host kuber-5 is using the discovered Python interpreter at /usr/bin/python3.10, but future installation of another
Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible-
core/2.17/reference_appendices/interpreter_discovery.html for more information.
ok: [kuber-5]
[WARNING]: Platform linux on host kuber-6 is using the discovered Python interpreter at /usr/bin/python3.10, but future installation of another
Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible-
core/2.17/reference_appendices/interpreter_discovery.html for more information.
ok: [kuber-6]

TASK [ansible-role-rke2 : Install Keepalived when HA mode is enabled] **************************************************************************
skipping: [kuber-1]
skipping: [kuber-2]
skipping: [kuber-3]
skipping: [kuber-4]
skipping: [kuber-5]
skipping: [kuber-6]

TASK [ansible-role-rke2 : Download and install RKE2 v1.25.3+rke2r1] ****************************************************************************
included: /home/omid/Projects/Kubernetes-Lab/roles/ansible-role-rke2/tasks/rke2.yml for kuber-1, kuber-2, kuber-3, kuber-4, kuber-5, kuber-6

TASK [ansible-role-rke2 : Download RKE2 installation script] ***********************************************************************************
ok: [kuber-3]
ok: [kuber-5]
ok: [kuber-2]
ok: [kuber-4]
ok: [kuber-6]
ok: [kuber-1]

TASK [ansible-role-rke2 : Copy local RKE2 installation script] *********************************************************************************
skipping: [kuber-1]
skipping: [kuber-2]
skipping: [kuber-3]
skipping: [kuber-4]
skipping: [kuber-5]
skipping: [kuber-6]

TASK [ansible-role-rke2 : Create RKE2 artifacts folder] ****************************************************************************************
skipping: [kuber-1]
skipping: [kuber-2]
skipping: [kuber-3]
skipping: [kuber-4]
skipping: [kuber-5]
skipping: [kuber-6]

TASK [ansible-role-rke2 : Download sha256 checksum file] ***************************************************************************************
skipping: [kuber-1]
skipping: [kuber-2]
skipping: [kuber-3]
skipping: [kuber-4]
skipping: [kuber-5]
skipping: [kuber-6]

TASK [ansible-role-rke2 : Download RKE2 artifacts and compare with checksums] ******************************************************************
skipping: [kuber-1] => (item=rke2.linux-amd64.tar.gz) 
skipping: [kuber-1] => (item=rke2-images.linux-amd64.tar.zst) 
skipping: [kuber-2] => (item=rke2.linux-amd64.tar.gz) 
skipping: [kuber-1]
skipping: [kuber-2] => (item=rke2-images.linux-amd64.tar.zst) 
skipping: [kuber-3] => (item=rke2.linux-amd64.tar.gz) 
skipping: [kuber-3] => (item=rke2-images.linux-amd64.tar.zst) 
skipping: [kuber-2]
skipping: [kuber-4] => (item=rke2.linux-amd64.tar.gz) 
skipping: [kuber-4] => (item=rke2-images.linux-amd64.tar.zst) 
skipping: [kuber-3]
skipping: [kuber-4]
skipping: [kuber-5] => (item=rke2.linux-amd64.tar.gz) 
skipping: [kuber-5] => (item=rke2-images.linux-amd64.tar.zst) 
skipping: [kuber-5]
skipping: [kuber-6] => (item=rke2.linux-amd64.tar.gz) 
skipping: [kuber-6] => (item=rke2-images.linux-amd64.tar.zst) 
skipping: [kuber-6]

TASK [ansible-role-rke2 : Copy local RKE2 artifacts] *******************************************************************************************
skipping: [kuber-1] => (item=sha256sum-amd64.txt) 
skipping: [kuber-1] => (item=rke2.linux-amd64.tar.gz) 
skipping: [kuber-1] => (item=rke2-images.linux-amd64.tar.zst) 
skipping: [kuber-1]
skipping: [kuber-2] => (item=sha256sum-amd64.txt) 
skipping: [kuber-2] => (item=rke2.linux-amd64.tar.gz) 
skipping: [kuber-2] => (item=rke2-images.linux-amd64.tar.zst) 
skipping: [kuber-2]
skipping: [kuber-3] => (item=sha256sum-amd64.txt) 
skipping: [kuber-3] => (item=rke2.linux-amd64.tar.gz) 
skipping: [kuber-3] => (item=rke2-images.linux-amd64.tar.zst) 
skipping: [kuber-3]
skipping: [kuber-4] => (item=sha256sum-amd64.txt) 
skipping: [kuber-4] => (item=rke2.linux-amd64.tar.gz) 
skipping: [kuber-4] => (item=rke2-images.linux-amd64.tar.zst) 
skipping: [kuber-4]
skipping: [kuber-5] => (item=sha256sum-amd64.txt) 
skipping: [kuber-5] => (item=rke2.linux-amd64.tar.gz) 
skipping: [kuber-5] => (item=rke2-images.linux-amd64.tar.zst) 
skipping: [kuber-5]
skipping: [kuber-6] => (item=sha256sum-amd64.txt) 
skipping: [kuber-6] => (item=rke2.linux-amd64.tar.gz) 
skipping: [kuber-6] => (item=rke2-images.linux-amd64.tar.zst) 
skipping: [kuber-6]

TASK [ansible-role-rke2 : Create additional images tarballs folder] ****************************************************************************
skipping: [kuber-1]
skipping: [kuber-2]
skipping: [kuber-3]
skipping: [kuber-4]
skipping: [kuber-5]
skipping: [kuber-6]

TASK [ansible-role-rke2 : Copy additional tarball images RKE2 components] **********************************************************************
skipping: [kuber-1]
skipping: [kuber-2]
skipping: [kuber-3]
skipping: [kuber-4]
skipping: [kuber-5]
skipping: [kuber-6]

TASK [ansible-role-rke2 : Populate service facts] **********************************************************************************************
ok: [kuber-5]
ok: [kuber-4]
ok: [kuber-2]
ok: [kuber-3]
ok: [kuber-1]
ok: [kuber-6]

TASK [ansible-role-rke2 : Get stats of the FS object] ******************************************************************************************
ok: [kuber-5]
ok: [kuber-2]
ok: [kuber-4]
ok: [kuber-3]
ok: [kuber-1]
ok: [kuber-6]

TASK [ansible-role-rke2 : Set RKE2 bin path] ***************************************************************************************************
ok: [kuber-1]
ok: [kuber-2]
ok: [kuber-3]
ok: [kuber-4]
ok: [kuber-5]
ok: [kuber-6]

TASK [ansible-role-rke2 : Check RKE2 version] **************************************************************************************************
ok: [kuber-5]
ok: [kuber-4]
ok: [kuber-3]
ok: [kuber-1]
ok: [kuber-2]
ok: [kuber-6]

TASK [ansible-role-rke2 : Set RKE2 versions] ***************************************************************************************************
ok: [kuber-1]
ok: [kuber-2]
ok: [kuber-3]
ok: [kuber-4]
ok: [kuber-5]
ok: [kuber-6]

TASK [ansible-role-rke2 : Run AirGap RKE2 script] **********************************************************************************************
skipping: [kuber-1]
skipping: [kuber-2]
skipping: [kuber-3]
skipping: [kuber-4]
skipping: [kuber-5]
skipping: [kuber-6]

TASK [ansible-role-rke2 : Run RKE2 script] *****************************************************************************************************
skipping: [kuber-1]
skipping: [kuber-2]
skipping: [kuber-3]
skipping: [kuber-4]
skipping: [kuber-5]
skipping: [kuber-6]

TASK [ansible-role-rke2 : Copy Custom Manifests] ***********************************************************************************************
skipping: [kuber-1] => (item=None) 
skipping: [kuber-1]
skipping: [kuber-2] => (item=None) 
skipping: [kuber-2]
skipping: [kuber-3] => (item=None) 
skipping: [kuber-3]
skipping: [kuber-4] => (item=None) 
skipping: [kuber-4]
skipping: [kuber-5] => (item=None) 
skipping: [kuber-5]
skipping: [kuber-6] => (item=None) 
skipping: [kuber-6]

TASK [ansible-role-rke2 : Copy Static Pods] ****************************************************************************************************
skipping: [kuber-1] => (item=None) 
skipping: [kuber-1]
skipping: [kuber-2] => (item=None) 
skipping: [kuber-2]
skipping: [kuber-3] => (item=None) 
skipping: [kuber-3]
skipping: [kuber-4] => (item=None) 
skipping: [kuber-4]
skipping: [kuber-5] => (item=None) 
skipping: [kuber-5]
skipping: [kuber-6] => (item=None) 
skipping: [kuber-6]

TASK [ansible-role-rke2 : Copy RKE2 environment file] ******************************************************************************************
skipping: [kuber-1]
skipping: [kuber-2]
skipping: [kuber-3]
skipping: [kuber-4]
skipping: [kuber-5]
skipping: [kuber-6]

TASK [ansible-role-rke2 : CIS Hardening] *******************************************************************************************************
skipping: [kuber-1]
skipping: [kuber-2]
skipping: [kuber-3]
skipping: [kuber-4]
skipping: [kuber-5]
skipping: [kuber-6]

TASK [ansible-role-rke2 : Find Active Server] **************************************************************************************************
included: /home/omid/Projects/Kubernetes-Lab/roles/ansible-role-rke2/tasks/find_active_server.yml for kuber-1, kuber-2, kuber-3, kuber-4, kuber-5, kuber-6

TASK [ansible-role-rke2 : Populate services facts] *********************************************************************************************
ok: [kuber-2]
ok: [kuber-4]
ok: [kuber-5]
ok: [kuber-3]
ok: [kuber-1]
ok: [kuber-6]

TASK [ansible-role-rke2 : Set the Active Server variable] **************************************************************************************
ok: [kuber-1] => (item=kuber-1)
ok: [kuber-1 -> kuber-2(192.168.1.112)] => (item=kuber-2)
ok: [kuber-2 -> kuber-1(192.168.1.111)] => (item=kuber-1)
ok: [kuber-1 -> kuber-3(192.168.1.113)] => (item=kuber-3)
ok: [kuber-2] => (item=kuber-2)
ok: [kuber-3 -> kuber-1(192.168.1.111)] => (item=kuber-1)
ok: [kuber-1 -> kuber-4(192.168.1.114)] => (item=kuber-4)
skipping: [kuber-4] => (item=kuber-1) 
ok: [kuber-2 -> kuber-3(192.168.1.113)] => (item=kuber-3)
ok: [kuber-3 -> kuber-2(192.168.1.112)] => (item=kuber-2)
skipping: [kuber-4] => (item=kuber-2) 
ok: [kuber-1 -> kuber-5(192.168.1.115)] => (item=kuber-5)
ok: [kuber-2 -> kuber-4(192.168.1.114)] => (item=kuber-4)
skipping: [kuber-5] => (item=kuber-1) 
ok: [kuber-3] => (item=kuber-3)
skipping: [kuber-4] => (item=kuber-3) 
skipping: [kuber-5] => (item=kuber-2) 
ok: [kuber-1 -> kuber-6(192.168.1.116)] => (item=kuber-6)
skipping: [kuber-4] => (item=kuber-4) 
ok: [kuber-2 -> kuber-5(192.168.1.115)] => (item=kuber-5)
ok: [kuber-3 -> kuber-4(192.168.1.114)] => (item=kuber-4)
skipping: [kuber-5] => (item=kuber-3) 
skipping: [kuber-4] => (item=kuber-5) 
ok: [kuber-2 -> kuber-6(192.168.1.116)] => (item=kuber-6)
skipping: [kuber-5] => (item=kuber-4) 
ok: [kuber-3 -> kuber-5(192.168.1.115)] => (item=kuber-5)
skipping: [kuber-4] => (item=kuber-6) 
skipping: [kuber-4]
skipping: [kuber-5] => (item=kuber-5) 
skipping: [kuber-6] => (item=kuber-1) 
ok: [kuber-3 -> kuber-6(192.168.1.116)] => (item=kuber-6)
skipping: [kuber-5] => (item=kuber-6) 
skipping: [kuber-5]
skipping: [kuber-6] => (item=kuber-2) 
skipping: [kuber-6] => (item=kuber-3) 
skipping: [kuber-6] => (item=kuber-4) 
skipping: [kuber-6] => (item=kuber-5) 
skipping: [kuber-6] => (item=kuber-6) 
skipping: [kuber-6]

TASK [ansible-role-rke2 : Enable IPVS kernel module] *******************************************************************************************
skipping: [kuber-1]
skipping: [kuber-2]
skipping: [kuber-3]
skipping: [kuber-4]
skipping: [kuber-5]
skipping: [kuber-6]

TASK [ansible-role-rke2 : Copy kube-vip manifests to the masternode] ***************************************************************************
skipping: [kuber-1]
skipping: [kuber-2]
skipping: [kuber-3]
skipping: [kuber-4]
skipping: [kuber-5]
skipping: [kuber-6]

TASK [ansible-role-rke2 : Copy ingress-nginx manifests to the masternode] **********************************************************************
skipping: [kuber-1]
skipping: [kuber-2]
skipping: [kuber-3]
skipping: [kuber-4]
skipping: [kuber-5]
skipping: [kuber-6]

TASK [ansible-role-rke2 : Prepare very first server node in the cluster] ***********************************************************************
skipping: [kuber-1]
skipping: [kuber-2]
skipping: [kuber-3]
skipping: [kuber-4]
skipping: [kuber-5]
skipping: [kuber-6]

TASK [ansible-role-rke2 : Restore etcd specific tasks] *****************************************************************************************
skipping: [kuber-1]
skipping: [kuber-2]
skipping: [kuber-3]
skipping: [kuber-4]
skipping: [kuber-5]
skipping: [kuber-6]

TASK [ansible-role-rke2 : Prepare and join remaining nodes of the cluster] *********************************************************************
included: /home/omid/Projects/Kubernetes-Lab/roles/ansible-role-rke2/tasks/remaining_nodes.yml for kuber-1, kuber-2, kuber-3, kuber-4, kuber-5, kuber-6

TASK [ansible-role-rke2 : Create the RKE2 config dir] ******************************************************************************************
ok: [kuber-3]
ok: [kuber-1]
ok: [kuber-4]
ok: [kuber-5]
ok: [kuber-2]
ok: [kuber-6]

TASK [ansible-role-rke2 : Set server taints] ***************************************************************************************************
ok: [kuber-1]
ok: [kuber-2]
ok: [kuber-3]
skipping: [kuber-4]
skipping: [kuber-5]
skipping: [kuber-6]

TASK [ansible-role-rke2 : Set agent taints] ****************************************************************************************************
skipping: [kuber-1]
skipping: [kuber-2]
skipping: [kuber-3]
ok: [kuber-4]
ok: [kuber-5]
ok: [kuber-6]

TASK [ansible-role-rke2 : Copy RKE2 config] ****************************************************************************************************
ok: [kuber-4]
ok: [kuber-5]
changed: [kuber-2]
changed: [kuber-3]
changed: [kuber-1]
ok: [kuber-6]

TASK [ansible-role-rke2 : Copy Containerd Registry Configuration file] *************************************************************************
ok: [kuber-1]
ok: [kuber-4]
ok: [kuber-2]
ok: [kuber-3]
ok: [kuber-5]
ok: [kuber-6]

TASK [ansible-role-rke2 : Start RKE2 service on the rest of the nodes] *************************************************************************
ok: [kuber-4]
ok: [kuber-3]
ok: [kuber-2]
ok: [kuber-1]
ok: [kuber-5]
ok: [kuber-6]

TASK [ansible-role-rke2 : Mask other RKE2 service on the rest of the nodes] ********************************************************************
ok: [kuber-1] => (item=agent)
ok: [kuber-2] => (item=agent)
ok: [kuber-3] => (item=agent)
ok: [kuber-4] => (item=server)
ok: [kuber-5] => (item=server)
ok: [kuber-6] => (item=server)

TASK [ansible-role-rke2 : Wait for remaining nodes to be ready - no CNI] ***********************************************************************
skipping: [kuber-1] => (item=kuber-1) 
skipping: [kuber-1] => (item=kuber-2) 
skipping: [kuber-1] => (item=kuber-3) 
skipping: [kuber-1] => (item=kuber-4) 
skipping: [kuber-1] => (item=kuber-5) 
skipping: [kuber-1] => (item=kuber-6) 
skipping: [kuber-1]
skipping: [kuber-2] => (item=kuber-1) 
skipping: [kuber-2] => (item=kuber-2) 
skipping: [kuber-2] => (item=kuber-3) 
skipping: [kuber-2] => (item=kuber-4) 
skipping: [kuber-2] => (item=kuber-5) 
skipping: [kuber-2] => (item=kuber-6) 
skipping: [kuber-3] => (item=kuber-1) 
skipping: [kuber-3] => (item=kuber-2) 
skipping: [kuber-2]
skipping: [kuber-3] => (item=kuber-3) 
skipping: [kuber-3] => (item=kuber-4) 
skipping: [kuber-3] => (item=kuber-5) 
skipping: [kuber-3] => (item=kuber-6) 
skipping: [kuber-4] => (item=kuber-1) 
skipping: [kuber-4] => (item=kuber-2) 
skipping: [kuber-4] => (item=kuber-3) 
skipping: [kuber-3]
skipping: [kuber-4] => (item=kuber-4) 
skipping: [kuber-4] => (item=kuber-5) 
skipping: [kuber-4] => (item=kuber-6) 
skipping: [kuber-5] => (item=kuber-1) 
skipping: [kuber-5] => (item=kuber-2) 
skipping: [kuber-5] => (item=kuber-3) 
skipping: [kuber-5] => (item=kuber-4) 
skipping: [kuber-4]
skipping: [kuber-5] => (item=kuber-5) 
skipping: [kuber-5] => (item=kuber-6) 
skipping: [kuber-5]
skipping: [kuber-6] => (item=kuber-1) 
skipping: [kuber-6] => (item=kuber-2) 
skipping: [kuber-6] => (item=kuber-3) 
skipping: [kuber-6] => (item=kuber-4) 
skipping: [kuber-6] => (item=kuber-5) 
skipping: [kuber-6] => (item=kuber-6) 
skipping: [kuber-6]

TASK [ansible-role-rke2 : Wait for remaining nodes to be ready - with CNI] *********************************************************************
skipping: [kuber-2]
skipping: [kuber-4]
skipping: [kuber-5]
skipping: [kuber-6]
ok: [kuber-3]
ok: [kuber-1]

TASK [ansible-role-rke2 : Rolling cordon and drain restart when version changes] ***************************************************************
skipping: [kuber-1] => (item=kuber-1) 
skipping: [kuber-2] => (item=kuber-1) 
skipping: [kuber-1] => (item=kuber-2) 
skipping: [kuber-1] => (item=kuber-3) 
skipping: [kuber-3] => (item=kuber-1) 
skipping: [kuber-2] => (item=kuber-2) 
skipping: [kuber-1] => (item=kuber-4) 
skipping: [kuber-3] => (item=kuber-2) 
skipping: [kuber-2] => (item=kuber-3) 
skipping: [kuber-1] => (item=kuber-5) 
skipping: [kuber-4] => (item=kuber-1) 
skipping: [kuber-2] => (item=kuber-4) 
skipping: [kuber-3] => (item=kuber-3) 
skipping: [kuber-1] => (item=kuber-6) 
skipping: [kuber-4] => (item=kuber-2) 
skipping: [kuber-2] => (item=kuber-5) 
skipping: [kuber-3] => (item=kuber-4) 
skipping: [kuber-1]
skipping: [kuber-4] => (item=kuber-3) 
skipping: [kuber-5] => (item=kuber-1) 
skipping: [kuber-2] => (item=kuber-6) 
skipping: [kuber-3] => (item=kuber-5) 
skipping: [kuber-2]
skipping: [kuber-5] => (item=kuber-2) 
skipping: [kuber-3] => (item=kuber-6) 
skipping: [kuber-3]
skipping: [kuber-4] => (item=kuber-4) 
skipping: [kuber-5] => (item=kuber-3) 
skipping: [kuber-6] => (item=kuber-1) 
skipping: [kuber-4] => (item=kuber-5) 
skipping: [kuber-5] => (item=kuber-4) 
skipping: [kuber-6] => (item=kuber-2) 
skipping: [kuber-4] => (item=kuber-6) 
skipping: [kuber-4]
skipping: [kuber-6] => (item=kuber-3) 
skipping: [kuber-5] => (item=kuber-5) 
skipping: [kuber-6] => (item=kuber-4) 
skipping: [kuber-5] => (item=kuber-6) 
skipping: [kuber-5]
skipping: [kuber-6] => (item=kuber-5) 
skipping: [kuber-6] => (item=kuber-6) 
skipping: [kuber-6]

TASK [ansible-role-rke2 : Flush handlers] ******************************************************************************************************

TASK [ansible-role-rke2 : Flush handlers] ******************************************************************************************************

TASK [ansible-role-rke2 : Flush handlers] ******************************************************************************************************

TASK [ansible-role-rke2 : Flush handlers] ******************************************************************************************************

TASK [ansible-role-rke2 : Flush handlers] ******************************************************************************************************

TASK [ansible-role-rke2 : Flush handlers] ******************************************************************************************************

RUNNING HANDLER [ansible-role-rke2 : Config file changed] **************************************************************************************
ok: [kuber-1]
ok: [kuber-2]
ok: [kuber-3]

TASK [ansible-role-rke2 : Rolling restart when config files change] ****************************************************************************
skipping: [kuber-1] => (item=kuber-2) 
skipping: [kuber-2] => (item=kuber-1) 
skipping: [kuber-1] => (item=kuber-3) 
skipping: [kuber-3] => (item=kuber-1) 
skipping: [kuber-1] => (item=kuber-4) 
skipping: [kuber-2] => (item=kuber-3) 
skipping: [kuber-3] => (item=kuber-2) 
skipping: [kuber-1] => (item=kuber-5) 
skipping: [kuber-2] => (item=kuber-4) 
skipping: [kuber-1] => (item=kuber-6) 
skipping: [kuber-4] => (item=kuber-1) 
skipping: [kuber-2] => (item=kuber-5) 
skipping: [kuber-3] => (item=kuber-4) 
skipping: [kuber-4] => (item=kuber-2) 
skipping: [kuber-2] => (item=kuber-6) 
skipping: [kuber-5] => (item=kuber-1) 
skipping: [kuber-3] => (item=kuber-5) 
skipping: [kuber-4] => (item=kuber-3) 
skipping: [kuber-3] => (item=kuber-6) 
skipping: [kuber-5] => (item=kuber-2) 
skipping: [kuber-4] => (item=kuber-4) 
skipping: [kuber-5] => (item=kuber-3) 
skipping: [kuber-6] => (item=kuber-1) 
skipping: [kuber-4] => (item=kuber-5) 
skipping: [kuber-5] => (item=kuber-4) 
skipping: [kuber-6] => (item=kuber-2) 
skipping: [kuber-4] => (item=kuber-6) 
skipping: [kuber-4]
skipping: [kuber-5] => (item=kuber-5) 
skipping: [kuber-6] => (item=kuber-3) 
skipping: [kuber-5] => (item=kuber-6) 
skipping: [kuber-5]
skipping: [kuber-6] => (item=kuber-4) 
skipping: [kuber-6] => (item=kuber-5) 
skipping: [kuber-6] => (item=kuber-6) 
skipping: [kuber-6]
included: /home/omid/Projects/Kubernetes-Lab/roles/ansible-role-rke2/tasks/change_config.yml for kuber-1 => (item=kuber-1)
included: /home/omid/Projects/Kubernetes-Lab/roles/ansible-role-rke2/tasks/change_config.yml for kuber-2 => (item=kuber-2)
included: /home/omid/Projects/Kubernetes-Lab/roles/ansible-role-rke2/tasks/change_config.yml for kuber-3 => (item=kuber-3)

TASK [ansible-role-rke2 : Restart RKE2 service on kuber-1] *************************************************************************************
@estaji estaji added the bug Something isn't working label Nov 1, 2024
@simonfelding
Copy link

it's not that custom cluster-domain setting? Looks a bit odd it's not in the tls-san list.

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