Skip to content

Re-enable monopods on oc status - #8563

Merged
openshift-bot merged 2 commits into
openshift:masterfrom
fabianofranz:issues_8487
May 13, 2016
Merged

openshift-bot merged 2 commits into
openshift:masterfrom
fabianofranz:issues_8487

Conversation

@fabianofranz

Copy link
Copy Markdown
Contributor

Fixes #8487

The deployment config pipeline must mark the pods it covers so that they are not displayed as monopods.

@smarterclayton @deads2k

$ oc status
In project test4 on server https://192.168.2.200:8443

dc/deployment-simple deploys docker.io/openshift/deployment-example:v1 
  deployment #1 deployed about an hour ago - 2 pods

pod/hello-openshift runs openshift/hello-openshift

View details with 'oc describe <resource>/<name>' or list everything with 'oc get all'.

@deads2k

deads2k commented Apr 19, 2016

Copy link
Copy Markdown
Contributor

@fabianofranz can you demonstrate it with a test using the resources that failed for clayton?

@fabianofranz

Copy link
Copy Markdown
Contributor Author

[test]

@fabianofranz

Copy link
Copy Markdown
Contributor Author

done.

On Tue, Apr 19, 2016 at 5:03 PM, David Eads [email protected]
wrote:

@fabianofranz https://github.com/fabianofranz can you demonstrate it
with a test using the resources that failed for clayton?

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#8563 (comment)

@fabianofranz
fabianofranz force-pushed the issues_8487 branch 2 times, most recently from f68a57d to 51e3eca Compare April 20, 2016 13:31
Comment thread test/cmd/deployments.sh Outdated
os::cmd::try_until_success 'oc get rc/test-deployment-config-1'
os::cmd::expect_success_and_text 'oc describe dc test-deployment-config' 'deploymentconfig=test-deployment-config'
os::cmd::expect_success_and_text 'oc status' 'dc/test-deployment-config deploys docker.io/openshift/origin-pod:latest'
os::cmd::expect_success_and_not_text 'oc status' 'pod\/test-deployment-config-1-[0-9a-z]{5} runs openshift\/origin-pod'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is where you're testing that you don't show an already covered pod?

This condition check is racing with the RC controller. If the RC controller doesn't create the pod in time, then this test doesn't actually check anything, right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

There is a try_until_success checking the RC a couple lines above. Anyway, I changed this one to try_until_success too.

@deads2k

deads2k commented Apr 20, 2016

Copy link
Copy Markdown
Contributor

I think the test needs updating and should probably squash, but lgtm otherwise.

@fabianofranz
fabianofranz force-pushed the issues_8487 branch 2 times, most recently from d1614fa to 82acb51 Compare April 25, 2016 19:38
@smarterclayton

Copy link
Copy Markdown
Contributor

[test]

@fabianofranz
fabianofranz force-pushed the issues_8487 branch 6 times, most recently from e3ce5be to cffe49d Compare May 12, 2016 18:44
@0xmichalis

Copy link
Copy Markdown
Contributor

Stopped the test job by mistake [test]

@fabianofranz
fabianofranz force-pushed the issues_8487 branch 2 times, most recently from 4106fde to d3194fc Compare May 13, 2016 17:41
@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to 401d8b0

@openshift-bot

Copy link
Copy Markdown
Contributor

@fabianofranz

Copy link
Copy Markdown
Contributor Author

[merge]

@openshift-bot

openshift-bot commented May 13, 2016 •

Copy link
Copy Markdown
Contributor

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

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to 401d8b0

@openshift-bot
openshift-bot merged commit 4027ec2 into openshift:master May 13, 2016
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.

5 participants