vps provisioning is...
 
Notifications
Clear all

vps provisioning issue still


TechGuy
Posts: 202
Topic starter
(@hxkd)
Estimable Member
Joined: 5 years ago

Hi Trevor,

We are still having issues where a users vps will just not provision at all, it keeps getting to the creation stage and terminates with an error, the weird part is other vps can be provisioned with the same parameters, ie os, ip addresses, server and it works fine. I assumed it might be something to do with the password or server name, so i auto created these and still the same issue, i moved it between servers and same issue, i created another one for the same client on the same server and it created 100%. weird, i just cant pin it down as to what is the cause.

Solidcp on the provisioning server has the following errors whilst the audit log shows the one below these.

[4/13/2022 1214 PM] ERROR: 'Microsoft Hyper-V 2016' GetJob
System.NullReferenceException: Object reference not set to an instance of an object.
at SolidCP.Providers.Virtualization.JobHelper.CreateFromPSObject(Collection`1 objJob)
at SolidCP.Providers.Virtualization.HyperV2012R2.GetJob(String jobId)
at SolidCP.Server.VirtualizationServer2012.GetJob(String jobId)

[4/13/2022 1214 PM] ERROR: HostedSolution GetJob
System.NullReferenceException: Object reference not set to an instance of an object.
at SolidCP.Providers.Virtualization.JobHelper.CreateFromPSObject(Collection`1 objJob)
at SolidCP.Providers.Virtualization.HyperV2012R2.GetJob(String jobId)

 

0000
Setup external network
0000
External network setup - Skipped
0000
Setup management network
0000
Management network setup - Skipped
0000
Setup private network
0000
Private network setup - Skipped
0000
OS Template Generation: 1
0000
OS Template: Centos7
0000
Start Converting template VHD
0000
Template VHD path: c:\scp76\templates\centos7.vhdx
0000
Converting to 'x:\Hyper-VClients\htcgiraf\htcgiraf-995\Virtual Hard Disks\htcgiraf-995.vhdx'
0002
Error while converting VHD: Server was unable to process request. ---> Object reference not set to an instance of an object.
Server was unable to process request. ---> Object reference not set to an instance of an object.
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.Providers.Virtualization2012.VirtualizationServer2012.GetJob(String jobId)
at SolidCP.EnterpriseServer.VirtualizationServerController2012.JobCompleted(VirtualizationServer2012 vs, ConcreteJob job)
at SolidCP.EnterpriseServer.VirtualizationServerController2012.CreateVirtualMachineInternal(String taskId, VirtualMachine vm, LibraryItem osTemplate, Int32 externalAddressesNumber, Boolean randomExternalAddresses, Int32[] externalAddresses, Int32 privateAddressesNumber, Boolean randomPrivateAddresses, String[] privateAddresses, String summaryLetterEmail)
0002
VPS was not created
 
As i said the same os image was used to create another vps on the same server so there is no rights issues or image issues.

 

1 Reply
Genadij
Posts: 101
(@berkut)
Estimable Member
Joined: 5 years ago

Hello,

Please provide your all HyperV Provider settings.

Reply
Share: