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

ceph_key: restore file mode after a key is fetched #4736

Merged
merged 1 commit into from Nov 14, 2019
Merged

Conversation

guits
Copy link
Collaborator

@guits guits commented Nov 14, 2019

when import_key is enabled, if the key already exists, it will only be
fetched using ceph cli, if the mode specified in the ceph_key task is
different from what is applied by the ceph cli, the mode isn't restored because
we don't call module.set_fs_attributes_if_different() before
module.exit_json(**result)

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1734513

Signed-off-by: Guillaume Abrioux gabrioux@redhat.com

@guits guits force-pushed the guits-fix_ceph_key branch 2 times, most recently from 0c0f7b1 to ce230ae Compare November 14, 2019 09:53
@guits guits changed the title ceph_key: restore file modeafter a key is fetched ceph_key: restore file mode after a key is fetched Nov 14, 2019
when `import_key` is enabled, if the key already exists, it will only be
fetched using ceph cli, if the mode specified in the `ceph_key` task is
different from what is applied by the ceph cli, the mode isn't restored because
we don't call `module.set_fs_attributes_if_different()` before
`module.exit_json(**result)`

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1734513

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
@guits
Copy link
Collaborator Author

guits commented Nov 14, 2019

jenkins test centos-non_container-all_daemons

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants