You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Donal Lafferty (JIRA)" <ji...@apache.org> on 2013/06/28 21:00:20 UTC
[jira] [Created] (CLOUDSTACK-3281) StartCommand carries
VolumeObjectTO with format field of NULL
Donal Lafferty created CLOUDSTACK-3281:
------------------------------------------
Summary: StartCommand carries VolumeObjectTO with format field of NULL
Key: CLOUDSTACK-3281
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3281
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Storage Controller
Affects Versions: Future
Environment: Hyper-V cluster
Reporter: Donal Lafferty
Disk image format is missing from VolumeObjectTO in StartCommand. Not clear whether Hypervisor needs to set this in the CopyCmdAnswer returned when the volume is created, if the hypervisor is never to use the format when looking up an image or if there is a bug in the system.
Sample command:
{
"vm": {
"id": 2,
"name": "v-2-VM",
"type": "ConsoleProxy",
"cpus": 1,
"minSpeed": 500,
"maxSpeed": 500,
"minRam": 1073741824,
"maxRam": 1073741824,
"arch": "i686",
"os": "Debian GNU/Linux 5.0 (32-bit)",
"bootArgs": " template=domP type=consoleproxy host=10.80.3.83 port=8250 name=v-2-VM premium=true zone=1 pod=1 guid=Proxy.2 proxy_vm=2 disable_rp_filter=true eth2ip=10.70.176.125 eth2mask=255.255.240.0 gateway=10.70.176.1 eth0ip=169.254.1.121 eth0mask=255.255.0.0 eth1ip=10.70.176.96 eth1mask=255.255.240.0 mgmtcidr=10.80.2.0/23 localgw=10.70.176.1 internaldns1=10.70.176.118 internaldns2=10.70.160.66 dns1=4.4.4.4",
"rebootOnCrash": false,
"enableHA": false,
"limitCpuUse": false,
"enableDynamicallyScaleVm": false,
"vncPassword": "ce12c56d3290de94",
"params": {},
"uuid": "89384857-b45d-47c0-8c7e-b011b0fcb118",
"disks": [
{
"data": {
"org.apache.cloudstack.storage.to.VolumeObjectTO": {
"uuid": "35a079e4-7767-47d1-8629-72d32c866a08",
"volumeType": "ROOT",
"dataStore": {
"org.apache.cloudstack.storage.to.PrimaryDataStoreTO": {
"uuid": "700b99d8-36e7-3f0c-b362-44f1c773241b-HypervResource",
"id": 1,
"poolType": "Filesystem",
"host": "10.70.176.29",
"path": "E:\\Disks\\",
"port": 0
}
},
"name": "ROOT-2",
"size": 140616708,
"volumeId": 2,
"vmName": "v-2-VM",
"accountId": 1,
"id": 2
}
},
"diskSeq": 0,
"type": "ROOT"
}
],
"nics": [
{
"deviceId": 2,
"networkRateMbps": -1,
"defaultNic": true,
"uuid": "022f8487-aba2-441b-85dd-3a68c3614fec",
"ip": "10.70.176.125",
"netmask": "255.255.240.0",
"gateway": "10.70.176.1",
"mac": "06:9d:26:00:00:0c",
"dns1": "4.4.4.4",
"broadcastType": "Vlan",
"type": "Public",
"broadcastUri": "vlan://untagged",
"isolationUri": "vlan://untagged",
"isSecurityGroupEnabled": false
},
{
"deviceId": 0,
"networkRateMbps": -1,
"defaultNic": false,
"uuid": "4fbb6713-de1e-4930-a944-6b5685c4ac62",
"ip": "169.254.1.121",
"netmask": "255.255.0.0",
"gateway": "169.254.0.1",
"mac": "0e:00:a9:fe:01:79",
"broadcastType": "LinkLocal",
"type": "Control",
"isSecurityGroupEnabled": false
},
{
"deviceId": 1,
"networkRateMbps": -1,
"defaultNic": false,
"uuid": "2eeefa17-429e-47a5-bf41-bfa4742b712c",
"ip": "10.70.176.96",
"netmask": "255.255.240.0",
"gateway": "10.70.176.1",
"mac": "06:26:ae:00:00:07",
"broadcastType": "Native",
"type": "Management",
"isSecurityGroupEnabled": false
}
]
},
"hostIp": "10.70.176.29",
"executeInSequence": false,
"contextMap": {},
"wait": 0
}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira