Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Error Running configure-tce.sh OSX #2543

Closed
ryanjbaxter opened this issue Nov 16, 2021 · 7 comments
Closed

Error Running configure-tce.sh OSX #2543

ryanjbaxter opened this issue Nov 16, 2021 · 7 comments
Labels
kind/support Support is required to bring to resoluiton; no evidence of a bug has been found owner/core-eng Work executed by TCE's core engineering team

Comments

@ryanjbaxter
Copy link

I am getting an error running configure-tce.sh on OSX after installing the CLI via homebrew.

I run
/usr/local/Cellar/tanzu-community-edition/v0.9.1/libexec/configure-tce.sh
And got the following error

MY_DIR: /usr/local/Cellar/tanzu-community-edition/v0.9.1/libexec
/Users/ryanjbaxter/Library/Application Support
Removing old plugin cache from /Users/ryanjbaxter/.cache/tanzu/catalog.yaml
Making a backup of your Kubernetes config files into /tmp
⠋   initializingError: could not decode config file: no kind "ClientConfig" is registered for version "config.tanzu.vmware.com/v1alpha1" in scheme "pkg/runtime/scheme.go:101"
✖  could not decode config file: no kind "ClientConfig" is registered for version "config.tanzu.vmware.com/v1alpha1" in scheme "pkg/runtime/scheme.go:101"

I have tried running rm -fr ~/.config/tanzu and rerunning the script but also get the same error.

I have also tried running

docker rm -f $(docker ps -a -q)
docker rmi -f $(docker images -q -a)
docker volume prune -f
rm -rf ~/.cache/tanzu* ~/.local/share/tanzu* ~/.local/share/tce* ~/.config/tanzu ~/.kube

And running the script and it still failed with the same error.

@ryanjbaxter ryanjbaxter added kind/bug A bug in an existing capability triage/needs-triage Needs triage by TCE maintainers labels Nov 16, 2021
@github-actions
Copy link

Hey @ryanjbaxter! Thanks for opening your first issue. We appreciate your contribution and welcome you to our community! We are glad to have you here and to have your input on Tanzu Community Edition.

@jpmcb
Copy link
Contributor

jpmcb commented Nov 16, 2021

Hi Ryan - thanks for opening this issue.

You wouldn't happen to have also had a commercial version of tanzu around before your install of TCE?

If so, you will need to clean up some additional files and caches. There is a provided uninstall.sh script that should clean up all the resources. For homebrew, it should be located in the homebrew directory for TCE: "{libexec}/uninstall.sh"

This will likely mean you also need to brew uninstall and then re install it with brew install

@ryanjbaxter
Copy link
Author

@jpmcb I don't ever recall installing the commercial version, is there a way I can tell if I did or not? I wouldn't even know where to find the uninstall script if I did.

@davidvonthenen
Copy link
Contributor

hi @ryanjbaxter just looking through out backlog and wanted to know if you still need help with this issue?

@davidvonthenen davidvonthenen added owner/core-eng Work executed by TCE's core engineering team triage/needs-info Needs more information from the filer before moving forward and removed triage/needs-triage Needs triage by TCE maintainers labels Dec 14, 2021
@ryanjbaxter
Copy link
Author

@dvonthenen Yes I do

@joshrosso
Copy link
Contributor

I think we'll need something a bit more synchronous to get to the bottom of this

Sent a message in kubernetes slack; let us know if we can help out!

If we find resolution I'll put the notes here.

@joshrosso joshrosso added the triage/needs-triage Needs triage by TCE maintainers label Jan 21, 2022
@nrb nrb removed the triage/needs-triage Needs triage by TCE maintainers label Jan 21, 2022
@joshrosso
Copy link
Contributor

Haven't heard back. Please feel free to reach out in slack or another github issue!

@joshrosso joshrosso added kind/support Support is required to bring to resoluiton; no evidence of a bug has been found and removed kind/bug A bug in an existing capability triage/needs-info Needs more information from the filer before moving forward labels Jan 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/support Support is required to bring to resoluiton; no evidence of a bug has been found owner/core-eng Work executed by TCE's core engineering team
Projects
None yet
Development

No branches or pull requests

5 participants