Advertisement
Guest User

Untitled

a guest
Aug 1st, 2018
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.03 KB | None | 0 0
  1. [root@TSKERCBOFRAP01 ~]# printenv |grep NO_PROXY
  2. NO_PROXY=localhost
  3.  
  4. minishift start
  5. -- Starting profile 'minishift'
  6. -- Using proxy for the setup
  7. -- Check if deprecated options are used ... OK
  8. -- Checking if https://github.com is reachable ... OK
  9. -- Checking if requested OpenShift version 'v3.9.0' is valid ... OK
  10. -- Checking if requested OpenShift version 'v3.9.0' is supported ... OK
  11. -- Checking if requested hypervisor 'kvm' is supported on this platform ... OK
  12. -- Checking if KVM driver is installed ...
  13. Driver is available at /usr/local/bin/docker-machine-driver-kvm ...
  14. Checking driver binary is executable ... OK
  15. -- Checking if Libvirt is installed ... OK
  16. -- Checking if Libvirt default network is present ... OK
  17. -- Checking if Libvirt default network is active ... OK
  18. -- Checking the ISO URL ... OK
  19. -- Checking if provided oc flags are supported ... OK
  20. -- Starting the OpenShift cluster using 'kvm' hypervisor ...
  21. -- Minishift VM will be configured with ...
  22. Memory: 2 GB
  23. vCPUs : 2
  24. Disk size: 20 GB
  25. -- Starting Minishift VM .........................................................-- Setting proxy information ... OK
  26. OK
  27. -- Checking for IP address ... OK
  28. -- Checking for nameservers ... OK
  29. -- Checking if external host is reachable from the Minishift VM ...
  30. Pinging 8.8.8.8 ... FAIL
  31. VM is unable to ping external host
  32. -- Checking HTTP connectivity from the VM ...
  33. Retrieving http://minishift.io/index.html ... OK
  34. -- Checking if persistent storage volume is mounted ... OK
  35. -- Checking available disk space ... 1% used OK
  36. Importing 'openshift/origin:v3.9.0' ....................................... OK
  37. Importing 'openshift/origin-docker-registry:v3.9.0' ............ OK
  38. Importing 'openshift/origin-haproxy-router:v3.9.0' ........................ OK
  39. -- OpenShift cluster will be configured with ...
  40. Version: v3.9.0
  41. -- Copying oc binary from the OpenShift container image to VM ... OK
  42. -- Starting OpenShift cluster .............................................
  43. Using nsenter mounter for OpenShift volumes
  44. Using public hostname IP 192.168.42.31 as the host IP
  45. Using 192.168.42.31 as the server IP
  46. Starting OpenShift using openshift/origin:v3.9.0 ...
  47. OpenShift server started.
  48.  
  49. The server is accessible via web console at:
  50. https://192.168.42.31:8443
  51.  
  52. You are logged in as:
  53. User: developer
  54. Password: <any value>
  55.  
  56. To login as administrator:
  57. oc login -u system:admin
  58.  
  59. printenv |grep NO_PROXY
  60. NO_PROXY=localhost
  61.  
  62. [root@TSKERCBOFRAP01 ~]# oc login -u developer
  63. -bash: oc: command not found
  64. [root@TSKERCBOFRAP01 ~]# export PATH="/root/.minishift/cache/oc/v3.9.0/linux:$PATH"
  65. [root@TSKERCBOFRAP01 ~]# oc login -u developer
  66. error: Forbidden
  67.  
  68. [root@TSKERCBOFRAP01 ~]# minishift ip
  69. 192.168.42.31
  70. [root@TSKERCBOFRAP01 ~]# export NO_PROXY="localhost,192.168.42.31"
  71. [root@TSKERCBOFRAP01 ~]# oc login -u developer
  72. Logged into "https://192.168.42.31:8443" as "developer" using existing credentials.
  73.  
  74. You have one project on this server: "myproject"
  75.  
  76. Using project "myproject".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement