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

Handle VM not accessible during reboot #1367

Merged
merged 3 commits into from Sep 30, 2021
Merged

Commits on Sep 30, 2021

  1. Handle VM not accessible during reboot

    To support commands requesting a reboot of a VM after execution, the
    query of ssh_info needs to avoid triggering an error when the IP address
    is not yet retrievable as this indicates the VM would not be reachable.
    
    Wrap the returning of the state in the driver to distinguish between the
    following states:
    * :running - indicates the machine is available
    * :inaccessible - the machine is running but not yet available to
      connect
    
    This is based on the behaviour from the virtualbox provider.
    
    Includes some rudimentary tests to exercise the driver state code.
    electrofelix committed Sep 30, 2021
    Configuration menu
    Copy the full SHA
    2e91477 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dd97427 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f586ace View commit details
    Browse the repository at this point in the history