vagrant-service-manager icon indicating copy to clipboard operation
vagrant-service-manager copied to clipboard

`vagrant service-manager install-cli openshift´ fails

Open claviola opened this issue 8 years ago • 7 comments

$ vagrant service-manager install-cli openshift undefined method `upcase' for nil:NilClass

vagrant-service-manager is at version 1.4.1.

claviola avatar Dec 29 '16 14:12 claviola

@claviola Could you elaborate more how you installed ADB and how you got this error?

brgnepal avatar Dec 29 '16 14:12 brgnepal

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

claviola avatar Dec 30 '16 12:12 claviola

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.

brgnepal avatar Jan 31 '17 06:01 brgnepal

Seems fixed for me.

claviola avatar Jan 31 '17 16:01 claviola

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.

claviola avatar Jan 31 '17 16:01 claviola

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?

ghost avatar Feb 21 '17 21:02 ghost

@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.

brgnepal avatar Feb 22 '17 06:02 brgnepal