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

Can not find conntrack to install Ubuntu 24.04 #11278

Closed
mfaridi1394 opened this issue Jun 8, 2024 · 3 comments
Closed

Can not find conntrack to install Ubuntu 24.04 #11278

mfaridi1394 opened this issue Jun 8, 2024 · 3 comments
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@mfaridi1394
Copy link

What happened?

I want run cluster on three nodes by kubespray , all of these nodes are Ubuntu 24.04, when I run playbook after minutes I see these messages
fatal: [node3]: FAILED! => {"attempts": 4, "changed": false, "msg": "No package matching 'conntrack' is available"} fatal: [node1]: FAILED! => {"attempts": 4, "changed": false, "msg": "No package matching 'conntrack' is available"} fatal: [node2]: FAILED! => {"attempts": 4, "changed": false, "msg": "No package matching 'conntrack' is available"}

What did you expect to happen?

It can not find conntrack and installation failed.

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

May kubespray need another packages for build

OS

-bash: printfLinux 6.8.0-35-generic x86_64nPRETTY_NAME="Ubuntu 24.04 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo\n: No such file or directory

Version of Ansible

ansible [core 2.16.7]
config file = /home/mostafa/kubespray/ansible.cfg
configured module search path = ['/home/mostafa/kubespray/library']
ansible python module location = /home/mostafa/kubespray/kubespray/lib/python3.10/site-packages/ansible
ansible collection location = /home/mostafa/.ansible/collections:/usr/share/ansible/collections
executable location = /home/mostafa/kubespray/kubespray/bin/ansible
python version = 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] (/home/mostafa/kubespray/kubespray/bin/python3)
jinja version = 3.1.4
libyaml = True

Version of Python

Python 3.10.12

Version of Kubespray (commit)

0c8d294

Network plugin used

calico

Full inventory with variables

WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
[WARNING]: Skipping callback plugin 'ara_default', unable to load

Command used to invoke ansible

ansible-playbook -i inventory/mycluster/hosts.yaml --become --become-user=root cluster.yml

Output of ansible run

TASK [kubernetes/preinstall : Install packages requirements] ******************************************************************************************************************************************************
fatal: [node3]: FAILED! => {"attempts": 4, "changed": false, "msg": "No package matching 'conntrack' is available"}                                                                                                
fatal: [node1]: FAILED! => {"attempts": 4, "changed": false, "msg": "No package matching 'conntrack' is available"}                                                                                                
fatal: [node2]: FAILED! => {"attempts": 4, "changed": false, "msg": "No package matching 'conntrack' is available"}                                                                                                
                                                                                                                                                                                                                   
NO MORE HOSTS LEFT ************************************************************************************************************************************************************************************************
                                                                                                                                                                                                                   
PLAY RECAP ********************************************************************************************************************************************************************************************************
node1                      : ok=79   changed=1    unreachable=0    failed=1    skipped=59   rescued=0    ignored=0                                                                                                 
node2                      : ok=63   changed=1    unreachable=0    failed=1    skipped=51   rescued=0    ignored=0                                                                                                 
node3                      : ok=62   changed=1    unreachable=0    failed=1    skipped=52   rescued=0    ignored=0                                                                                                 

Anything else we need to know

No response

@mfaridi1394 mfaridi1394 added the kind/bug Categorizes issue or PR as related to a bug. label Jun 8, 2024
@kundan2707
Copy link
Contributor

/assign

@kundan2707
Copy link
Contributor

@mfaridi1394 can you please check is sudo apt-get install conntrack is working on your node?

@mfaridi1394
Copy link
Author

sudo apt-get install conntrac

Thank you,
I run kubespray today and I do not see that error again and everything go fine. I think it was network problem.

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

No branches or pull requests

2 participants