« Previous | Next » 

Revision 44bc2a82

ID44bc2a825adc4955fbeb21f3ac347e3e68a80b29
Parent 73490838
Child dbb736a9

Added by Apollon Oikonomopoulos almost 10 years ago

Correctly report user-down instance status

Info queries on user-down instances would fail, because of a check
against instance.hvparams which only contains the instance's non-default
parameters. To fix this, we use GetUpdatedParams, to merge with the cluster
hypervisor parameters.

We also fix a logic error uncovered after the above fix: instances that
were shut down by the user but not marked for user_shutdown, would be
reported as "up" instead of "down".

Signed-off-by: Apollon Oikonomopoulos <>
Reviewed-by: Jose A. Lopes <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences