-
Notifications
You must be signed in to change notification settings - Fork 6.3k
mgr/smb: improvements to smb mgr module and docs #58518
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
Conversation
phlogistonjohn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks! Good eye on the json error key name.
|
I can't speak on the change to |
|
@zdover23 no backports please. AFAIR, they wouldn't even apply to squid because this doc file is only in main. |
|
Let's have @adk3798 merge it too after he's run teuthology tests. thanks! |
@phlogistonjohn Roger that. |
|
@phlogistonjohn @adk3798 @zdover23 Can I squeeze in the following additional documentation change as part of the PR? In that case I could address @anthonyeleven 's suggestion too. index d48c638dbee..1fd27e53b7d 100644
--- a/doc/mgr/smb.rst
+++ b/doc/mgr/smb.rst
@@ -357,7 +357,7 @@ custom_dns
placement
Optional. A Ceph Orchestration :ref:`placement specifier
<orchestrator-cli-placement-spec>`. Defaults to one host if not provided
-custom_smb_share_options
+custom_smb_global_options
Optional mapping. Specify key-value pairs that will be directly added to
the global ``smb.conf`` options (or equivalent) of a Samba server. Do
*not* use this option unless you are prepared to debug the Samba instances |
@anoopcs9, I'm sure you can, because this PR hasn't yet been merged. I don't know if you'll want to squash your commits, but if you do: https://docs.ceph.com/en/latest/start/documenting-ceph/#squash-extraneous-commits |
In the following error response the list of active shares is incorrectly
displayed with "clusters" field.
{
"resource": {
"resource_type": "ceph.smb.cluster",
"cluster_id": "smbcluster",
"intent": "removed"
},
"clusters": [
"smbshare"
],
"msg": "cluster in use by shares",
"success": false
}
Replace "clusters" with "shares" to avoid confusion.
Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
d7a6ee1 to
7a904aa
Compare
I've updated to add an extra patch for the above mentioned change. |
'--define-user-pass' allows us to specify the list of users, along with their passwords, permitted to access different shares within a cluster. But this option was missing from the corresponding docs. Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
Custom options to the ceph.smb.cluster resource are expected under "custom_smb_global_options" and not "custom_smb_share_options". Signed-off-by: Anoop C S <anoopcs@cryptolab.net>
7a904aa to
97119ed
Compare
|
|
|
jenkins test api |
1 similar comment
|
jenkins test api |
|
Failures
Should only block merging for the one PR breaking the test_cephadm task test |
|
jenkins test api |
mgr/smb: improvements to smb mgr module and docs Reviewed-by: Anthony D'Atri <anthonyeleven@users.noreply.github.com> Reviewed-by: John Mulligan <jmulligan@redhat.com>
ceph smb cluster createin docs.