vagrant-service-manager
vagrant-service-manager copied to clipboard
`vagrant service-manager install-cli openshift´ fails
$ vagrant service-manager install-cli openshift undefined method `upcase' for nil:NilClass
vagrant-service-manager is at version 1.4.1.
@claviola Could you elaborate more how you installed ADB and how you got this error?
I followed all the steps in the "How do I install and run ADB?" section of the README up until trying to follow the instructions shown after vagrant up finishes:
==> default: You can now access OpenShift console on: https://openshift.adb:8443/console
==> default:
==> default: Configured basic user: openshift-dev, Password: devel
==> default:
==> default: Configured cluster admin user: admin, Password: admin
==> default:
==> default: To download and install OC binary, run:
==> default: vagrant service-manager install-cli openshift
==> default:
==> default: To use OpenShift CLI, run:
==> default: $ oc login openshift.adb:8443
==> default:
==> default: To browse the OpenShift API documentation, follow this link:
==> default: http://openshift3swagger-claytondev.rhcloud.com
==> default:
==> default: Then enter this URL:
==> default: https://openshift.adb:8443/swaggerapi/oapi/v1
Hi @claviola ,
What is your vagrant version? and which OS you are running?
We are facing this issue in vagrant 1.9.1 with Windows OS only.
Adding a fix of this.
Seems fixed for me.
I got ahead of myself. After 'vagrant up' finished successfully, I attempted to run the command and got the same result. This is on Ubuntu 16.10.
FWIW I am trying to install this today with Vagrant 1.9.1. I'm running the VM from the OpenShift CDK (latest) I'm on Mac OSX (Yosemite), Virtual Box is the latest 5.1 (just updated today): BDS00818:rhel-ose jsheppard$ vagrant service-manager install-cli openshift undefined method `upcase' for nil:NilClass
Any workaround for this?
@shepp67 Commented here https://github.com/mitchellh/vagrant/issues/8259#issuecomment-281582967
We won't recommend 1.9.1 as it also breaks private IP - https://github.com/mitchellh/vagrant/issues/8250.