Repository navigation
Closed
Description
Steps to reproduce:
cd origin
git checkout v0.3.2
make clean
export OPENSHIFT_DEV_CLUSTER=true
export OPENSHIFT_NUM_MINIONS=1
vagrant halt
rm -Rf openshift.local.*
vagrant destroy minion-1 -f
vagrant destroy master -f
vagrant up
ssh -o PasswordAuthentication=no -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no \
-p 2222 -i ".vagrant/machines/master/virtualbox/private_key" [email protected] << EOF
set -x
set -e
sudo ln -T /usr/bin/openshift /usr/bin/osc
cd /vagrant
export KUBECONFIG="/vagrant/openshift.local.certificates/admin/.kubeconfig"
export CURL_CA_BUNDLE="/vagrant/openshift.local.certificates/admin/root.crt"
#perhaps not necessary?
examples/sample-app/pullimages.sh
CERT_DIR="/vagrant/openshift.local.certificates/openshift-client" hack/install-registry.sh
EOF
The docker log on minion-1 is the only place where I could see something suspicious happening: https://gist.github.com/ppalaga/ba12ac5a6e4c42e5fbd2#file-docker-log
Docker seems to pull and create openshift/origin-pod, v0.3.2 sucessfully around https://gist.github.com/ppalaga/ba12ac5a6e4c42e5fbd2#file-docker-log-L317 , but I am not able to tell from the log what happens after that:
- pull/create of openshift/origin-deployer:v0.3.2 seems to succeed first around https://gist.github.com/ppalaga/ba12ac5a6e4c42e5fbd2#file-docker-log-L356
- The registry is requested around https://gist.github.com/ppalaga/ba12ac5a6e4c42e5fbd2#file-docker-log-L337
- But then, deployer dies around https://gist.github.com/ppalaga/ba12ac5a6e4c42e5fbd2#file-docker-log-L636 and the registry never appears.
After that:
[vagrant@openshift-minion-1 ~]$ sudo docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
776dc6b0570c openshift/origin-deployer:v0.3.2 "/usr/bin/openshift- About an hour ago Exited (255) About an hour ago k8s_deployment.c9754cc8_deploy-docker-registry-1cwxe1.default.api_b884f277-bc03-11e4-ae70-0800279696e1_dd86986c
3de11bcdf48b openshift/origin-pod:v0.3.2 "/pod" About an hour ago Up About an hour k8s_POD.772ec8a6_deploy-docker-registry-1cwxe1.default.api_b884f277-bc03-11e4-ae70-0800279696e1_4b0988fe
[vagrant@openshift-master vagrant]$ osc get pods
POD IP CONTAINER(S) IMAGE(S) HOST LABELS STATUS
deploy-docker-registry-1cwxe1 10.1.0.2 deployment openshift/origin-deployer:v0.3.2 openshift-minion-1/10.245.2.3 <none> Failed
Metadata
Metadata
Assignees
Labels
No labels
Activity
mfojtik commentedon Feb 24, 2015
@smarterclayton any ideas?
ppalaga commentedon Feb 24, 2015
Using current master f4221c5 and
openshift ex registry --create --credentials="/vagrant/openshift.local.certificates/admin/.kubeconfig"instead ofhack/install-registry.shdoes not help.smarterclayton commentedon Mar 9, 2015
Can you get the log output of the deployment pod?
ppalaga commentedon Mar 9, 2015
I hope this is what you want:
Both listings were made on
minion-1:ppalaga commentedon Mar 9, 2015
I guess that
10.0.2.15:8443is supposed to be the master. Looking at master, I see the following:(1)
10.0.2.15is up:(2) But the
8443port seems to be served only over ipv6:ppalaga commentedon Mar 9, 2015
It looks like setting
KUBERNETES_MASTERhas no effect:ncdc commentedon Mar 9, 2015
Do you have firewalld enabled?
ppalaga commentedon Mar 9, 2015
No,
firewalldis off on master:0xmichalis commentedon Mar 9, 2015
Confirming that
http://pastebin.com/66b1Y0DV
ppalaga commentedon Mar 10, 2015
Upgrading to v0.4.1 solves the problem. It was probably fixed by this commit: b60ea67
Thank you all for the assistance!
Squashed 'cmd/service-catalog/go/src/github.com/kubernetes-incubator/…
update unit tests (openshift#1123)