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

Avoid deepcopying unconditionally #9970

Merged
merged 2 commits into from Aug 3, 2016
Merged

Avoid deepcopying unconditionally #9970

merged 2 commits into from Aug 3, 2016

Conversation

0xmichalis
Copy link
Contributor

@0xmichalis
Copy link
Contributor Author

[test]

c.emitDeploymentEvent(deployment, kapi.EventTypeWarning, "Failed", fmt.Sprintf("Deployer pod %q has gone missing", deployerPodName))
glog.V(4).Infof("Failing deployment %q because its deployer pod %q disappeared", deployutil.LabelForDeployment(deployment), deployerPodName)
glog.V(2).Infof("Failing deployment %q because its deployer pod %q disappeared", deployutil.LabelForDeployment(deployment), deployerPodName)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why these were changed

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

INFO: >=4
WARN: >=2
ERR: >= 0

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Controller failures should be v4 if they will happen in normal use. V2 is
for "we did not expect this to happen".

On Jul 21, 2016, at 2:45 AM, Michail Kargakis notifications@github.com
wrote:

In pkg/deploy/controller/deployment/controller.go
#9970 (comment):

          c.emitDeploymentEvent(deployment, kapi.EventTypeWarning, "Failed", fmt.Sprintf("Deployer pod %q has gone missing", deployerPodName))
  •         glog.V(4).Infof("Failing deployment %q because its deployer pod %q disappeared", deployutil.LabelForDeployment(deployment), deployerPodName)
    
  •         glog.V(2).Infof("Failing deployment %q because its deployer pod %q disappeared", deployutil.LabelForDeployment(deployment), deployerPodName)
    

INFO: >=4
WARN: >=2
ERR: >= 0


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/openshift/origin/pull/9970/files/243f2894ba329617dab910eacd4c935f5ba9d49f#r71654205,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABG_p0eY9tv2cBnDIyLxHIPrkKFej3gAks5qXxWggaJpZM4JRTaV
.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A deployer pod that just disappeared isn't normal (except if we deleted it but the log is not for that case)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@smarterclayton
Copy link
Contributor

[test] conformance runs forever

On Sun, Jul 24, 2016 at 5:05 PM, OpenShift Bot notifications@github.com
wrote:

continuous-integration/openshift-jenkins/test FAILURE (
https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/6798/)


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#9970 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABG_p5UrwegZ5qTCe506cdDBKPY36OIoks5qY9OVgaJpZM4JRTaV
.

@0xmichalis
Copy link
Contributor Author

[test]

@openshift-bot
Copy link
Contributor

Evaluated for origin test up to 8be964b

@openshift-bot
Copy link
Contributor

continuous-integration/openshift-jenkins/test SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/7438/)

@mfojtik
Copy link
Member

mfojtik commented Aug 3, 2016

LGTM

@0xmichalis
Copy link
Contributor Author

[merge]

@openshift-bot
Copy link
Contributor

openshift-bot commented Aug 3, 2016

continuous-integration/openshift-jenkins/merge SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test_pr_origin/7446/) (Image: devenv-rhel7_4742)

@openshift-bot
Copy link
Contributor

Evaluated for origin merge up to 8be964b

@openshift-bot openshift-bot merged commit c2da257 into openshift:master Aug 3, 2016
@0xmichalis 0xmichalis deleted the avoid-deepcopying-unconditionally branch August 15, 2016 08:21
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.

None yet

4 participants