Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@TSKERCBOFRAP01 ~]# printenv |grep NO_PROXY
- NO_PROXY=localhost
- minishift start
- -- Starting profile 'minishift'
- -- Using proxy for the setup
- -- Check if deprecated options are used ... OK
- -- Checking if https://github.com is reachable ... OK
- -- Checking if requested OpenShift version 'v3.9.0' is valid ... OK
- -- Checking if requested OpenShift version 'v3.9.0' is supported ... OK
- -- Checking if requested hypervisor 'kvm' is supported on this platform ... OK
- -- Checking if KVM driver is installed ...
- Driver is available at /usr/local/bin/docker-machine-driver-kvm ...
- Checking driver binary is executable ... OK
- -- Checking if Libvirt is installed ... OK
- -- Checking if Libvirt default network is present ... OK
- -- Checking if Libvirt default network is active ... OK
- -- Checking the ISO URL ... OK
- -- Checking if provided oc flags are supported ... OK
- -- Starting the OpenShift cluster using 'kvm' hypervisor ...
- -- Minishift VM will be configured with ...
- Memory: 2 GB
- vCPUs : 2
- Disk size: 20 GB
- -- Starting Minishift VM .........................................................-- Setting proxy information ... OK
- OK
- -- Checking for IP address ... OK
- -- Checking for nameservers ... OK
- -- Checking if external host is reachable from the Minishift VM ...
- Pinging 8.8.8.8 ... FAIL
- VM is unable to ping external host
- -- Checking HTTP connectivity from the VM ...
- Retrieving http://minishift.io/index.html ... OK
- -- Checking if persistent storage volume is mounted ... OK
- -- Checking available disk space ... 1% used OK
- Importing 'openshift/origin:v3.9.0' ....................................... OK
- Importing 'openshift/origin-docker-registry:v3.9.0' ............ OK
- Importing 'openshift/origin-haproxy-router:v3.9.0' ........................ OK
- -- OpenShift cluster will be configured with ...
- Version: v3.9.0
- -- Copying oc binary from the OpenShift container image to VM ... OK
- -- Starting OpenShift cluster .............................................
- Using nsenter mounter for OpenShift volumes
- Using public hostname IP 192.168.42.31 as the host IP
- Using 192.168.42.31 as the server IP
- Starting OpenShift using openshift/origin:v3.9.0 ...
- OpenShift server started.
- The server is accessible via web console at:
- https://192.168.42.31:8443
- You are logged in as:
- User: developer
- Password: <any value>
- To login as administrator:
- oc login -u system:admin
- printenv |grep NO_PROXY
- NO_PROXY=localhost
- [root@TSKERCBOFRAP01 ~]# oc login -u developer
- -bash: oc: command not found
- [root@TSKERCBOFRAP01 ~]# export PATH="/root/.minishift/cache/oc/v3.9.0/linux:$PATH"
- [root@TSKERCBOFRAP01 ~]# oc login -u developer
- error: Forbidden
- [root@TSKERCBOFRAP01 ~]# minishift ip
- 192.168.42.31
- [root@TSKERCBOFRAP01 ~]# export NO_PROXY="localhost,192.168.42.31"
- [root@TSKERCBOFRAP01 ~]# oc login -u developer
- Logged into "https://192.168.42.31:8443" as "developer" using existing credentials.
- You have one project on this server: "myproject"
- Using project "myproject".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement