[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Hairpin setup failed for pod "docker-registry-1-deploy_default": open /sys/devices/virtual/net/veth342eb48/brport/hairpin_mode: no such file or directory



Hi,

I've installed OpenShift with Ansible + Vagrant

After OpenShift origin installation I do :

```
$ vagrant ssh master
$ sudo su
# oc login -u system:admin
 # oc project default
# oadm registry --credentials=/etc/origin/master/openshift-registry.kubeconfig
# oc get pods
NAME                       READY     STATUS    RESTARTS   AGE
docker-registry-1-deploy   0/1       Pending   0          3m
router-1-deploy            0/1       Pending   0          40m
```

In node2, I've :

```
$ vagrant ssh node2
$ sudo su
# journalctl -u origin-node -f


févr. 09 07:56:22 ose3-node2.example.com origin-node[16820]: I0209 07:56:22.467556   16820 proxier.go:294] Adding new service "default/docker-registry:5000-tcp" at 172.30.182.154:5000/TCP
févr. 09 07:56:22 ose3-node2.example.com origin-node[16820]: I0209 07:56:22.712996   16820 kubelet.go:2169] SyncLoop (ADD, "api"): "docker-registry-1-deploy_default"
févr. 09 07:56:22 ose3-node2.example.com origin-node[16820]: I0209 07:56:22.779938   16820 manager.go:1720] Need to restart pod infra container for "docker-registry-1-deploy_default" because it is not found
févr. 09 07:56:22 ose3-node2.example.com origin-node[16820]: I0209 07:56:22.782087   16820 provider.go:91] Refreshing cache for provider: *credentialprovider.defaultDockerConfigProvider
févr. 09 07:56:22 ose3-node2.example.com origin-node[16820]: I0209 07:56:22.782212   16820 docker.go:159] Pulling image openshift/origin-pod:v1.1.1.1 without credentials
févr. 09 07:56:30 ose3-node2.example.com ovs-vsctl[20090]: ovs|00001|vsctl|INFO|Called as ovs-vsctl add-port br0 veth342eb48
févr. 09 07:56:30 ose3-node2.example.com origin-node[16820]: W0209 07:56:30.878571   16820 manager.go:1892] Hairpin setup failed for pod "docker-registry-1-deploy_default": open /sys/devices/virtual/net/veth342eb48/brport/hairpin_mode: no such file or directory
févr. 09 07:56:30 ose3-node2.example.com origin-node[16820]: I0209 07:56:30.879326   16820 docker.go:159] Pulling image openshift/origin-deployer:v1.1.1.1 without credentials
```


Why this error ?

```
manager.go:1892] Hairpin setup failed for pod "docker-registry-1-deploy_default": open /sys/devices/virtual/net/veth342eb48/brport/hairpin_mode: no such file or directory
```

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]