Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPSTREAM: 47462: strip container id from events #14693

Merged
merged 1 commit into from
Jun 19, 2017

Conversation

derekwaynecarr
Copy link
Member

xref kubernetes/kubernetes#47462

fixes creation of distinct events in etcd for unhealthy pods.

@derekwaynecarr
Copy link
Member Author

/cc @eparis

@sjenning
Copy link
Contributor

[merge][severity:blocker]

1 similar comment
@sjenning
Copy link
Contributor

[merge][severity:blocker]

@eparis
Copy link
Member

eparis commented Jun 19, 2017

come on, rosie!

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to c514c83

@openshift-bot
Copy link
Contributor

[Test]ing while waiting on the merge queue

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to c514c83

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pull_request_origin/2400/) (Base Commit: b9d68cb) (PR Branch Commit: c514c83)

@openshift-bot
Copy link
Contributor

openshift-bot commented Jun 19, 2017

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/merge_pull_request_origin/1046/) (Base Commit: b70d790) (PR Branch Commit: c514c83) (Extended Tests: blocker) (Image: devenv-rhel7_6378)

@openshift-bot openshift-bot merged commit e4eae07 into openshift:master Jun 19, 2017
@smarterclayton
Copy link
Contributor

smarterclayton commented Jun 21, 2017

Is this output new in this PR:

  9m	9m	1	kubelet, localhost	spec.containers{router}	Normal	Created		Created container with id 58aaeddf4408ea6f02424239828f680a8d103dd18298022c25d8a2f0b0a54144
  8m	8m	1	kubelet, localhost	spec.containers{router}	Normal	Killing		Killing container with id docker://58aaeddf4408ea6f02424239828f680a8d103dd18298022c25d8a2f0b0a54144:pod "router-5-zg7rt_default(e2b187d6-561c-11e7-94cc-080027893417)" container "router" is unhealthy, it will be killed and re-created.
  8m	2m	3	kubelet, localhost	spec.containers{router}	Normal	Created		(events with common reason combined)
  23m	2m	12	kubelet, localhost	spec.containers{router}	Normal	Pulled		Container image "openshift/origin-haproxy-router:v3.6.0-alpha.2" already present on machine
  8m	2m	3	kubelet, localhost	spec.containers{router}	Normal	Started		(events with common reason combined)
  8m	2m	3	kubelet, localhost	spec.containers{router}	Normal	Killing		(events with common reason combined)

? The message for common reason is very confusing.

@sjenning
Copy link
Contributor

@smarterclayton There is a bug in EventAggregatorByReasonMessageFunc(). We need to pick kubernetes/kubernetes#46034 as well.

@akostadinov
Copy link
Contributor

akostadinov commented Jul 24, 2017

So how does user know when some property, like bandwidth is unparsable and pod stays in ContainerCreating forever? Perhaps this is not a big deal in Kubernetes but looks like a no-go for OpenShift as far as I can see.

FYI https://bugzilla.redhat.com/show_bug.cgi?id=1474274

@derekwaynecarr
Copy link
Member Author

@akostadinov - for bandwidth errors, those should be caught in validation. the fact that it is done in annotations and is not a proper resource managed in the core yet leaves this as an advanced use case. if openshift wants to carry special validation code to check those annotations, we can explore the solution that way, but a pod that fails validation should never land on a node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants