Skip to content

Optionally enforce that $ETCD_DATA_DIR is on tmpfs - #18161

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
stevekuznetsov:skuznets/enforce-fstype
Jan 20, 2018
Merged

openshift-merge-robot merged 1 commit into
openshift:masterfrom
stevekuznetsov:skuznets/enforce-fstype

Conversation

@stevekuznetsov

Copy link
Copy Markdown
Contributor

In AWS EC2, we must use tmpfs instead of the default EBS volumes for
etcd data, or long fsyncs can kill our server. When $OS_TMPFS_REQUIRED
is set, we can be stringent about this check but otherwise we will
default to being permissive.

Signed-off-by: Steve Kuznetsov [email protected]

/cc @deads2k @bparees @smarterclayton
Supersedes #18160

@openshift-ci-robot openshift-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jan 18, 2018
@stevekuznetsov
stevekuznetsov force-pushed the skuznets/enforce-fstype branch from 5f6d59a to 6ad9716 Compare January 18, 2018 18:29
@bparees

bparees commented Jan 18, 2018

Copy link
Copy Markdown
Contributor

I didn't look, I assume your other PR set OS_TMPFS_REQUIRED in our CI jobs?
/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 18, 2018
@stevekuznetsov

Copy link
Copy Markdown
Contributor Author

@bparees I haven't set it yet, merging this will give us warning messages to help debug what is going on, then in a PR whoever is making sure the mount happens correctly can set the var themselves in the job, once that merges and we are in stable state we can add it to the CI env for all jobs

@stevekuznetsov
stevekuznetsov force-pushed the skuznets/enforce-fstype branch from 6ad9716 to 3374c66 Compare January 18, 2018 18:38
@openshift-merge-robot openshift-merge-robot removed the lgtm Indicates that a PR is ready to be merged. label Jan 18, 2018
@bparees

bparees commented Jan 18, 2018

Copy link
Copy Markdown
Contributor

@stevekuznetsov makes sense.

@deads2k

deads2k commented Jan 18, 2018

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 18, 2018
@openshift-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bparees, deads2k, stevekuznetsov

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these OWNERS Files:

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@deads2k

deads2k commented Jan 18, 2018

Copy link
Copy Markdown
Contributor

hack/test-cmd.sh: line 7: ETCD_DATA_DIR: unbound variable

@stevekuznetsov

Copy link
Copy Markdown
Contributor Author

yuck

@stevekuznetsov

Copy link
Copy Markdown
Contributor Author

/retest

@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@soltysh

soltysh commented Jan 19, 2018

Copy link
Copy Markdown
Contributor

@stevekuznetsov still that hack/test-cmd.sh: line 7: ETCD_DATA_DIR: unbound variable

In AWS EC2, we must use `tmpfs` instead of the default EBS volumes for
etcd data, or long fsyncs can kill our server. When `$OS_TMPFS_REQUIRED`
is set, we can be stringent about this check but otherwise we will
default to being permissive.

Signed-off-by: Steve Kuznetsov <[email protected]>
@stevekuznetsov
stevekuznetsov force-pushed the skuznets/enforce-fstype branch from 3374c66 to c2d03c8 Compare January 19, 2018 15:55
@openshift-merge-robot openshift-merge-robot removed the lgtm Indicates that a PR is ready to be merged. label Jan 19, 2018
@stevekuznetsov

Copy link
Copy Markdown
Contributor Author

Forgot to push the commit up that fixed that issue...

@stevekuznetsov

Copy link
Copy Markdown
Contributor Author

/retest

@deads2k deads2k added the lgtm Indicates that a PR is ready to be merged. label Jan 19, 2018
@stevekuznetsov

Copy link
Copy Markdown
Contributor Author

/retest

@stevekuznetsov

Copy link
Copy Markdown
Contributor Author

/retest
❄️

@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot

Copy link
Copy Markdown
Contributor

Automatic merge from submit-queue.

@openshift-merge-robot
openshift-merge-robot merged commit 4e407d0 into openshift:master Jan 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. retest-not-required size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants