Skip to content

Changed directory of slave image to /tmp - #11041

Merged
openshift-bot merged 1 commit into
openshift:masterfrom
oatmealraisin:rymurphy/master-slave-fix
Sep 26, 2016
Merged

openshift-bot merged 1 commit into
openshift:masterfrom
oatmealraisin:rymurphy/master-slave-fix

Conversation

@oatmealraisin

Copy link
Copy Markdown

Fixes #10914

@bparees @mfojtik ptal?

@bparees

bparees commented Sep 21, 2016

Copy link
Copy Markdown
Contributor

does the master-slave readme need to be updated also, to indicate the need to instantiate the sample template? i seem to recall you ran into issues with missing that step.

@bparees bparees self-assigned this Sep 21, 2016
@mfojtik

mfojtik commented Sep 21, 2016

Copy link
Copy Markdown
Contributor

@oatmealraisin @bparees did you find the root cause for why we need to do this? it used to work :-)

@bparees

bparees commented Sep 21, 2016

Copy link
Copy Markdown
Contributor

@mfojtik i'm satisfied to assume something about some permissions changed in the image or the uid the slave is getting launched as.

@mfojtik

mfojtik commented Sep 21, 2016

Copy link
Copy Markdown
Contributor

@bparees @oatmealraisin can we at least use /tmp/workspace or something similar?

@oatmealraisin

Copy link
Copy Markdown
Author

I'm working on the README, testing my changes now

@mfojtik @bparees Whatever you all think is best for the directory. I'll also test /tmp/workspace

@bparees

bparees commented Sep 21, 2016

Copy link
Copy Markdown
Contributor

@mfojtik any particular reason you think it matters? we're specifying the image, we know /tmp is safe to use.

@mfojtik

mfojtik commented Sep 21, 2016

Copy link
Copy Markdown
Contributor

@bparees during the build the /tmp might be used for temporary artifacts.. i would feel safe if we can isolate the workdir ;-)

@bparees

bparees commented Sep 21, 2016

Copy link
Copy Markdown
Contributor

@mfojtik i'm pretty sure jenkins creates a subdir anyway for the workspace.

but if @oatmealraisin finds that "/tmp/workspace" works, we can update it to that.

@oatmealraisin

Copy link
Copy Markdown
Author

@mfojtik @bparees I've changed the tutorial but left it as /tmp. Jenkins automatically creates a workspace directory, and the app breaks with the additional /tmp/workspace. Jenkins breaks trying to mkdir /tmp/workspace/workspace/jenkins

@bparees bparees left a comment

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.

one minor issue w/ the instructions and then lgtm.

```
```
# Ruby application template
$ oc new-app https://raw.githubusercontent.com/openshift/origin/master/examples/jenkins/application-template.json

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 installing/instantiating a template which is different from installing a template (as the other 2 commands do), so i think this needs to be broken out as a separate step so it's not under "install the provided templates"

@oatmealraisin

Copy link
Copy Markdown
Author

@bparees Made oc new-app its own step, ptal?

@bparees

bparees commented Sep 22, 2016

Copy link
Copy Markdown
Contributor

@oatmealraisin squash and lgtm.

Added step to Master->Slave tutorial

This directs the user to create the ruby application template, which is
critical to the success of the tutorial.

Also fixed a bug with ordered list
@oatmealraisin

Copy link
Copy Markdown
Author

@bparees squashed, merge?

@bparees

bparees commented Sep 22, 2016

Copy link
Copy Markdown
Contributor

[merge]

@openshift-bot

Copy link
Copy Markdown
Contributor

[Test]ing while waiting on the merge queue

@oatmealraisin

Copy link
Copy Markdown
Author

[test]

@oatmealraisin

oatmealraisin commented Sep 23, 2016 •

Copy link
Copy Markdown
Author

Flake #11074 , [test]

@oatmealraisin

Copy link
Copy Markdown
Author

Flake #11079, [test]

@bparees

bparees commented Sep 24, 2016

Copy link
Copy Markdown
Contributor

[merge]

Ben Parees | OpenShift

On Sep 24, 2016 04:32, "OpenShift Bot" [email protected] wrote:

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

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

@bparees

bparees commented Sep 24, 2016

Copy link
Copy Markdown
Contributor

[merge]

Ben Parees | OpenShift

On Sep 24, 2016 07:37, "OpenShift Bot" [email protected] wrote:

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

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

@oatmealraisin

Copy link
Copy Markdown
Author

@bparees Any idea how I could be causing this failure? I keep getting the same one.

@bparees

bparees commented Sep 24, 2016

Copy link
Copy Markdown
Contributor

@oatmealraisin the deployments flake is a known flake #11016

The flake here is more concerning but still not due to your changes that i can see:
https://ci.openshift.redhat.com/jenkins/job/test_pull_requests_origin_integration/6320/console

@stevekuznetsov did compilation memory requirements go up again? not sure why everyone wouldn't be seeing this:

++ Building go targets for linux/amd64: cmd/openshift cmd/oc
# github.com/openshift/origin/cmd/openshift
/usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: fork/exec /usr/bin/gcc: cannot allocate memory
[ERROR] PID 7: hack/common.sh:244: `local -a binaries=("$@")` exited with status 1.
[INFO]      Stack Trace: 
[INFO]        1: hack/common.sh:244: `local -a binaries=("$@")`
[INFO]        2: hack/build-cross.sh:20: os::build::build_binaries
[INFO]   Exiting with code 1.
make: *** [build-cross] Error 1

[test]

@bparees

bparees commented Sep 25, 2016

Copy link
Copy Markdown
Contributor

flake #11016
[test]

memory error seems to have gone away this run, so that's a flake too.

On Sat, Sep 24, 2016 at 7:22 PM, OpenShift Bot [email protected]
wrote:

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

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#11041 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEvl3j4R-AdD6jNbuVcBgbcnKYwyI_ltks5qtbC4gaJpZM4KC4iH
.

Ben Parees | OpenShift

@oatmealraisin

Copy link
Copy Markdown
Author

Flake #11016, [test]

@oatmealraisin

Copy link
Copy Markdown
Author

@bparees Thanks :) was really scratching my head with this one

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin test up to a1f3537

@openshift-bot

Copy link
Copy Markdown
Contributor

@bparees

bparees commented Sep 26, 2016

Copy link
Copy Markdown
Contributor

[merge]

@stevekuznetsov

Copy link
Copy Markdown
Contributor

@bparees yeah, they're slowly creeping up still after the rebase.

@openshift-bot

openshift-bot commented Sep 26, 2016 •

Copy link
Copy Markdown
Contributor

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

@bparees

bparees commented Sep 26, 2016

Copy link
Copy Markdown
Contributor

#10162
[merge]

@openshift-bot

Copy link
Copy Markdown
Contributor

Evaluated for origin merge up to a1f3537

@openshift-bot
openshift-bot merged commit 46146b0 into openshift:master Sep 26, 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