-
Notifications
You must be signed in to change notification settings - Fork 23
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
Problem with automatic expansion of cluster #849
Comments
Expand cluster section added based on suggestion from fbalak. The procedure described in this commit is based on ongoing specification for cluster expansion: Tendrl/specifications#254 That said, the expand procedure is not fully finished at the time of writing this commit, see also: Tendrl/commons#849
As discussed in arch call today, I am in favor of an option in UI to show the newly available peers and ask for acknowledgment from user to accept and expand the cluster. @julienlim please add details for UX as and when ready with recommendations. [1] https://github.com/Tendrl/documentation/wiki/Architecture-Meeting-Notes#6-march-2018 |
@r0h4n @shtripat @mbukatov @nthomas-redhat @gnehapk @Tendrl/qe @mcarrano @jjkabrown1 I've summarized below my thoughts on the Expand Cluster End-to-End Workflow (which include what the impact is to the UI. We'll be making UX design updates accordingly):
Related issues:
Thoughts? |
|
@shtripat @r0h4n @nthomas-redhat
Please let me know if you need any other info. |
From the backend perspective, cluster would contain a field @julienlim regarding alerts and their clearing I am in agreement. |
New mockups have been added on InVision to reflect the UI approach outlined by @julienlim above. See https://redhat.invisionapp.com/share/8QCOEVEY9 This includes updated to the Clusters view to allow for triggering the expansion and changes to the host view to include Unmanaged Hosts in the list as well as a global action to trigger cluster expansion from this view. We also added an alert to the Volume (Brick) details view to warn the user that brick details may be incomplete while expansion is in progress. Note that triggering the expansion should display a modal to confirm before initiating the task. I don't have that in these wireframes but can follow up with details. Let me know if you have any questions. |
@r0h4n @julienlim @nthomas-redhat @shtripat Will the read only users be allowed to click |
@gnehapk read only users should not be allowed to click Expand action |
@julienlim @mcarrano If the host is in importing state[1], whether user should allow to see the host detail views? IMO we shouldn't allow this as data will be inconsistent and some of the entities might not be available at that moment. |
To summarize and having dev (backend + UI) aspect the flow could looks as below
Hope this makes clearer for UI as what would be available from backend and how different status values of cluster to be taken care for showing buttons for cluster expansion. @gnehapk ^^^ |
@gnehapk I've made 2 updates to the wireframe deck. I've added a confirmation dialog to be displayed after the user clicks Expand and before the task is initiated. You can see that here: https://redhat.invisionapp.com/share/8QCOEVEY9#/283795644_Clusters-Confirm_Expansion The same dialog should appear whether Expand is triggered from the Clusters or Hosts view. I also saw your question above about Host details for unmanaged hosts. You are right, we should not be able to see details for these hosts until import is complete. I have updated the wireframes to remove details links from these entries. Let me know if you have any questions. |
The new mock ups and the backend is implemented on master branches. Please comment if any mismatch |
As Milestone 3 2018 is being dev tested, Some workflow issues have come up for auto expansion of cluster. Here is the current workflow
Steps for auto expand cluster by User
Problems:
In-case the user does step 1 and 2 and does not run tendrl-ansible, this leads to a weird situation where gluster get-state and existing cluster (gluster-integration) know about the new nodes and their volumes (but not bricks since bricks are node local data) but cant do much since tendrl-ansible is not run on new nodes and there's no tendrl-node-agents on new nodes yet
The user can choose to keep new nodes peer probed but unmanaged via Tendrl and not make it part of the Tendrl managed cluster, do we want to provide such freedom? If yes, who/what triggers the expand cluster then.
Solution:
-After step 1, 2, 3, If we agree to let users decide if they want auto expand, Then on the UI host list, we need to provide expand/import button for each such unmanaged new node listed there
@Tendrl/admins @shtripat @julienlim @Tendrl/qe Thoughts?
The text was updated successfully, but these errors were encountered: