Hi,
We have an issue with creating a Windows server 2019 Hyper-V server - the server is created ok,but it is not assigned a IP - we have found that if we click on the configuration tab of the vm within solidcp control panel and then click on edit configuration,then press update - the IP address is then assigned after the server is rebooted -even though we made no actual config changes. (we have also tried a reboot without pressing config but that doesnt help)
I can confirm we have no issues with ip's being automatically assigned when we create the vm's using Windows 2016 server.
is this a bug?
This is from the vmconfig logs:
21/11/2018 18:14:55] ERROR: System.Management.ManagementException: Critical error
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at SolidCP.VmConfig.ChangeAdministratorPasswordModule.GetAdministratorName()
at SolidCP.VmConfig.ChangeAdministratorPasswordModule.Run(ExecutionContext& context)
[21/11/2018 18:14:55] END: 'ChangeAdministratorPassword' module finished.
[21/11/2018 18:14:55] START: Starting 'SetupNetworkAdapter' module...
[21/11/2018 18:14:56] ERROR: Network adapter configuration error: System.Management.ManagementException: Critical error
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at System.Management.ManagementObjectCollection.get_Count()
at SolidCP.VmConfig.SetupNetworkAdapterModule.Run(ExecutionContext& context)
[21/11/2018 18:14:56] END: 'SetupNetworkAdapter' module finished.
[21/11/2018 18:14:56] INFO: Reboot required
[21/11/2018 18:14:56] START: RebootSystem
[21/11/2018 18:14:56] ERROR: Reboot System error:
System.Management.ManagementException: Critical error
at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()
at SolidCP.VmConfig.VmConfigService.RebootSystem()
[21/11/2018 18:15:34] APP: SolidCP.VmConfig 1.2.0.0 started successfully
[21/11/2018 18:15:34] START: Delay on service start-up
[21/11/2018 18:16:04] END: Delay on service start-up
[21/11/2018 18:16:04] START: Loading provisioning modules...
[21/11/2018 18:16:04] END: 3 module(s) loaded
[21/11/2018 18:16:34] INFO: Deleted activity result: SCP-ChangeComputerName-636784208050316735
[21/11/2018 18:16:34] INFO: Deleted activity result: SCP-ChangeAdministratorPassword-636784208061098195
[21/11/2018 18:16:34] INFO: Deleted activity result: SCP-SetupNetworkAdapter-636784208070785983
[21/11/2018 18:16:34] END: 3 result(s) deleted
Can you change IP of VM server from SolidCP panel?
Yes, once we can do that
Can you try to change the value
<add key="Service.StartupDelay" value="30000"/>
in the file SolidCP.VmConfig.exe.config in your OS template?
For example set to 60000 or 1200000
And after post error log.