-
Notifications
You must be signed in to change notification settings - Fork 454
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
install fails with oc: command not found #140
Comments
I have the same issue |
Since 3.10, openshift_node_kubelet_args is deprecated. Also make sure SELinux is enabled or the install will fail.
I also found that the client is no longer shipped with the server:
But you might not need to install the oc manually if the installer runs completely. Although for whatever reasont he ansible-playbook for logging returned a non-zero, so i reran if afer:
And the second time it ran just fine. No idea what happened there |
same issue |
For some reason its sitting at docker setting for me. Sorry figured out Docker was having issues. Sorted thanks again for the update. |
@DarkMukke thanks, it works. This issue was also confirmed on openshift-ansible project (openshift/openshift-ansible#11069). In conclusion, what I did was:
|
…ariable [gshipley#140] oc command not found with OKD 3.10+
I have the same issue. |
I un-installed docker. Cleaned up the directories. Rebooted OS and clean installed Docker manually to ensure it started properly. Just monitor the logs on docker startup to see if you have any wonky errors being thrown. |
I had the same issue; I was able to run the installation with the informations above :-) my solution: in myrepo changed install-openshift.sh made a new CentOS7 install install is working again, hope this helps |
no need to fork, i already forked you can use my repo, there is also a PR open to remove the like as 10 pods per core has been the default since OKD/Openshift 3.3 |
* Replaced variable removed last_checked_var: openshift_master_identity_providers;Found removed variables: openshift_node_kubelet_args is replaced by openshift_node_groups[<item>].edits; Since the install fails ont he above and the inventory.ini file is downloaded every time fromt eh configured repo I had to fork and commit this. without the node_groups, it will all back to the default. * Update inventory.ini
It works. Thanks. |
I tried installing this a number of times tonight but I keep getting errors that it can't find the OC command. I saw other posts about this which said it was fixed in 3.11. but I'm running 3.11. I'm attaching the install text output.
I see I get this very early on.
TASK [Run variable sanity checks] *****************************************************************************************************
fatal: [10.10.10.139]: FAILED! => {"msg": "last_checked_host: 10.10.10.139, last_checked_var: openshift_master_identity_providers;Found removed variables: openshift_node_kubelet_args is replaced by openshift_node_groups[].edits; "}
to retry, use: --limit @/root/installcentos/openshift-ansible/playbooks/prerequisites.retry
install-output.txt
The text was updated successfully, but these errors were encountered: