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
mgr/dashboard: disable NFSv3 support in dashboard #41081
Conversation
3e397f5
to
cff3bdc
Compare
cff3bdc
to
8d83180
Compare
jenkins test dashboard |
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 @votdev !
@alfonsomthd as you've been recently taking care of NFS stuff, what do you think about this approach? |
Fixes: https://tracker.ceph.com/issues/49718 Related to: ceph#40154 Signed-off-by: Volker Theile <vtheile@suse.com>
8d83180
to
864a362
Compare
The last commit removes the |
jenkins test dashboard |
I'm OK with it. |
@votdev I see that before checking NFSv4, NFSv3 is greyed out to indicate not selectable, but after unchecking andd seeing required red color, when you check again NFSv4 then NFSv3 visually appears as selectable (the text is not greyed out): |
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.
I can not confirm this behavior with Firefox 88.0 (creating a new export) and Chrome 90.0.4430.93 (editing an existing export; the second window in the video). |
Ceph.mp4BTW I see in your video that "Create NFS Export" button is placed before "Cancel" button but in master is currently on reverse... |
@votdev Maybe the issue is related to validation logic and not related to this PR. |
Indeed, that's caused by the validation logic. I think we should ignore this little visual issue, otherwise some more code changes are required, and i really want to keep such changes low to do not get unexpected side effects. |
The v3 checkbox is disabled. The v3 checkbox is unchecked and v4 is checked by default. The form can not be submitted if both protocols are unchecked.
Fixes: https://tracker.ceph.com/issues/49718
Related to: #40154
According to #40154 (comment) there is a bigger refactoring ongoing, but the issue must be backported to Octopus, so a simple cleanup would be easier to backport.
Signed-off-by: Volker Theile vtheile@suse.com
Checklist
Show available Jenkins commands
jenkins retest this please
jenkins test classic perf
jenkins test crimson perf
jenkins test signed
jenkins test make check
jenkins test make check arm64
jenkins test submodules
jenkins test dashboard
jenkins test api
jenkins test docs
jenkins render docs
jenkins test ceph-volume all
jenkins test ceph-volume tox