Skip to content

Instantly share code, notes, and snippets.

@munchee13
Created April 21, 2016 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save munchee13/8cf64f2c1797d1d60891b28a193767f6 to your computer and use it in GitHub Desktop.
Save munchee13/8cf64f2c1797d1d60891b28a193767f6 to your computer and use it in GitHub Desktop.
pachd pods not starting with OpenShift
Please see the steps below to install OpenShift and attempt to deploy pachyderm. You'll notice that everything gets created
and the pachyderm init runs to a completed status, but no pods are initialized.
cmorgan@Chris-Morgan-MacBook-Pro:~/Documents/Work/Origin$ vagrant init thesteve0/openshift-origin
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
cmorgan@Chris-Morgan-MacBook-Pro:~/Documents/Work/Origin$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'thesteve0/openshift-origin' could not be found. Attempting to find and install...
default: Box Provider: virtualbox
default: Box Version: >= 0
==> default: Loading metadata for box 'thesteve0/openshift-origin'
default: URL: https://atlas.hashicorp.com/thesteve0/openshift-origin
==> default: Adding box 'thesteve0/openshift-origin' (v1.1.6.3) for provider: virtualbox
default: Downloading: https://atlas.hashicorp.com/thesteve0/boxes/openshift-origin/versions/1.1.6.3/providers/virtualbox.box
==> default: Successfully added box 'thesteve0/openshift-origin' (v1.1.6.3) for 'virtualbox'!
==> default: Importing base box 'thesteve0/openshift-origin'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'thesteve0/openshift-origin' is up to date...
==> default: Setting the name of the VM: openshift-origin
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 8443 (guest) => 8443 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default:
default: Vagrant insecure key detected. Vagrant will automatically replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: No guest additions were detected on the base box for this VM! Guest
default: additions are required for forwarded ports, shared folders, host only
default: networking, and more. If SSH fails on this machine, please install
default: the guest additions and repackage the box to continue.
default:
default: This is not an error message; everything may continue to work properly,
default: in which case you may ignore this message.
==> default: Configuring and enabling network interfaces...
==> default: Running provisioner: shell...
default: Running: inline script
==> default: Successfully started and provisioned VM with 2 cores and 4 G of memory.
==> default: To modify the number of cores and/or available memory modify your local Vagrantfile
==> default: You can now access the OpenShift console on: https://10.2.2.2:8443/console
==> default: Configured users are (<username>/<password>):
==> default: admin/admin
==> default: But, you can also use any username and password combination you would like to create
==> default: a new user.
==> default: You can find links to the client libraries here: https://www.openshift.org/vm
==> default: If you have the oc client library on your host, you can also login from your host.
==> default: To use OpenShift CLI, run:
==> default: $ vagrant ssh
==> default: $ oc login https://10.2.2.2:8443
cmorgan@Chris-Morgan-MacBook-Pro:~/Documents/Work/Origin$ vagrant ssh
Last login: Tue Apr 12 16:31:25 2016 from 10.0.2.2
[vagrant@localhost ~]$ oc login https://10.2.2.2:8443
Authentication required for https://10.2.2.2:8443 (openshift)
Username: admin
Password:
Login successful.
You have access to the following projects and can switch between them with 'oc project <projectname>':
* default (current)
* openshift
* openshift-infra
* sample
Using project "default".
[vagrant@localhost ~]$ oc create -f http://pachyderm.io/manifest.json
serviceaccount "pachyderm" created
replicationcontroller "etcd" created
service "etcd" created
service "rethink" created
replicationcontroller "rethink" created
job "pachyderm-init-db" created
You have exposed your service on an external port on all nodes in your
cluster. If you want to expose this service to the external internet, you may
need to set up firewall rules for the service port(s) (tcp:30650,tcp:30750) to serve traffic.
See http://releases.k8s.io/release-1.2/docs/user-guide/services-firewalls.md for more details.
service "pachd" created
replicationcontroller "pachd" created
[vagrant@localhost ~]$ oc get all
NAME REVISION REPLICAS TRIGGERED BY
docker-registry 1 1 config
router 1 1 config
NAME DESIRED CURRENT AGE
docker-registry-1 1 1 12d
etcd 1 1 7m
pachd 2 0 7m
rethink 1 1 7m
router-1 1 1 12d
NAME HOST/PORT PATH SERVICE TERMINATION LABELS
docker-registry hub.10.2.2.2 docker-registry:5000-tcp docker-registry=default
NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
docker-registry 172.30.240.125 <none> 5000/TCP 12d
etcd 172.30.205.124 <none> 2379/TCP,2380/TCP 7m
kubernetes 172.30.0.1 <none> 443/TCP,53/UDP,53/TCP 12d
pachd 172.30.134.103 nodes 650/TCP,750/TCP 7m
rethink 172.30.133.225 <none> 8080/TCP,28015/TCP,29015/TCP 7m
router 172.30.27.44 <none> 80/TCP,443/TCP,1936/TCP 12d
NAME READY STATUS RESTARTS AGE
docker-registry-1-mizzt 1/1 Running 3 12d
etcd-abds9 1/1 Running 0 7m
pachyderm-init-db-jyy7d 0/1 Completed 0 7m
rethink-ch9vd 1/1 Running 0 7m
router-1-nwo19 1/1 Running 4 12d
[vagrant@localhost ~]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment