Open goldyfruit opened 3 months ago
Hi, I wanna ask why python-xml
could not be installed by zypper refresh && zypper --non-interactive install python-xml
, which is in kubespray. See https://github.com/kubernetes-sigs/kubespray/blob/master/roles/bootstrap-os/tasks/opensuse.yml#L52
Thanks.
Oh, maybe cecause of experimental pkg. Do you think we need to add Playbooks to solve this?
Oh, maybe cecause of experimental pkg. Do you think we need to add Playbooks to solve this?
Indeed, the package didn't yet arrive in 15.6 stable repository, https://software.opensuse.org/package/python-xml?locale=en
We might need to add some tasks as we don't when this package will be available.
@goldyfruit Hi, I just tested, python3-xml can be installed successfully and no need to add repository. Do you think it will help fix? Otherwise I will add repo for it. If so, I can open an PR and hope you can help review, thanks.
@goldyfruit Hi, I just tested, python3-xml can be installed successfully and no need to add repository. Do you think it will help fix? Otherwise I will add repo for it.
I was not able to install python3-xml
without extra repo.
$ sudo zypper in python3-xml
Loading repository data...
Warning: Repository 'Update Repository (Non-Oss)' metadata expired since 2023-09-21 08:47:58 EDT.
Warning: Repository metadata expired: Check if 'autorefresh' is turned on (zypper lr), otherwise
manually refresh the repository (zypper ref). If this does not solve the issue, it could be that
you are using a broken mirror or the server has actually discontinued to support the repository.
Reading installed packages...
'python3-xml' not found in package names. Trying capabilities.
'python3-base' providing 'python3-xml' is already installed.
Resolving package dependencies...
Nothing to do.
NAME="openSUSE Leap"
VERSION="15.6 Beta"
ID="opensuse-leap"
ID_LIKE="suse opensuse"
VERSION_ID="15.6"
PRETTY_NAME="openSUSE Leap 15.6 Beta"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:15.6"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Leap"
LOGO="distributor-logo-Leap"
I was not able to install
python3-xml
without extra repo.
Ohhh, My mistaken. I just used opensuse leap:15.5, and has no this problem. And 15.6 do have.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
What happened?
When running the the
cluster.yml
playbook on openSUSE Leap 15.6, the playbook fails becausepython-xml
is missing.Currently in experimental: https://software.opensuse.org/package/python-xml?locale=en
A workaround for now is to add the
devel:languages:python:Factory.repo
repo.It might be fixed in soon or not but I think having this referenced here might help people having this issue.
What did you expect to happen?
Successful playbook execution.
How can we reproduce it (as minimally and precisely as possible)?
Run the
cluster.yml
playbook on openSUSE Leap 15.6.OS
Version of Ansible
Version of Python
3.11.2
Version of Kubespray (commit)
3067e565c
Network plugin used
calico
Full inventory with variables
https://gist.github.com/goldyfruit/5e80f32a00090adee7fcbb3a17887a92
Command used to invoke ansible
time ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook playbooks/cluster.yml -f 20 -u kubespray -b -i inventory/smartgic/inventory.ini
Output of ansible run
Anything else we need to know
No response