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

Reattach SR icon is non-obvious #4273

Closed
gitterdude opened this issue Jun 7, 2019 · 8 comments · Fixed by #7845
Closed

Reattach SR icon is non-obvious #4273

gitterdude opened this issue Jun 7, 2019 · 8 comments · Fixed by #7845

Comments

@gitterdude
Copy link

gitterdude commented Jun 7, 2019

Context

  • XO origin: the sources / XO Appliance
  • Versions:
    • xo : 6518-ge88848c44
    • xo-web: 5.42.1
    • xo-server: 5.42.1

Suggested behavior

Instead of having a white-chain icon next to "Storage usage" on the New/SR page there should be a "Reattach" button to the right of "Create".

Like this:

@Fohdeesha
Copy link
Contributor

bumping this

@olivierlambert
Copy link
Member

@pdonias feel free to assign the right person, we need to plan it sooner than later.

@olivierlambert olivierlambert modified the milestones: v6, 2024 - Q3 Jul 8, 2024
@pdonias
Copy link
Member

pdonias commented Jul 8, 2024

IIRC, there can be more than one SR to in the list of reattachable SRs and each of them has its "reattach" button next to it. What should happen in that case?

@Fohdeesha If I understood correctly, the problem is when the user clicks "Create" when there's a SR that can be reattached? Maybe we can show a confirmation modal in that case, then?

@julien-f
Copy link
Member

julien-f commented Jul 8, 2024

If the risk is to wipe the SR, maybe a confirmation modal would be enough?

@Fohdeesha
Copy link
Contributor

I thought we already had a confirmation dialog reporting that the SR will be wiped of existing VM disks (if it detects the SR had a previous datastore). If not we should definitely have this yes. Maybe in this same dialog box we can add the "re-attach" option alongside a "initialize as new" button or similar? I think that would be the best of both worlds (then we don't have to show link/reattach buttons for every detected SR in the SR list)

@julien-f
Copy link
Member

julien-f commented Jul 8, 2024

@Fohdeesha We really try to not work on XO5 anymore (otherwise we'll never be able to release XO6) so we should make sure this is necessary and find the simplest solution possible.

@Fohdeesha
Copy link
Contributor

Well considering this has caused multiple customers to completely wipe entire SRs worth of VM disks, I would consider it absolutely necessary to at least have a confirmation dialog explaining the SR will be totally wiped, and to re-link if they desire to re-use the data.

@tig987
Copy link

tig987 commented Nov 7, 2024

The same should be available for local SR.

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