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

rock-ons-root host pool quota disabled by docker-ce #1872

Closed
phillxnet opened this issue Dec 17, 2017 · 0 comments · Fixed by #1873
Closed

rock-ons-root host pool quota disabled by docker-ce #1872

phillxnet opened this issue Dec 17, 2017 · 0 comments · Fixed by #1873

Comments

@phillxnet
Copy link
Member

A recent move to docker-ce in stable 3.9.2-3 (#1865) caused the pool hosting the rock-ons-root share to have it's quotas disabled which is not currently a supported configuration within Rockstor. This quotas disabled side affect happens directly after the docker systemd service is activated: often only in evidence after rebooting following the 3.9.2-3 update. The consequent 'quotas disabled' buggy behaviour is to be addressed initially by issue #1869 (further on from now released #1868).

This issue is to address the cause of the quotas disabled state, which appears to be a bug in docker-ce:
docker/for-linux#78
which can be partially circumvented by adding an additional option to the dockerd command line as called by our python wrapper script:

/opt/rockstor/scripts/docker_wrapper.py

The noted circumvention is only partial as there is still a momentary disabling of quotas during the dockerd start-up, toward the end of which the quotas are then re-enabled. The consequences of this momentary disabling of quotas is currently under investigation and may require the now almost finalised changes associated with issue #1869 to address. An initial side effect of the current sustained disabled quotas state directly after 3.9.2-3 (post reboot) and before 3.9.2-5 was that all shares hosted by the same pool as the rock-ons-root share were not automatically mounted on boot: this was fixed in 3.9.2-5 by issue #1867 (pr #1868).

Pull request to follow shortly.

phillxnet added a commit to phillxnet/rockstor-core that referenced this issue Dec 17, 2017
It was found that the unwanted and currently unsupported
behaviour of docker-ce disabling quotas, pre this commit,
whenever systemd initiated this dockerd wrapper was
partially circumvented by the addition of the:
btrfs.min_space storage drive option. In this case, although
qoutas were still disabled they were then re-enabled shortly
there after; once the dockerd deamon had settled: returning
the pools quotas to the supported enabled status. Note
however that disabling the docker service still disables
quotas on the associated host pool and the state is persistent.
schakrava added a commit that referenced this issue Dec 18, 2017
…quota_disabled_by_docker-ce

rock-ons-root host pool quota disabled by docker-ce. Fixes #1872
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 a pull request may close this issue.

1 participant