Bug 1314518 - Duplicate messages in oc get pod -w when deleting a dc
Duplicate messages in oc get pod -w when deleting a dc
Status: NEW
Product: OpenShift Container Platform
Classification: Red Hat
Component: Command Line Interface (Show other bugs)
3.2.0
x86_64 Linux
unspecified Severity low
: ---
: ---
Assigned To: Fabiano Franz
Wei Sun
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-03-03 14:59 EST by Mike Fiedler
Modified: 2016-03-29 20:20 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Mike Fiedler 2016-03-03 14:59:16 EST
Description of problem:

Duplicate messages appear in oc get pod --show-all=false -w when deleting a dc.  Kind of a nit, but having to account for it in some automation.


Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. Create an application from the django-ex template
2. oc get pod -w to verify it builds/deploys/runs
3. In a separate shell session oc delete dc/django-example

Actual results:

test1     django-example-2-ec80m   1/1       Terminating   0         25m
test1     django-example-2-ec80m   1/1       Terminating   0         25m
test1     django-example-2-ec80m   0/1       Terminating   0         25m
test1     django-example-2-ec80m   0/1       Terminating   0         25m


Expected results:

2 lines of output - one for the start of termination and one for the completion.

kubectl get events --show-all=false -w for the same operation shows:

test1     2016-03-03 14:55:20 -0500 EST   2016-03-03 14:55:20 -0500 EST   1         django-example-2   ReplicationController             Normal    SuccessfulDelete   {replication-controller }   Deleted pod: django-example-2-ec80m

test1     2016-03-03 14:55:21 -0500 EST   2016-03-03 14:55:21 -0500 EST   1         django-example-2-ec80m   Pod       spec.containers{django-example}   Normal    Killing   {kubelet ip-172-31-45-250.us-west-2.compute.internal}   Killing container with docker id e38e37493ba3: Need to kill pod.


Additional info:

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