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

vstart.sh: Remove duplicate global section #17543

Merged
merged 1 commit into from Sep 13, 2017
Merged

vstart.sh: Remove duplicate global section #17543

merged 1 commit into from Sep 13, 2017

Conversation

iliul
Copy link
Contributor

@iliul iliul commented Sep 7, 2017

remove duplicate global section,move $extra_conf to the first global section

@iliul
Copy link
Contributor Author

iliul commented Sep 7, 2017

@joscollin Please help take a look,Thanks

@@ -440,6 +440,7 @@ prepare_conf() {
filestore fd cache size = 32
run dir = $CEPH_OUT_DIR
enable experimental unrecoverable data corrupting features = *
$extra_conf
Copy link
Contributor

Choose a reason for hiding this comment

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

you might want to make sure $extra_conf is able to override the settings in all sections. for example, the default settings of [client] will override that the $extra_conf with your change.

@liewegas liewegas added the core label Sep 13, 2017
@liewegas
Copy link
Member

see de4474a .. this was deliberately at the end so that it overrides the stuff that is already in there. I think you're probably right that this particular line can move back, but please test and verify that overriding a config that is in [global] already with -o 'foo = bar' will work correctly.

@liewegas
Copy link
Member

and yeah, let's add it to [client] too

Signed-off-by: iliul <liul124@chinaunicom.cn>
@iliul
Copy link
Contributor Author

iliul commented Sep 13, 2017

@liewegas added $extra_conf to [client] section, and it works fine in my local envionment.

@liewegas liewegas merged commit 2496470 into ceph:master Sep 13, 2017
@iliul iliul deleted the fix-dup-global-section branch September 13, 2017 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants