I have problem that the building of the image is very slow (30sec on AWS,
3min on our VM). The CPU power is not different. It looks like that after
some time the build process stalled. Second, when I run container the jdbc
cannot connect to the database….

I’m trying to add more utilities to my s2i image and run console.

Thanks for helping me…

Mila


Dne 21. července 2016 v 15:10:00, Andy Goldstein ([email protected])
napsal/a:

The line you've highlighted about not being able to get networks stats from
the container is harmless. The docker container has stopped but there is
still a cgroup for it, and the system is attempting to gather stats. It's a
bug that we're looking into but it's unrelated to any connectivity issues
you might be having.

What specific issues are you running in to?

Andy

On Thursday, July 21, 2016, Miloslav Vlach <[email protected]> wrote:

> Hi,
>
> can somebody please help me identify what is wrong ? It looks like the
> network connection is broken from the docker container…
>
> Thanks Mila
>
> Jul 21 14:57:21 rohlik-jdev01 systemd: Stopped docker container
> 8adf6ebdd893ea3c7b3ede0fbd2e80795380058a363b9509649ff684a28b3d37.
>
> Jul 21 14:57:21 rohlik-jdev01 systemd: Stopping docker container
> 8adf6ebdd893ea3c7b3ede0fbd2e80795380058a363b9509649ff684a28b3d37.
>
> Jul 21 14:57:21 rohlik-jdev01 origin-node: I0721 14:57:21.436046    3561
> server.go:1100] GET
> /containerLogs/testo/wapi-12-build/sti-build?follow=true&limitBytes=10485760&tailLines=1000:
> (17.80430948s) 200 [[Go-http-client/1.1] 10.10.121.132:33154]
>
> Jul 21 14:57:21 rohlik-jdev01 origin-node: I0721 14:57:21.745763    3561
> helpers.go:101] *Unable to get network stats from pid 6521: couldn't read
> network stats: failure opening /proc/6521/net/dev: open /proc/6521/net/dev:
> no such file or directory*
>
> Jul 21 14:57:22 rohlik-jdev01 origin-node: I0721 14:57:22.342345    3561
> kubelet.go:2430] SyncLoop (PLEG):
> "wapi-12-build_testo(9dd31dfb-4f42-11e6-bf98-52cb629706b3)", event:
> &pleg.PodLifecycleEvent{ID:"9dd31dfb-4f42-11e6-bf98-52cb629706b3",
> Type:"ContainerDied",
> Data:"8adf6ebdd893ea3c7b3ede0fbd2e80795380058a363b9509649ff684a28b3d37"}
>
> Jul 21 14:57:22 rohlik-jdev01 ovs-vsctl: ovs|00001|vsctl|INFO|Called as
> ovs-vsctl --if-exists del-port veth740cf17
>
> Jul 21 14:57:22 rohlik-jdev01 kernel: device veth740cf17 left promiscuous
> mode
>
> Jul 21 14:57:22 rohlik-jdev01 origin-node: I0721 14:57:22.638218    3561
> manager.go:1368] Killing container
> "63f3c7aded229b170b5ce620493cb254c1bb745a450fea413373919ddc0b492c
> testo/wapi-12-build" with 30 second grace period
>
> Jul 21 14:57:22 rohlik-jdev01 journal:
> time="2016-07-21T14:57:22.639053363+02:00" level=info msg="{Action=stop,
> ID=63f3c7aded229b170b5ce620493cb254c1bb745a450fea413373919ddc0b492c,
> LoginUID=4294967295, PID=3561}"
>
> Jul 21 14:57:22 rohlik-jdev01 systemd: Stopped docker container
> 63f3c7aded229b170b5ce620493cb254c1bb745a450fea413373919ddc0b492c.
>
> Jul 21 14:57:22 rohlik-jdev01 systemd: Stopping docker container
> 63f3c7aded229b170b5ce620493cb254c1bb745a450fea413373919ddc0b492c.
>
> Jul 21 14:57:22 rohlik-jdev01 systemd-machined: Machine
> 63f3c7aded229b170b5ce620493cb254 terminated.
>
> Jul 21 14:57:22 rohlik-jdev01 oci-register-machine[6669]: 2016/07/21
> 14:57:22 Register machine: poststop
> 63f3c7aded229b170b5ce620493cb254c1bb745a450fea413373919ddc0b492c 0
> /var/lib/docker/overlay/cbd4df1c6602213c15795ceb61291e908c2820779b5a5affc997787521c829f9/merged
>
> Jul 21 14:57:22 rohlik-jdev01 oci-register-machine[6669]: 2016/07/21
> 14:57:22 TerminateMachine failed: No machine
> '63f3c7aded229b170b5ce620493cb254c1bb745a450fea413373919ddc0b492c' known
>
> Jul 21 14:57:22 rohlik-jdev01 NetworkManager[1021]: <info>  (veth740cf17):
> link disconnected
>
> Jul 21 14:57:22 rohlik-jdev01 NetworkManager[1021]: <warn>  (veth649d055):
> failed to find device 19 'veth649d055' with udev
>
> Jul 21 14:57:22 rohlik-jdev01 NetworkManager[1021]: <info>  (veth649d055):
> new Veth device (carrier: OFF, driver: 'veth', ifindex: 19)
>
> Jul 21 14:57:22 rohlik-jdev01 avahi-daemon[1002]: Withdrawing workstation
> service for veth649d055.
>
> Jul 21 14:57:22 rohlik-jdev01 avahi-daemon[1002]: Withdrawing workstation
> service for veth740cf17.
>
> Jul 21 14:57:22 rohlik-jdev01 NetworkManager[1021]: <warn>  (veth649d055):
> failed to disable userspace IPv6LL address handling
>
> Jul 21 14:57:22 rohlik-jdev01 NetworkManager[1021]: <warn>  (veth740cf17):
> failed to disable userspace IPv6LL address handling
>
> Jul 21 14:57:22 rohlik-jdev01 origin-node: I0721 14:57:22.763175    3561
> manager.go:1400] Container
> "63f3c7aded229b170b5ce620493cb254c1bb745a450fea413373919ddc0b492c
> testo/wapi-12-build" exited after 124.889561ms
>
> Jul 21 14:57:23 rohlik-jdev01 origin-node: I0721 14:57:23.081502    3561
> kubelet.go:2245] Killing unwanted pod "wapi-12-build"
>
> Jul 21 14:57:23 rohlik-jdev01 origin-node: E0721 14:57:23.327623    3561
> manager.go:1297] Failed to teardown network for pod
> "9dd31dfb-4f42-11e6-bf98-52cb629706b3" using network plugins
> "redhat/openshift-ovs-subnet": exit status 1
>
> Jul 21 14:57:23 rohlik-jdev01 origin-node: I0721 14:57:23.329214    3561
> manager.go:1368] Killing container
> "63f3c7aded229b170b5ce620493cb254c1bb745a450fea413373919ddc0b492c /" with
> 30 second grace period
>
> Jul 21 14:57:23 rohlik-jdev01 journal:
> time="2016-07-21T14:57:23.329852522+02:00" level=info msg="{Action=stop,
> ID=63f3c7aded229b170b5ce620493cb254c1bb745a450fea413373919ddc0b492c,
> LoginUID=4294967295, PID=3561}"
>
> Jul 21 14:57:23 rohlik-jdev01 journal:
> time="2016-07-21T14:57:23.330123594+02:00" level=error msg="Handler for
> POST
> /containers/63f3c7aded229b170b5ce620493cb254c1bb745a450fea413373919ddc0b492c/stop
> returned error: Container already stopped"
>
> Jul 21 14:57:23 rohlik-jdev01 origin-node: E0721 14:57:23.330761    3561
> kubelet.go:2248] Failed killing the pod "wapi-12-build": failed to
> "TeardownNetwork" for "wapi-12-build_testo" with TeardownNetworkError:
> "Failed to teardown network for pod
> \"9dd31dfb-4f42-11e6-bf98-52cb629706b3\" using network plugins
> \"redhat/openshift-ovs-subnet\": exit status 1"
>
> Jul 21 14:57:23 rohlik-jdev01 origin-node: I0721 14:57:23.359886    3561
> kubelet.go:2430] SyncLoop (PLEG):
> "wapi-12-build_testo(9dd31dfb-4f42-11e6-bf98-52cb629706b3)", event:
> &pleg.PodLifecycleEvent{ID:"9dd31dfb-4f42-11e6-bf98-52cb629706b3",
> Type:"ContainerDied",
> Data:"63f3c7aded229b170b5ce620493cb254c1bb745a450fea413373919ddc0b492c"}
>
> Jul 21 14:57:27 rohlik-jdev01 origin-node: I0721 14:57:27.401554    3561
> helpers.go:101] Unable to get network stats from pid 6415: couldn't read
> network stats: failure opening /proc/6415/net/dev: open /proc/6415/net/dev:
> no such file or directory
>
>
_______________________________________________
users mailing list
[email protected]
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

Reply via email to