You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Omar AlSuleiman (JIRA)" <ji...@apache.org> on 2017/03/15 12:16:41 UTC
[jira] [Created] (CLOUDSTACK-9836) System Proxy VM and Secondary
Storage VM can't be created
Omar AlSuleiman created CLOUDSTACK-9836:
-------------------------------------------
Summary: System Proxy VM and Secondary Storage VM can't be created
Key: CLOUDSTACK-9836
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9836
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: cloudstack-agent
Affects Versions: 4.5.2.2
Environment: Hyper-V 2012 R2
Reporter: Omar AlSuleiman
Priority: Blocker
Fix For: 4.5.2
i have followed the online instructions to install the management server on CentOS 6.7 and used the Pre-built Hyper-V Agent Installer to install the agent:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv+Agent+Installer
System Proxy VM and Secondary Storage VM can't be created with below errors showing on management server portal
Secondary storage VM
Secondary Storage Vm creation failure. zone: ZONE1...error details: null
15 Mar 2017 16:49:30
Console proxy
Console proxy creation failure. zone: ZONE1error details: null
15 Mar 2017 16:49:27
--------------------------------------------
and when reviewing the hyper-v host event log, i found the below:
1.
2017-03-14 17:14:15,461 [3] INFO HypervResource.HypervResourceController [a7faec89-c0ae-412d-bc86-70dd284117ee] - org.apache.cloudstack.storage.command.CopyCommand{
"srcTO": {
"org.apache.cloudstack.storage.to.TemplateObjectTO": {
"path": "template/tmpl/1/9/",
"origUrl": "http://download.cloud.com/templates/4.5/systemvm64template-4.5-hyperv.vhd.zip",
"uuid": "2944f8bc-08fa-11e7-9ca6-005056b63419",
"id": 9,
"format": "VHD",
"accountId": 1,
"checksum": "70bd30ea02ee9ed67d2c6b85c179cee9",
"hvm": false,
"displayText": "SystemVM Template (HyperV)",
"imageDataStore": {
"com.cloud.agent.api.to.NfsTO": {
"_url": "nfs://192.168.11.179/PrimaryStore/",
"_role": "Image"
}
},
"name": "routing-9",
"hypervisorType": "Hyperv"
}
},
"destTO": {
"org.apache.cloudstack.storage.to.TemplateObjectTO": {
"origUrl": "http://download.cloud.com/templates/4.5/systemvm64template-4.5-hyperv.vhd.zip",
"uuid": "2944f8bc-08fa-11e7-9ca6-005056b63419",
"id": 9,
"format": "VHD",
"accountId": 1,
"checksum": "70bd30ea02ee9ed67d2c6b85c179cee9",
"hvm": false,
"displayText": "SystemVM Template (HyperV)",
"imageDataStore": {
"org.apache.cloudstack.storage.to.PrimaryDataStoreTO": {
"uuid": "1f3b32c1-7e19-349f-9b51-ad00e2d3a325",
"id": 1,
"poolType": "SMB",
"host": "192.168.11.179",
"path": "/PrimaryStore/VMS",
"port": 445,
"url": "SMB://192.168.11.179/PrimaryStore/VMS/?ROLE=Primary&STOREUUID=1f3b32c1-7e19-349f-9b51-ad00e2d3a325"
}
},
"name": "routing-9",
"hypervisorType": "Hyperv"
}
},
"executeInSequence": true,
"options": {},
"contextMap": {
"job": "job-1/job-10"
},
"wait": 10800
}
2. Second event is:
2017-03-14 17:14:15,790 [3] ERROR HypervResource.HypervResourceController [a7faec89-c0ae-412d-bc86-70dd284117ee] - org.apache.cloudstack.storage.command.CopyCommand failed on exception, Value cannot be null.
Parameter name: path1
System.ArgumentNullException: Value cannot be null.
Parameter name: path1
at System.IO.Path.Combine(String path1, String path2)
at HypervResource.Utils.DownloadCifsFileToLocalFile(String filePathRelativeToShare, NFSTO cifsShareDetails, String destFile)
at HypervResource.HypervResourceController.CopyCommand(Object cmd)
3. Next Event is:
2017-03-14 17:14:15,805 [3] INFO HypervResource.HypervResourceController [a7faec89-c0ae-412d-bc86-70dd284117ee] - {
"org.apache.cloudstack.storage.command.CopyCmdAnswer": {
"result": false,
"details": "org.apache.cloudstack.storage.command.CopyCommand failed on exception, Value cannot be null.\r\nParameter name: path1",
"newData": null,
"contextMap": {}
}
}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)