Skip to content

Removing dependency on the extra storage device. - #6888

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
kwoodson:fix_overlay_nodrive
Jan 26, 2018
Merged

openshift-merge-robot merged 1 commit into
openshift:masterfrom
kwoodson:fix_overlay_nodrive

Conversation

@kwoodson

@kwoodson kwoodson commented Jan 26, 2018 •

Copy link
Copy Markdown
Contributor

This pull request addresses the need to have configure docker storage to overlay without an extra drive.

@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jan 26, 2018
@kwoodson
kwoodson force-pushed the fix_overlay_nodrive branch 2 times, most recently from f3da506 to 48d3511 Compare January 26, 2018 01:51
@kwoodson
kwoodson force-pushed the fix_overlay_nodrive branch from 48d3511 to bf443f6 Compare January 26, 2018 01:52
@kwoodson kwoodson self-assigned this Jan 26, 2018
@kwoodson kwoodson changed the title Removing dependency on the extra stroage device. Removing dependency on the extra storage device. Jan 26, 2018
CONTAINER_ROOT_LV_SIZE="{{ docker_storage_setup_options.root_lv_size }}"
CONTAINER_ROOT_LV_MOUNT_PATH="{{ docker_storage_setup_options.root_lv_mount_path }}"
{% else %}
STORAGE_DRIVER="{{ docker_storage_setup_options.storage_driver }}"

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.

Doesn't storage driver have to be empty here to tell docker storage setup to do nothing? Or will it do the correct thing otherwise?

@kwoodson kwoodson Jan 26, 2018 •

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.

I'm not 100% sure. If you'd prefer to leave out the STORAGE_DRIVER option we can try.

I tested with a single drive in AWS and set the following inventory variables:

container_runtime_docker_storage_type: overlay2
container_runtime_docker_storage_setup_device: ''

This produced the following docker-storage-setup file:

STORAGE_DRIVER="overlay2"
EXTRA_STORAGE_OPTIONS="--storage-opt overlay2.override_kernel_check=true  --graph=/var/lib/docker"

Here is the docker info output:

[root@ip-172-31-58-161 ~]# docker info | grep overlay
Storage Driver: overlay2
 Network: host bridge null overlay

@smarterclayton

Copy link
Copy Markdown
Contributor

Tested on GCP in both configurations (device and overlay) and both worked correctly for me.

/lgtm

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

Copy link
Copy Markdown
Contributor

/retest

@smarterclayton

Copy link
Copy Markdown
Contributor

Unblocks the flakes in the queues

@openshift-merge-robot

Copy link
Copy Markdown
Contributor

/test all [submit-queue is verifying that this PR is safe to merge]

@openshift-merge-robot

Copy link
Copy Markdown
Contributor

Automatic merge from submit-queue.

@openshift-merge-robot
openshift-merge-robot merged commit ca8d3f3 into openshift:master Jan 26, 2018
@openshift-ci-robot

Copy link
Copy Markdown

@kwoodson: The following tests failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/openshift-jenkins/gcp bf443f6 link /test gcp
ci/openshift-jenkins/logging bf443f6 link /test logging
ci/openshift-jenkins/extended_conformance_install_crio bf443f6 link /test crio

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@kwoodson
kwoodson deleted the fix_overlay_nodrive branch March 5, 2018 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged. queue/critical-fix size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants