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

Router not starting



I have a fresh native install of OpenShift 1.0.6 running on RHEL 7.1 in
an AWS EC2 instance. I have successfully installed Fabric8, however when
I attempt to create a router, it fails to start and I get the following
messages:

pod "router-1-mk35m_default" container "router" is unhealthy (probe
result: failure), it will be killed and re-created.

Container Statuses

Name	router
State	Running since Oct 7, 2015 9:15:47 AM
Last State Terminated at Oct 7, 2015 9:15:37 AM with exit code 1
Ready	false
Restart Count 15

No Docker logs are captured.

Docker inspect gives the following:

[
{
    "Id":
"c0485f77f9bbbef821b171c199ea4d31943539af73b5ca9a1e6e43de784a9f90",
    "Created": "2015-10-06T15:59:40.569448239Z",
    "Path": "/pod",
    "Args": [],
    "State": {
        "Running": true,
        "Paused": false,
        "Restarting": false,
        "OOMKilled": false,
        "Dead": false,
        "Pid": 30823,
        "ExitCode": 0,
        "Error": "",
        "StartedAt": "2015-10-06T15:59:57.777030095Z",
        "FinishedAt": "0001-01-01T00:00:00Z"
    },
    "Image":
"47bcd97081ef50177dfc2ac69127ded75fdef41bde0cfe7e1fbe79f2732bb25b",
    "NetworkSettings": {
        "Bridge": "",
        "EndpointID":
"12896d6e6d3cac2758c0951152159df37b19d78024dbf299f7a3a4bd187e5774",
        "Gateway": "172.17.42.1",
        "GlobalIPv6Address": "",
        "GlobalIPv6PrefixLen": 0,
        "HairpinMode": false,
        "IPAddress": "172.17.0.1",
        "IPPrefixLen": 16,
        "IPv6Gateway": "",
        "LinkLocalIPv6Address": "",
        "LinkLocalIPv6PrefixLen": 0,
        "MacAddress": "02:42:ac:11:00:01",
        "NetworkID":
"b0a1b910af47cf270ef3baafc09084e27b5cdf86c7d6db67a241c10ff467b4c4",
        "PortMapping": null,
        "Ports": {},
        "SandboxKey": "/var/run/docker/netns/c0485f77f9bb",
        "SecondaryIPAddresses": null,
        "SecondaryIPv6Addresses": null
    },
    "ResolvConfPath":
"/var/lib/docker/containers/c0485f77f9bbbef821b171c199ea4d31943539af73b5ca9a1e6e43de784a9f90/resolv.conf",
    "HostnamePath":
"/var/lib/docker/containers/c0485f77f9bbbef821b171c199ea4d31943539af73b5ca9a1e6e43de784a9f90/hostname",
    "HostsPath":
"/var/lib/docker/containers/c0485f77f9bbbef821b171c199ea4d31943539af73b5ca9a1e6e43de784a9f90/hosts",
    "LogPath":
"/var/lib/docker/containers/c0485f77f9bbbef821b171c199ea4d31943539af73b5ca9a1e6e43de784a9f90/c0485f77f9bbbef821b171c199ea4d31943539af73b5ca9a1e6e43de784a9f90-json.log",
    "Name":
"/k8s_POD.75f3f5d2_docker-registry-1-osg49_default_446e61df-6c19-11e5-a9a6-063cfd67c335_b78197e3",
    "RestartCount": 0,
    "Driver": "devicemapper",
    "ExecDriver": "native-0.2",
    "MountLabel": "system_u:object_r:svirt_sandbox_file_t:s0:c57,c382",
    "ProcessLabel": "system_u:system_r:svirt_lxc_net_t:s0:c57,c382",
    "AppArmorProfile": "",
    "ExecIDs": null,
    "HostConfig": {
        "Binds": null,
        "ContainerIDFile": "",
        "LxcConf": null,
        "Memory": 0,
        "MemorySwap": -1,
        "CpuShares": 2,
        "CpuPeriod": 0,
        "CpusetCpus": "",
        "CpusetMems": "",
        "CpuQuota": 0,
        "BlkioWeight": 0,
        "OomKillDisable": false,
        "MemorySwappiness": null,
        "Privileged": false,
        "PortBindings": null,
        "Links": null,
        "PublishAllPorts": false,
        "Dns": [
            "172.31.30.89",
            "172.31.0.2"
        ],
        "DnsSearch": [
            "default.svc.cluster.local",
            "svc.cluster.local",
            "cluster.local",
            "eu-west-1.compute.internal"
        ],
        "ExtraHosts": null,
        "VolumesFrom": null,
        "Devices": null,
        "NetworkMode": "default",
        "IpcMode": "",
        "PidMode": "",
        "UTSMode": "",
        "CapAdd": null,
        "CapDrop": null,
        "GroupAdd": null,
        "RestartPolicy": {
            "Name": "",
            "MaximumRetryCount": 0
        },
        "SecurityOpt": null,
        "ReadonlyRootfs": false,
        "Ulimits": null,
        "LogConfig": {
            "Type": "json-file",
            "Config": {}
        },
        "CgroupParent": "",
        "ConsoleSize": [
            0,
            0
        ]
    },
    "GraphDriver": {
        "Name": "devicemapper",
        "Data": {
            "DeviceId": "734",
            "DeviceName":
"docker-202:2-50358061-c0485f77f9bbbef821b171c199ea4d31943539af73b5ca9a1e6e43de784a9f90",
            "DeviceSize": "107374182400"
        }
    },
    "Mounts": [],
    "Config": {
        "Hostname": "docker-registry-1-osg49",
        "Domainname": "",
        "User": "",
        "AttachStdin": false,
        "AttachStdout": false,
        "AttachStderr": false,
        "ExposedPorts": null,
        "PublishService": "",
        "Tty": false,
        "OpenStdin": false,
        "StdinOnce": false,
        "Env": [
            "FABRIC8_SERVICE_PORT=80",
            "KUBERNETES_PORT_443_TCP_PORT=443",
            "ROUTER_SERVICE_HOST=172.30.100.46",
            "ROUTER_PORT_80_TCP_ADDR=172.30.100.46",
            "DOCKER_REGISTRY_SERVICE_PORT_5000_TCP=5000",
            "DOCKER_REGISTRY_PORT_5000_TCP_PROTO=tcp",
            "DOCKER_REGISTRY_PORT_5000_TCP_PORT=5000",
            "FABRIC8_SERVICE_HOST=172.30.199.51",
            "FABRIC8_PORT_80_TCP_PORT=80",
            "FABRIC8_PORT_80_TCP_ADDR=172.30.199.51",
            "KUBERNETES_SERVICE_HOST=172.30.0.1",
            "KUBERNETES_SERVICE_PORT=443",
            "ROUTER_SERVICE_PORT=80",
            "DOCKER_REGISTRY_PORT=tcp://172.30.66.246:5000",
            "FABRIC8_PORT=tcp://172.30.199.51:80",
            "ROUTER_PORT_80_TCP_PROTO=tcp",
            "ROUTER_PORT_80_TCP_PORT=80",
            "DOCKER_REGISTRY_PORT_5000_TCP_ADDR=172.30.66.246",
            "FABRIC8_PORT_80_TCP=tcp://172.30.199.51:80",
            "ROUTER_PORT=tcp://172.30.100.46:80",
            "KUBERNETES_PORT=tcp://172.30.0.1:443",
            "KUBERNETES_PORT_443_TCP_PROTO=tcp",
            "ROUTER_SERVICE_PORT_80_TCP=80",
            "ROUTER_PORT_80_TCP=tcp://172.30.100.46:80",
            "DOCKER_REGISTRY_SERVICE_HOST=172.30.66.246",
            "FABRIC8_PORT_80_TCP_PROTO=tcp",
            "KUBERNETES_PORT_443_TCP=tcp://172.30.0.1:443",
            "KUBERNETES_PORT_443_TCP_ADDR=172.30.0.1",
            "DOCKER_REGISTRY_PORT_5000_TCP=tcp://172.30.66.246:5000",
            "DOCKER_REGISTRY_SERVICE_PORT=5000"
        ],
        "Cmd": null,
        "Image": "openshift/origin-pod:v1.0.6",
        "Volumes": null,
        "VolumeDriver": "",
        "WorkingDir": "",
        "Entrypoint": [
            "/pod"
        ],
        "NetworkDisabled": false,
        "MacAddress": "",
        "OnBuild": null,
        "Labels": {
            "io.kubernetes.pod.name": "default/docker-registry-1-osg49"
        }
    }
}
]

I tried creating a clean VM with a new install but hit exactly the same
problem when deploying a router.

Any hints gratefully received.

Thanks!

-- 
Terry

A gleekzorp without a tornpee is like a quop without a fertsneet (sort
of).


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