Skip to content

Installation fails on master branch, works on release-2.28 #12850

@performance92

Description

@performance92

What happened?

Hi,

I’m trying to install Kubernetes using the current master branch of Kubespray,
but the installation fails during the playbook execution.

When I switch to release-2.28 and run the same setup with the same environment,
the installation completes successfully.

This suggests that the current master branch may be broken or unstable for fresh installations.

Environment:

  • OS: Ubuntu 22.04
  • Ansible: (core 2.16.15)
  • Python: (3.10.12)
  • Installation method: containerized (Docker), but reproducible on host as well

Steps:

  1. Clone kubespray repository (default branch: master)
  2. Run standard cluster installation
  3. Installation fails
  4. Checkout release-2.28
  5. Run the same steps → installation succeeds

I understand that master is a development branch, but at the moment it seems unusable
for clean installs. It might be helpful to document this or fix the regression.

Let me know if you need logs or more details.

Thanks.

What did you expect to happen?

I expected Kubespray to successfully complete a fresh Kubernetes cluster
installation when using the current master branch, as it is the default branch
of the repository.

At minimum, I expected the installation process to behave consistently with the
latest stable release branch.

How can we reproduce it (as minimally and precisely as possible)?

  1. Clone the Kubespray repository using the default branch (master):
    git clone https://github.com/kubernetes-sigs/kubespray.git
    cd kubespray

  2. Prepare a standard inventory based on inventory/sample.

  3. Run the standard cluster installation playbook on Ubuntu 22.04
    with Ansible (no custom modifications).

  4. The installation fails during playbook execution.

  5. Checkout the release-2.28 branch:
    git checkout release-2.28

  6. Run the same installation steps with the same environment.

  7. The installation completes successfully.

OS

Ubuntu 22.04

Version of Ansible

ansible --version
ansible [core 2.16.15]
config file = /work/kubespray/ansible.cfg
configured module search path = ['/work/kubespray/library']
ansible python module location = /usr/local/lib/python3.10/dist-packages/ansible
ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/local/bin/ansible
python version = 3.10.12 (main, Nov 4 2025, 08:48:33) [GCC 11.4.0] (/usr/bin/python3)
jinja version = 3.1.6
libyaml = True

Version of Python

3.10.12

Version of Kubespray (commit)

master

Network plugin used

calico

Full inventory with variables

A timeout issue is occurring during the kubeadm installation on master nodes.

Command used to invoke ansible

ansible-playbook -i inventory/gardiyan/host.yml cluster.yml

Output of ansible run

A timeout issue is occurring during the kubeadm installation on master nodes.

Anything else we need to know

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    RHEL 9kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions