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

Incorrect reset_restart_network_service_name in reset playbook for debian 12 #11050

Closed
sysmso opened this issue Apr 3, 2024 · 1 comment · Fixed by #11058
Closed

Incorrect reset_restart_network_service_name in reset playbook for debian 12 #11050

sysmso opened this issue Apr 3, 2024 · 1 comment · Fixed by #11058
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@sysmso
Copy link

sysmso commented Apr 3, 2024

What happened?

Reset network failed on debian 12 : Could not find the requested service networking: host

What did you expect to happen?

reset network don't fail

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

run reset.yml on a debian 12 node

OS

Linux 6.1.0-9-cloud-amd64 x86_64
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Version of Ansible

ansible [core 2.15.9]
config file = None
configured module search path = ['/home/debian/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /home/debian/kubespray/lib/python3.11/site-packages/ansible
ansible collection location = /home/debian/.ansible/collections:/usr/share/ansible/collections
executable location = /home/debian/kubespray/bin/ansible
python version = 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0] (/home/debian/kubespray/bin/python3)
jinja version = 3.1.2
libyaml = True

Version of Python

Python 3.11.2

Version of Kubespray (commit)

2cb8c85

Network plugin used

calico

Full inventory with variables

http://0x0.st/Xz00.txt

Command used to invoke ansible

ansible

Output of ansible run

Could not find the requested service networking: host

Anything else we need to know

Changed networking to systemd-networkd in roles/reset/defaults/main.yml for debian to make playbook work

@sysmso sysmso added the kind/bug Categorizes issue or PR as related to a bug. label Apr 3, 2024
@sysmso sysmso changed the title Incorrect reset_restart_network_service_name in reset playbokk for debian 12 Incorrect reset_restart_network_service_name in reset playbook for debian 12 Apr 3, 2024
@KubeKyrie
Copy link
Contributor

KubeKyrie commented Apr 5, 2024

Debian 12 has changed network manage service from networking to systemd-networkd
/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants