advice: tricky buttons (reset & restart)

jora

New Member
Oct 7, 2014
9
0
1
Kassel
Dear proxmox community,

I'm Johannes, old (well above 30, so yes, old... ;)) and my first post regards to an improvement of the webinterface. It's easy to implement, extremely useful for admins like me it will (at some point in future) save your soul.

What happened to me a few hours ago:
Came to the office, not perfectly awake, saw that one VM hogs 100% of one core, wanted to restart this particular VM. Well, I restarted the VM, sort of...

Instead I restarted the whole host, dual Xeon E3 64GB RAM. What a nightmare! A few seconds later I had a subtle feeling "well, something looked different". Another few seconds later I realized that I restarted the host and another few seconds later the colleagues realized.

Good thing, if any, was that it's been early in the morning and not everybody was already working. Nevertheless, this should not have happened at all!

It was definitely my mistake due to early morning, things on my mind and so forth. But, as with every catastrophe, small problems aggregate into that final catastrophe. I think that the "reset" and "restart" buttons shouldn't be mistaken for one another. They're about at the same place within the WebGUI, they have the same confirmation dialogue but they so much have different impact!

My advice to the dev team:
1. Hide the restart button (for the host), maybe somewhere bottom right.
2. Change the confirmation popup, so that the admin has to type "Yes, I'm 100% sure" or something the likes (the debian way).
3. Remove the restart button completely from the WebGUI and only allow host restarts from the CLI.
4. Instead of the confirmation popup, which again can easily be mistaken for the VM reset popup, implement a password confirmation.

From the above mentioned list I recommend no 4. Additionally to being unique looking it has a security component built in. Imagine a scenario where you leave your PC and someone, maybe a fired coworker, wants to payback the company. Or imagine my misclick scenario.

Any host, esp. a proxmox host is mostly dedicated to run 24/7. Therefore a restart/reboot of the whole host is an uncommon event and I believe this uncommon and potentially disastrous event should not be triggered with two clicks that, again, have a lookalike.

The current implementation so much triggers the brains' pattern recognition, and that's something we absolutely want to avoid.

Long story short: I don't want anybody to experience the pain, the embarrasment and, to be blunt, the money down the drain that I have to go through now!

Cheers,
Jo
 
Dear proxmox community,

I'm Johannes, old (well above 30, so yes, old... ;)) and my first post regards to an improvement of the webinterface. It's easy to implement, extremely useful for admins like me it will (at some point in future) save your soul.

What happened to me a few hours ago:
Came to the office, not perfectly awake, saw that one VM hogs 100% of one core, wanted to restart this particular VM. Well, I restarted the VM, sort of...

Instead I restarted the whole host, dual Xeon E3 64GB RAM. What a nightmare! A few seconds later I had a subtle feeling "well, something looked different". Another few seconds later I realized that I restarted the host and another few seconds later the colleagues realized.

Good thing, if any, was that it's been early in the morning and not everybody was already working. Nevertheless, this should not have happened at all!

It was definitely my mistake due to early morning, things on my mind and so forth. But, as with every catastrophe, small problems aggregate into that final catastrophe. I think that the "reset" and "restart" buttons shouldn't be mistaken for one another. They're about at the same place within the WebGUI, they have the same confirmation dialogue but they so much have different impact!

My advice to the dev team:
1. Hide the restart button (for the host), maybe somewhere bottom right.
2. Change the confirmation popup, so that the admin has to type "Yes, I'm 100% sure" or something the likes (the debian way).
3. Remove the restart button completely from the WebGUI and only allow host restarts from the CLI.
4. Instead of the confirmation popup, which again can easily be mistaken for the VM reset popup, implement a password confirmation.

From the above mentioned list I recommend no 4. Additionally to being unique looking it has a security component built in. Imagine a scenario where you leave your PC and someone, maybe a fired coworker, wants to payback the company. Or imagine my misclick scenario.

Any host, esp. a proxmox host is mostly dedicated to run 24/7. Therefore a restart/reboot of the whole host is an uncommon event and I believe this uncommon and potentially disastrous event should not be triggered with two clicks that, again, have a lookalike.

The current implementation so much triggers the brains' pattern recognition, and that's something we absolutely want to avoid.

Long story short: I don't want anybody to experience the pain, the embarrasment and, to be blunt, the money down the drain that I have to go through now!

Cheers,
Jo

To also be blunt, you could also look at the button you're pressing before you press it. I understand your points, and agree the safety net might be nice to have. But I also believe that if you're using Proxmox in a professional setting, you should be a professional who checks these things before doing. We all make mistakes and all, but it's not the software's job to hold our hand.
 
I totally agree, ultimately the last safetynet is me, the human admin. But I want to express the point that lack of concentration + a design implementiation which begs for such an event = catastrophe, that's all.

I'm fairly educated when it comes to the function of the human brain / psychology. Don't underestimate the pattern recognition of the brain. If you have to reset VMs on a daily basis, because they're testing machines which eventually freeze like in my example, your brain will, 100%, lower the priority of this pattern!

It's not like I manually have to type within my online bank:
recipient: Jack
account no. 123456
amount: 10000 USD
and confirm that with some sort of code.

It's more like:
[ ] Send Jack 10$ --> Do you really want to? yes/no
[ ] Send Jack all$ --> Do you really want to? yes/no

That's my point.

In my position I always have to double check with the person, since they don't always know their VM number. Last time I did an rm -r on a parent directory, not a sub, was two years ago, that was the last comparable mistake I made.
 
We also have user management with access rights!

So please do not use the 'root@pam' account for everything. Instead, use a limited account.
 
  • Like
Reactions: appelsap
My 2 cents:

This is a simple request and it makes sense.

Even just moving the button away from the others would help.

How about taking it in as a GUI improvement and implement it on the next release of the Web GUI?


Serge