Bug 1392405 - Warning message seen in heketi-storage-copy-job
Summary: Warning message seen in heketi-storage-copy-job
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: rhgs-volmanager-container
Version: cns-3.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: CNS 3.5
Assignee: Mohamed Ashiq
QA Contact: Prasanth
URL:
Whiteboard:
Depends On:
Blocks: 1415598
TreeView+ depends on / blocked
 
Reported: 2016-11-07 12:42 UTC by Prasanth
Modified: 2018-12-15 07:19 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-20 17:47:02 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:1110 0 normal SHIPPED_LIVE rhgs-volmanager-docker bug fix and enhancement update 2017-04-20 21:46:51 UTC

Description Prasanth 2016-11-07 12:42:56 UTC
Description of problem:

Following warning message seen in the heketi-storage-copy-job created:

######
  5m            5m              1       {kubelet dhcp47-53.lab.eng.blr.redhat.com}                              Warning         FailedSync      Error syncing pod, skipping: failed to "TeardownNetwork" for "heketi-storage-copy-job-bcarr_storage-project" with TeardownNetworkError: "Failed to teardown network for pod \"411f4021-a4e5-11e6-89a0-005056b3bd15\" using network plugins \"cni\": CNI request failed with status 400: 'failed to get container netns: failed to Statfs \"/proc/0/ns/net\": no such file or directory\n'"

######

Version-Release number of selected component (if applicable):
heketi-templates-3.0.0-2.el7rhgs.x86_64
heketi-client-3.0.0-2.el7rhgs.x86_64


How reproducible: 


Steps to Reproduce:
1. Create heketi job using #oc create -f heketi-storage.json
2. # oc get jobs
3. # oc describe pod <heketi-storage-copy-job-bcarr>


Actual results: 

# oc get jobs
NAME                      DESIRED   SUCCESSFUL   AGE
heketi-storage-copy-job   1         1            16m


# oc describe pod heketi-storage-copy-job-bcarr
Name:                   heketi-storage-copy-job-bcarr
Namespace:              storage-project
Security Policy:        privileged
Node:                   dhcp47-53.lab.eng.blr.redhat.com/10.70.47.53
Start Time:             Mon, 07 Nov 2016 17:55:22 +0530
Labels:                 controller-uid=4117e403-a4e5-11e6-89a0-005056b3bd15
                        job-name=heketi-storage-copy-job
Status:                 Succeeded
IP:                     10.1.0.7
Controllers:            Job/heketi-storage-copy-job
Containers:
  heketi:
    Container ID:       docker://55dce08250686e0d779b2874db73c87f34f363866a85e6661fe89889cfabb56e
    Image:              rhgs3/rhgs-volmanager-rhel7
    Image ID:           docker://sha256:7441d88d573223a6fa5c3c8e229956808be7e161f20c87820c6a0e6c43bdc510
    Port:
    Command:
      cp
      /db/heketi.db
      /heketi
    State:              Terminated
      Reason:           Completed
      Exit Code:        0
      Started:          Mon, 07 Nov 2016 17:57:26 +0530
      Finished:         Mon, 07 Nov 2016 17:57:26 +0530
    Ready:              False
    Restart Count:      0
    Volume Mounts:
      /db from heketi-storage-secret (rw)
      /heketi from heketi-storage (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-a9ody (ro)
    Environment Variables:      <none>
Conditions:
  Type          Status
  Initialized   True 
  Ready         False 
  PodScheduled  True 
Volumes:
  heketi-storage:
    Type:               Glusterfs (a Glusterfs mount on the host that shares a pod's lifetime)
    EndpointsName:      heketi-storage-endpoints
    Path:               heketidbstorage
    ReadOnly:           false
  heketi-storage-secret:
    Type:       Secret (a volume populated by a Secret)
    SecretName: heketi-storage-secret
  default-token-a9ody:
    Type:       Secret (a volume populated by a Secret)
    SecretName: default-token-a9ody
QoS Class:      BestEffort
Tolerations:    <none>
Events:
  FirstSeen     LastSeen        Count   From                                            SubobjectPath           Type            Reason          Message
  ---------     --------        -----   ----                                            -------------           --------        ------          -------
  7m            7m              1       {default-scheduler }                                                    Normal          Scheduled       Successfully assigned heketi-storage-copy-job-bcarr to dhcp47-53.lab.eng.blr.redhat.com
  7m            7m              1       {kubelet dhcp47-53.lab.eng.blr.redhat.com}      spec.containers{heketi} Normal          Pulling         pulling image "rhgs3/rhgs-volmanager-rhel7"
  5m            5m              1       {kubelet dhcp47-53.lab.eng.blr.redhat.com}      spec.containers{heketi} Normal          Pulled          Successfully pulled image "rhgs3/rhgs-volmanager-rhel7"
  5m            5m              1       {kubelet dhcp47-53.lab.eng.blr.redhat.com}      spec.containers{heketi} Normal          Created         Created container with docker id 55dce0825068; Security:[seccomp=unconfined]
  5m            5m              1       {kubelet dhcp47-53.lab.eng.blr.redhat.com}      spec.containers{heketi} Normal          Started         Started container with docker id 55dce0825068
  5m            5m              1       {kubelet dhcp47-53.lab.eng.blr.redhat.com}                              Warning         FailedSync      Error syncing pod, skipping: failed to "TeardownNetwork" for "heketi-storage-copy-job-bcarr_storage-project" with TeardownNetworkError: "Failed to teardown network for pod \"411f4021-a4e5-11e6-89a0-005056b3bd15\" using network plugins \"cni\": CNI request failed with status 400: 'failed to get container netns: failed to Statfs \"/proc/0/ns/net\": no such file or directory\n'"


Expected results: No warning messages should be seen


Additional info:

Comment 2 Michael Adam 2016-11-11 10:52:15 UTC
only a warning, no functionality impact seen.

needs to be raised with openshift.

for later.

Comment 3 Michael Adam 2017-01-20 10:50:17 UTC
need to retest with openshift 3.5 and if the warning is still there, raise a bug with openshift.

Comment 6 Jaroslav Henner 2017-02-09 13:37:45 UTC
I am seeing this when deploying router on openshift-3.4. It seems to be a selinux issue. sudo setenforce 0 workarounded this

Comment 7 Humble Chirammal 2017-02-27 12:10:35 UTC
afaict, This this is a bug in openshift and not CNS, we need a bugzilla against openshift if its not fixed at OCP 3.5 builds.

--snip--
Warning         FailedSync      Error syncing pod, skipping: failed to "TeardownNetwork" for "heketi-storage-copy-job-bcarr_storage-project" with TeardownNetworkError: "Failed to teardown network for pod \"411f4021-a4e5-11e6-89a0-005056b3bd15\" using network plugins \"cni\": CNI request failed with status 400: 'failed to get container netns: failed to Statfs \"/proc/0/ns/net\": no such file or directory\n'"

--/snip--

Comment 8 Prasanth 2017-04-04 13:03:53 UTC
Retested and this issue is not seen or reproducible with the OCP 3.5 bits.

Marking it as Verified.

Comment 11 errata-xmlrpc 2017-04-20 17:47:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:1110


Note You need to log in before you can comment on or make changes to this bug.