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

openshift version check fails #960

Closed
hohwille opened this issue Oct 24, 2022 · 0 comments · Fixed by #934
Closed

openshift version check fails #960

hohwille opened this issue Oct 24, 2022 · 0 comments · Fixed by #934
Labels
bug Something isn't working setup related to the setup process of devonfw-ide (setup[.bat] and devon ... setup)

Comments

@hohwille
Copy link
Member

$ devon oc setup
Updating oc from version 4.11.9 to version 4.11.10...
Success: run command mkdir
Starting installation of oc in version 4.11.10 to /d/projects/devonfw/software/oc
Trying to download oc-4.11.10-windows.zip from https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.11.10/openshift-client-windows.zip
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 41.3M  100 41.3M    0     0  1128k      0  0:00:37  0:00:37 --:--:-- 1144k
Download of oc-4.11.10-windows.zip from https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.11.10/openshift-client-windows.zip succeeded.
Success: run command unzip
Successfully extracted archive oc-4.11.10-windows.zip to /d/projects/devonfw/updates/extracted/ocCreating backup by moving existing /d/projects/devonfw/software/oc to /d/projects/devonfw/updates/backups/22-10-24
Success: run command mv
Successfully installed oc
The software oc has been added. You need to rerun 'devon' command without arguments or restart your terminal to update your PATH so the newly installed software will be found.
Client Version: 4.11.10
Kustomize Version: v4.5.4
Unable to connect to the server: dial tcp 172.26.150.198:6443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

******** ATTENTION ********
Failed to verify installation of oc (oc)
We are sorry for the inconvenience. Please check the above errors, resolve them and try again.
Exit code was 1

This feature is not reliable. We should simply set TOOL_VERSION_COMMAND="-" instead.

@hohwille hohwille added bug Something isn't working setup related to the setup process of devonfw-ide (setup[.bat] and devon ... setup) labels Oct 24, 2022
@hohwille hohwille added this to the release:2022.08.004 milestone Oct 24, 2022
hohwille added a commit to hohwille/ide that referenced this issue Oct 24, 2022
@hohwille hohwille changed the title openshift: TOOL_VERSION_COMMAND fails openshift version check fails Oct 25, 2022
hohwille added a commit to hohwille/ide that referenced this issue Oct 25, 2022
hohwille added a commit that referenced this issue Nov 7, 2022
… doInstall (#934)

* #878: insteall latest version if unspecified

* #933: fixed typo

* #878: insteall latest version if unspecified also for docker

* #878: added to CHANGELOG

* #826: excuse rule for cobigen added

* #878: fixed stupid bug

* #847: fix for global tools and cobigen

* #878: #933: fixes and improvements

* #893: ability to configure version prefix

* #940: handle silent mode in doInstall and simplify doSetup

* #934: shellcheck fix

* #934: CHANGELOG

* #940: generalize macos workarounds

* #940: generalize macos workarounds

* #940: generalize macos workarounds

* #940: need to implement on mac, small improvements for debugging

* #940: generalize macos workarounds

* #940: generalize macos workarounds

* #940: fix - thanks shellcheck

* #940: fixed doInstall java extra arg order

* #940: OMG: fixed custom tools bug

* #893: extended test and fixed doVersionCompare

* #934: removed code entirely

* #934: removed TODO

* #934: simplified

* #934: fixed download caching

* #934: fixed aws

* #934: keep code to remove aws installer

* #934: fixed typos

* #957: symlink fix

* #957: symlink fix

* #934: fixed gcviewer

* #934: shellcheck fix

* #934: shellcheck war starts

* #934: improve DEVON_SOFTWARE_PATH on win

* #934: shellcheck fix

* #958: make symlinks work on windows

* #958: updated documentation

* #934: improved DoD from review comment

* #934: define HOME always on top

* #960: prevent "oc version" error

* #940: improve MacOS workaround

* #934: fixed doMavenArchetype

* #934: fixed aws

* #934: aligned and simplified

* #940: fixes for MacOS workaround

* #940: MacOS quickfix for eclipse

* #911: further improvements for eclipse

* #934: shellcheck fix

* #934: nasty shellcheck

* #960: added to CHANGELOG

* #961: split functions, fixed intellij version command on mac

* #961: fixed function doc

* Fix Add-plugin and custom start parameter

I fixxed the add plugin function which forgot to call vscode with "--install-extension".
And I changed the run command so it passes the arguments given to the run method, so you can run vscode with custom start parameters aswell now.

For example:
devon vscode run --list-extension

* #934: removed debug output

* #961: fixed function doc

* #934: #943: improve vscode plugin installation

* rename pip-latest-windows to pip-latest-pip

There was in an error installing pip on Windows because the installation file was renamed from pip-latest-windows-py to pip-latest-pip.py

* use cg --version

* #934: added missing X flags

* #940: fixed MacOS Workaround

* #934: python fix due to doInstall installer missuse

* #934: improved doc for shared software

* #934: rancher fix due to doInstall installer missuse

* #934: kubectl shall not have knowledge about docker installation

Co-authored-by: Genetics <102921542+Amueller36@users.noreply.github.com>
Co-authored-by: alfeilex <101652401+alfeilex@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working setup related to the setup process of devonfw-ide (setup[.bat] and devon ... setup)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant