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

Alert when trying to reboot/halt the pool master XS #1458

Closed
fufroma opened this issue Sep 3, 2016 · 7 comments
Closed

Alert when trying to reboot/halt the pool master XS #1458

fufroma opened this issue Sep 3, 2016 · 7 comments

Comments

@fufroma
Copy link
Contributor

fufroma commented Sep 3, 2016

xo-server 5.1.6 / xo-web 5.1.9

When you restart the "main" server of a pool (aka "the one configured on the /#/settings/servers ), it seem like some feature does not work anymore until the reboot is complete.

There should be an alert on dangerous action for this server (like reboot or halt).

Can be related to #1407

@olivierlambert
Copy link
Member

What's the behavior of XenCenter in this case?

@fufroma
Copy link
Contributor Author

fufroma commented Sep 3, 2016

As I remember (but I may be wrong), XenCenter use the first host of the pool to have a (hidden) list of each host of the pool.
If the main XS is lost, XenCenter will attemp each one of the known server of this pool until it manage to find one working.

@olivierlambert
Copy link
Member

But you can't connect to a pool slave, it will redirect you to the master IP (which is down the time to reboot)

@fufroma
Copy link
Contributor Author

fufroma commented Sep 8, 2016

About the initial issue:
XenCenter behaviour:

  • trying to reboot the master with XC: Ok, instant disconnect of the pool. Can't connect to the pool until you manage to start this server again.
  • trying to halt the master with XC: Ok, instant disconnect of the pool. Can't connect to the pool until you manage to start this server again.

I was wrong about the XC behaviour connecting to other hosts, my bad.

Anyway, XO should prevent user to halt or reboot the pool master.

@olivierlambert
Copy link
Member

You could need to do it. Maybe display a better warning would be a good idea.

@olivierlambert olivierlambert changed the title Alert to not reboot the "main" XS Alert when trying to reboot/halt the pool master XS Sep 8, 2016
@fufroma
Copy link
Contributor Author

fufroma commented Sep 8, 2016

Totally, I explained poorly.

@olivierlambert
Copy link
Member

I just updated the text, nothing fancy but at least it's displayed.

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

No branches or pull requests

2 participants