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

VMHyperV: Saved VM does not start #147

Open
jonaslewin opened this issue Mar 18, 2018 · 0 comments
Open

VMHyperV: Saved VM does not start #147

jonaslewin opened this issue Mar 18, 2018 · 0 comments
Labels
bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community.

Comments

@jonaslewin
Copy link

Details of the scenario you tried and the problem that is occurring:
I want to make sure that my VMs are running. And if they are not - start them.

This is the info - but the VM does not start:
VERBOSE: [SERVERNAME]: LCM: [ Start Resource ] [[xVMHyperV]MyVM]
VERBOSE: [SERVERNAME]: LCM: [ Start Test ] [[xVMHyperV]MyVM]
VERBOSE: [SERVERNAME]: LCM: [ End Test ] [[xVMHyperV]MyVM] in 0.4690 seconds.
VERBOSE: [SERVERNAME]: LCM: [ Start Set ] [[xVMHyperV]MyVM]
VERBOSE: [SERVERNAME]: [[xVMHyperV]MyVM] Checking if VM 'MyVM' exists ...
VERBOSE: [SERVERNAME]: [[xVMHyperV]MyVM] VM 'MyVM' exists.
VERBOSE: [SERVERNAME]: [[xVMHyperV]MyVM] VM property 'State' should be 'Running', actual 'Saved'.
VERBOSE: [SERVERNAME]: [[xVMHyperV]MyVM] VM property 'State' is 'Running'.
VERBOSE: [SERVERNAME]: LCM: [ End Set ] [[xVMHyperV]MyVM] in 0.1400 seconds.
VERBOSE: [SERVERNAME]: LCM: [ End Resource ] [[xVMHyperV]MyVM]

The DSC configuration that is using the resource (as detailed as possible):

    xVMHyperV MyVM
    {
        Ensure = "Present"
        Name = "MyVM"
        VhdPath = "X:\MyVM.vhdx"
        State = "Running"
    }

Version of the Operating System and PowerShell the DSC Target Node is running:

Windows version: Server 2016
Powershell version:
Major Minor Build Revision
5 1 14393 2125

Version of the DSC module you're using, or 'dev' if you're using current dev branch:
3.11.0.0

@johlju johlju added bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community. labels May 16, 2018
@johlju johlju changed the title xVMHyperV - Saved VM does not start VMHyperV - Saved VM does not start Jun 12, 2022
@johlju johlju changed the title VMHyperV - Saved VM does not start VMHyperV: Saved VM does not start Jun 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug The issue is a bug. help wanted The issue is up for grabs for anyone in the community.
Projects
None yet
Development

No branches or pull requests

2 participants