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

problem to install arena on microk8s Ubuntu 20.04 - 22.04 #868

Open
ereil opened this issue Nov 16, 2022 · 1 comment
Open

problem to install arena on microk8s Ubuntu 20.04 - 22.04 #868

ereil opened this issue Nov 16, 2022 · 1 comment

Comments

@ereil
Copy link

ereil commented Nov 16, 2022

Hi,
we have been working with arena on microk8s with Ubuntu 18.04 long time succesfully.
But since Ubuntu 20.04 and 22.04 (and a lot of different microk8s versions) we did not get arena working.

error message when run arena install.sh is
ERROR failed to execute 'arena-kubectl cluster-info'
ERROR Please setup kubeconfig correctly before installing arena

But when manually execute arena-kubectl cluster-info systems reports all running

Screenshot from 2022-11-16 09-43-26

Any idea how to fix it?
Ubuntu 22.04 LTS
microk8s 1.22 stable
arena 0.9.0

Thanks

@ereil
Copy link
Author

ereil commented Mar 28, 2024

Found the issue in script that results abort of arena installation in ubuntu 20.04 and 22.04. Script is working fine with 18.04.

Delete this lines (97-103) in install.sh would fix it:

if [[ $ONLY_BINARY != "true" ]];then
    if ! ${sudo_prefix} arena-kubectl cluster-info >/dev/null 2>&1; then
        logger "error" "failed to execute 'arena-kubectl cluster-info'"
        logger "error" "Please setup kubeconfig correctly before installing arena"
        exit 1
    fi
fi

Not sure why, because arena-kubectl cluster-info response is correct, but it works.

Tested with microk8s 1.29, arena 0.9.13, ubuntu 22.04 lts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant