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
Import Cluster: Changing from 2 options checkbox to 3 options radio button #788
Comments
Depends on Tendrl/api#350 |
Depends on Tendrl/gluster-integration#553 |
Based on @julienlim 's suggestion to have 3 options while import cluster flow for volume profiling enable/disable/leave as-is, I would suggest below changes in backend data model Have two fields namely
UI should use the field @r0h4n @nthomas-redhat @julienlim @GowthamShanmugam comments?? suggestions?? |
For backward compatibility, with older versions of glusterfs, as |
@shtripat @gnehapk @a2batic @nthomas-redhat @GowthamShanmugam @r0h4n @Tendrl/tendrl-qe Ack. Looks good to me, and +1 on how to deal with older version of glusterfs that don't have the get-state for volume profiling support. |
@julienlim @mcarrano @shtripat @nthomas-redhat @r0h4n How "Enable/Disable Profiling" action should work for cluster's mixed volume profiling status? |
@julienlim @mcarrano @shtripat @nthomas-redhat @r0h4n @gnehapk Good question @gnehapk. At the cluster level (after import), if supported by get-state, when enable profiling performed, volume profiling should be enabled on all volumes in the cluster even if it's mixed. If disable profiling performed, then volume profiling should be disabled on all volumes in the cluster even if it's mixed. If mixed and user wants to retain the existing mixed profiling, the user should not enable/disable the profiling. I think we may need to provide some kind "i" (infotip) or document this somehow. Thoughts? |
Sorry fir just a thumps up above. If after import the cluster level value if |
@julienlim Fixed with the milestone 3 release. Hence, closing it. Please open, if you see any issue, |
This enhancement and bug fix is spawned from Volume profile enabled/not-started info in tendrl #551, which has to do with confusion with enabling / disabling volume profiling during Import Cluster.
Related bugs that can provide further background information:
In addition to the 2 options of Enable Volume Profiling and Disable Volume Profiling, we need to allow for a 3rd option of Leave existing Volume Profiling configuration as-is (which may be a mix of volume profiling enabled and disabled within a given cluster).
Updated mockup for Import Cluster showing these 3 options in a radio button may be found at: Import Cluster Mockup.
Note: The expected behavior of the 3 options are as follow:
See Volume profile enabled/not-started info in tendrl #551 for further details.
@gnehapk @a2batic @cloudbehl @mcarrano
The text was updated successfully, but these errors were encountered: