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

release-2.17 don't support openSUSE Tumbleweed #8977

Closed
tukwila opened this issue Jun 15, 2022 · 1 comment · Fixed by #9072
Closed

release-2.17 don't support openSUSE Tumbleweed #8977

tukwila opened this issue Jun 15, 2022 · 1 comment · Fixed by #9072
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@tukwila
Copy link

tukwila commented Jun 15, 2022

Environment:

  • Cloud provider or hardware configuration:
    Lenovo SR650
  • OS (printf "$(uname -srm)\n$(cat /etc/os-release)\n"):

Linux 5.18.1-1-default x86_64
NAME="openSUSE Tumbleweed"

VERSION="20220607"

ID="opensuse-tumbleweed"
ID_LIKE="opensuse suse"
VERSION_ID="20220607"
PRETTY_NAME="openSUSE Tumbleweed"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:tumbleweed:20220607"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed"
LOGO="distributor-logo-Tumbleweed"

  • Version of Ansible (ansible --version):
    ansible==3.4.0
    ansible-base==2.10.11
    cryptography==2.8
    jinja2==2.11.3
    netaddr==0.7.19
    pbr==5.4.4
    jmespath==0.9.5
    ruamel.yaml==0.16.10
    ruamel.yaml.clib==0.2.2
    MarkupSafe==1.1.1
  • Version of Python (python --version):

--ubuntu:bionic-20200807
--python3

Kubespray version (commit) (git rev-parse --short HEAD):
--release-2.17

Network plugin used:
--no

Full inventory with variables (ansible -i inventory/sample/inventory.ini all -m debug -a "var=hostvars[inventory_hostname]"):

Command used to invoke ansible:

Output of ansible run:

Anything else do we need to know:

TASK [kubernetes/preinstall : Stop if unknown OS] ******************************
fatal: [node1]: FAILED! => {
"assertion": "ansible_distribution in ['RedHat', 'CentOS', 'Fedora', 'Ubuntu', 'Debian', 'Flatcar Container L
inux by Kinvolk', 'Suse', 'openSUSE Leap', 'ClearLinux', 'OracleLinux', 'AlmaLinux', 'Amazon']",
"changed": false,
"evaluated_to": false,
"msg": "openSUSE Tumbleweed is not a known OS"

In such fatal message, it is informed that openSUSE Tumbleweed is not supported but in release-2.17 README such OS is supported, refer to the following:
Supported Linux Distributions

Flatcar Container Linux by Kinvolk
Debian Bullseye, Buster, Jessie, Stretch
Ubuntu 16.04, 18.04, 20.04
CentOS/RHEL 7, 8
Fedora 33, 34
Fedora CoreOS (see fcos Note)
openSUSE Leap 15.x/Tumbleweed
Oracle Linux 7, 8
Alma Linux 8
Amazon Linux 2 (experimental: see amazon linux notes)

@tukwila tukwila added the kind/bug Categorizes issue or PR as related to a bug. label Jun 15, 2022
@oomichi
Copy link
Contributor

oomichi commented Jul 7, 2022

This issue seems valid.
The commit 1ce2f04 tried to merge OS checks of openSUSE Leap and openSUSE Tumbleweed into a single Suse, but that was a invalid change.
Then the commit c16efc9 tried to fix it for openSUSE Leap, but it didn't take care of openSUSE Tumbleweed.
So it is fine to add openSUSE Tumbleweed to the OS check again.

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