[jira] [Updated] (CLOUDSTACK-6924) Exceptions are thrown when a data disk on local storage is attached/migrated to a clusterwide primary storage, zonewide primary storage or to local storage on anothe
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Devdeep Singh updated CLOUDSTACK-6924: -- Fix Version/s: (was: 4.4.0) Exceptions are thrown when a data disk on local storage is attached/migrated to a clusterwide primary storage, zonewide primary storage or to local storage on another host --- Key: CLOUDSTACK-6924 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6924 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Management Server Affects Versions: 4.4.0 Environment: Hyperv Setup with local storage, cluster wide primary storage and zone wide primary storage Reporter: Abhinav Roy Assignee: Devdeep Singh Fix For: 4.5.0 Steps : 1. Deploy a hyperv Setup with multiple clusters having local storage, cluster wide primary storage and zone wide primary storage. 2. Deploy VMs with datadisk v1 on local storage on host1, v2 on cwps and v3 on zwps, v4 on local storage on host2 3. Detach the data disk from v1 and attach to v2 or v3 or v4 Expected behavior : = Since the migration of a data disk on local storage to cpws , zwps or local storage on another host is not supported, we should error out the operation with appropriate error msg and should not throw any exception. Observed behavior : = Expecptions are thrown during these operations : MS logs when with conflicting Host and Cluster scope : --- 2014-06-17 15:11:47,303 DEBUG [c.c.a.ApiServlet] (catalina-exec-18:ctx-fb917520) ===START=== 10.144.6.9 -- GET command=attachVolumeid=8fcefeed-9606-45a0-a482-48a52554ecd1virtualMachineId=89612a65-8398-4a61-92b4-2431b9adbe52response=jsonsessionkey=usW3Wz8dQ4fHD24kCe9r5A27Tbc%3D_=1402997805674 2014-06-17 15:11:47,348 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (catalina-exec-18:ctx-fb917520 ctx-0622857b) submit async job-93, details: AsyncJobVO {id:93, userId: 2, accountId: 2, instanceType: Volume, instanceId: 23, cmd: org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin, cmdInfo: {response:json,id:8fcefeed-9606-45a0-a482-48a52554ecd1,sessionkey:usW3Wz8dQ4fHD24kCe9r5A27Tbc\u003d,ctxDetails:{\com.cloud.storage.Volume\:\8fcefeed-9606-45a0-a482-48a52554ecd1\,\com.cloud.vm.VirtualMachine\:\89612a65-8398-4a61-92b4-2431b9adbe52\},cmdEventType:VOLUME.ATTACH,ctxUserId:2,virtualMachineId:89612a65-8398-4a61-92b4-2431b9adbe52,httpmethod:GET,_:1402997805674,uuid:8fcefeed-9606-45a0-a482-48a52554ecd1,ctxAccountId:2,ctxStartEventId:189}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 213737702773493, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-06-17 15:11:47,349 DEBUG [c.c.a.ApiServlet] (catalina-exec-18:ctx-fb917520 ctx-0622857b) ===END=== 10.144.6.9 -- GET command=attachVolumeid=8fcefeed-9606-45a0-a482-48a52554ecd1virtualMachineId=89612a65-8398-4a61-92b4-2431b9adbe52response=jsonsessionkey=usW3Wz8dQ4fHD24kCe9r5A27Tbc%3D_=1402997805674 2014-06-17 15:11:47,354 INFO [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-60:ctx-daa38c1b job-93) Add job-93 into job monitoring 2014-06-17 15:11:47,354 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-60:ctx-daa38c1b job-93) Executing AsyncJobVO {id:93, userId: 2, accountId: 2, instanceType: Volume, instanceId: 23, cmd: org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin, cmdInfo: {response:json,id:8fcefeed-9606-45a0-a482-48a52554ecd1,sessionkey:usW3Wz8dQ4fHD24kCe9r5A27Tbc\u003d,ctxDetails:{\com.cloud.storage.Volume\:\8fcefeed-9606-45a0-a482-48a52554ecd1\,\com.cloud.vm.VirtualMachine\:\89612a65-8398-4a61-92b4-2431b9adbe52\},cmdEventType:VOLUME.ATTACH,ctxUserId:2,virtualMachineId:89612a65-8398-4a61-92b4-2431b9adbe52,httpmethod:GET,_:1402997805674,uuid:8fcefeed-9606-45a0-a482-48a52554ecd1,ctxAccountId:2,ctxStartEventId:189}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 213737702773493, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-06-17 15:11:47,372 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-60:ctx-daa38c1b job-93 ctx-9c523ebe) Sync job-94 execution on object VmWorkJobQueue.12 2014-06-17 15:11:47,375 DEBUG [c.c.s.VolumeApiServiceImpl] (API-Job-Executor-60:ctx-daa38c1b job-93 ctx-9c523ebe) New job 94, result field: null 2014-06-17 15:11:47,375 WARN [c.c.u.d.Merovingian2] (API-Job-Executor-60:ctx-daa38c1b job-93
[jira] [Updated] (CLOUDSTACK-6924) Exceptions are thrown when a data disk on local storage is attached/migrated to a clusterwide primary storage, zonewide primary storage or to local storage on anothe
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Devdeep Singh updated CLOUDSTACK-6924: -- Fix Version/s: (was: 4.5.0) 4.6.0 Exceptions are thrown when a data disk on local storage is attached/migrated to a clusterwide primary storage, zonewide primary storage or to local storage on another host --- Key: CLOUDSTACK-6924 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6924 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Management Server Affects Versions: 4.4.0 Environment: Hyperv Setup with local storage, cluster wide primary storage and zone wide primary storage Reporter: Abhinav Roy Assignee: Devdeep Singh Fix For: 4.6.0 Steps : 1. Deploy a hyperv Setup with multiple clusters having local storage, cluster wide primary storage and zone wide primary storage. 2. Deploy VMs with datadisk v1 on local storage on host1, v2 on cwps and v3 on zwps, v4 on local storage on host2 3. Detach the data disk from v1 and attach to v2 or v3 or v4 Expected behavior : = Since the migration of a data disk on local storage to cpws , zwps or local storage on another host is not supported, we should error out the operation with appropriate error msg and should not throw any exception. Observed behavior : = Expecptions are thrown during these operations : MS logs when with conflicting Host and Cluster scope : --- 2014-06-17 15:11:47,303 DEBUG [c.c.a.ApiServlet] (catalina-exec-18:ctx-fb917520) ===START=== 10.144.6.9 -- GET command=attachVolumeid=8fcefeed-9606-45a0-a482-48a52554ecd1virtualMachineId=89612a65-8398-4a61-92b4-2431b9adbe52response=jsonsessionkey=usW3Wz8dQ4fHD24kCe9r5A27Tbc%3D_=1402997805674 2014-06-17 15:11:47,348 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (catalina-exec-18:ctx-fb917520 ctx-0622857b) submit async job-93, details: AsyncJobVO {id:93, userId: 2, accountId: 2, instanceType: Volume, instanceId: 23, cmd: org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin, cmdInfo: {response:json,id:8fcefeed-9606-45a0-a482-48a52554ecd1,sessionkey:usW3Wz8dQ4fHD24kCe9r5A27Tbc\u003d,ctxDetails:{\com.cloud.storage.Volume\:\8fcefeed-9606-45a0-a482-48a52554ecd1\,\com.cloud.vm.VirtualMachine\:\89612a65-8398-4a61-92b4-2431b9adbe52\},cmdEventType:VOLUME.ATTACH,ctxUserId:2,virtualMachineId:89612a65-8398-4a61-92b4-2431b9adbe52,httpmethod:GET,_:1402997805674,uuid:8fcefeed-9606-45a0-a482-48a52554ecd1,ctxAccountId:2,ctxStartEventId:189}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 213737702773493, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-06-17 15:11:47,349 DEBUG [c.c.a.ApiServlet] (catalina-exec-18:ctx-fb917520 ctx-0622857b) ===END=== 10.144.6.9 -- GET command=attachVolumeid=8fcefeed-9606-45a0-a482-48a52554ecd1virtualMachineId=89612a65-8398-4a61-92b4-2431b9adbe52response=jsonsessionkey=usW3Wz8dQ4fHD24kCe9r5A27Tbc%3D_=1402997805674 2014-06-17 15:11:47,354 INFO [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-60:ctx-daa38c1b job-93) Add job-93 into job monitoring 2014-06-17 15:11:47,354 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-60:ctx-daa38c1b job-93) Executing AsyncJobVO {id:93, userId: 2, accountId: 2, instanceType: Volume, instanceId: 23, cmd: org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin, cmdInfo: {response:json,id:8fcefeed-9606-45a0-a482-48a52554ecd1,sessionkey:usW3Wz8dQ4fHD24kCe9r5A27Tbc\u003d,ctxDetails:{\com.cloud.storage.Volume\:\8fcefeed-9606-45a0-a482-48a52554ecd1\,\com.cloud.vm.VirtualMachine\:\89612a65-8398-4a61-92b4-2431b9adbe52\},cmdEventType:VOLUME.ATTACH,ctxUserId:2,virtualMachineId:89612a65-8398-4a61-92b4-2431b9adbe52,httpmethod:GET,_:1402997805674,uuid:8fcefeed-9606-45a0-a482-48a52554ecd1,ctxAccountId:2,ctxStartEventId:189}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 213737702773493, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-06-17 15:11:47,372 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-60:ctx-daa38c1b job-93 ctx-9c523ebe) Sync job-94 execution on object VmWorkJobQueue.12 2014-06-17 15:11:47,375 DEBUG [c.c.s.VolumeApiServiceImpl] (API-Job-Executor-60:ctx-daa38c1b job-93 ctx-9c523ebe) New job 94, result field: null 2014-06-17 15:11:47,375 WARN [c.c.u.d.Merovingian2]
[jira] [Updated] (CLOUDSTACK-6924) Exceptions are thrown when a data disk on local storage is attached/migrated to a clusterwide primary storage, zonewide primary storage or to local storage on anothe
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Animesh Chaturvedi updated CLOUDSTACK-6924: --- Fix Version/s: 4.5.0 Exceptions are thrown when a data disk on local storage is attached/migrated to a clusterwide primary storage, zonewide primary storage or to local storage on another host --- Key: CLOUDSTACK-6924 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6924 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Management Server Affects Versions: 4.4.0 Environment: Hyperv Setup with local storage, cluster wide primary storage and zone wide primary storage Reporter: Abhinav Roy Assignee: Devdeep Singh Fix For: 4.4.0, 4.5.0 Steps : 1. Deploy a hyperv Setup with multiple clusters having local storage, cluster wide primary storage and zone wide primary storage. 2. Deploy VMs with datadisk v1 on local storage on host1, v2 on cwps and v3 on zwps, v4 on local storage on host2 3. Detach the data disk from v1 and attach to v2 or v3 or v4 Expected behavior : = Since the migration of a data disk on local storage to cpws , zwps or local storage on another host is not supported, we should error out the operation with appropriate error msg and should not throw any exception. Observed behavior : = Expecptions are thrown during these operations : MS logs when with conflicting Host and Cluster scope : --- 2014-06-17 15:11:47,303 DEBUG [c.c.a.ApiServlet] (catalina-exec-18:ctx-fb917520) ===START=== 10.144.6.9 -- GET command=attachVolumeid=8fcefeed-9606-45a0-a482-48a52554ecd1virtualMachineId=89612a65-8398-4a61-92b4-2431b9adbe52response=jsonsessionkey=usW3Wz8dQ4fHD24kCe9r5A27Tbc%3D_=1402997805674 2014-06-17 15:11:47,348 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (catalina-exec-18:ctx-fb917520 ctx-0622857b) submit async job-93, details: AsyncJobVO {id:93, userId: 2, accountId: 2, instanceType: Volume, instanceId: 23, cmd: org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin, cmdInfo: {response:json,id:8fcefeed-9606-45a0-a482-48a52554ecd1,sessionkey:usW3Wz8dQ4fHD24kCe9r5A27Tbc\u003d,ctxDetails:{\com.cloud.storage.Volume\:\8fcefeed-9606-45a0-a482-48a52554ecd1\,\com.cloud.vm.VirtualMachine\:\89612a65-8398-4a61-92b4-2431b9adbe52\},cmdEventType:VOLUME.ATTACH,ctxUserId:2,virtualMachineId:89612a65-8398-4a61-92b4-2431b9adbe52,httpmethod:GET,_:1402997805674,uuid:8fcefeed-9606-45a0-a482-48a52554ecd1,ctxAccountId:2,ctxStartEventId:189}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 213737702773493, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-06-17 15:11:47,349 DEBUG [c.c.a.ApiServlet] (catalina-exec-18:ctx-fb917520 ctx-0622857b) ===END=== 10.144.6.9 -- GET command=attachVolumeid=8fcefeed-9606-45a0-a482-48a52554ecd1virtualMachineId=89612a65-8398-4a61-92b4-2431b9adbe52response=jsonsessionkey=usW3Wz8dQ4fHD24kCe9r5A27Tbc%3D_=1402997805674 2014-06-17 15:11:47,354 INFO [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-60:ctx-daa38c1b job-93) Add job-93 into job monitoring 2014-06-17 15:11:47,354 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-60:ctx-daa38c1b job-93) Executing AsyncJobVO {id:93, userId: 2, accountId: 2, instanceType: Volume, instanceId: 23, cmd: org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin, cmdInfo: {response:json,id:8fcefeed-9606-45a0-a482-48a52554ecd1,sessionkey:usW3Wz8dQ4fHD24kCe9r5A27Tbc\u003d,ctxDetails:{\com.cloud.storage.Volume\:\8fcefeed-9606-45a0-a482-48a52554ecd1\,\com.cloud.vm.VirtualMachine\:\89612a65-8398-4a61-92b4-2431b9adbe52\},cmdEventType:VOLUME.ATTACH,ctxUserId:2,virtualMachineId:89612a65-8398-4a61-92b4-2431b9adbe52,httpmethod:GET,_:1402997805674,uuid:8fcefeed-9606-45a0-a482-48a52554ecd1,ctxAccountId:2,ctxStartEventId:189}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 213737702773493, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-06-17 15:11:47,372 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-60:ctx-daa38c1b job-93 ctx-9c523ebe) Sync job-94 execution on object VmWorkJobQueue.12 2014-06-17 15:11:47,375 DEBUG [c.c.s.VolumeApiServiceImpl] (API-Job-Executor-60:ctx-daa38c1b job-93 ctx-9c523ebe) New job 94, result field: null 2014-06-17 15:11:47,375 WARN [c.c.u.d.Merovingian2] (API-Job-Executor-60:ctx-daa38c1b
[jira] [Updated] (CLOUDSTACK-6924) Exceptions are thrown when a data disk on local storage is attached/migrated to a clusterwide primary storage, zonewide primary storage or to local storage on anothe
[ https://issues.apache.org/jira/browse/CLOUDSTACK-6924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajesh Battala updated CLOUDSTACK-6924: --- Assignee: (was: Rajesh Battala) Exceptions are thrown when a data disk on local storage is attached/migrated to a clusterwide primary storage, zonewide primary storage or to local storage on another host --- Key: CLOUDSTACK-6924 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6924 Project: CloudStack Issue Type: Bug Security Level: Public(Anyone can view this level - this is the default.) Components: Management Server Affects Versions: 4.4.0 Environment: Hyperv Setup with local storage, cluster wide primary storage and zone wide primary storage Reporter: Abhinav Roy Fix For: 4.4.0 Steps : 1. Deploy a hyperv Setup with multiple clusters having local storage, cluster wide primary storage and zone wide primary storage. 2. Deploy VMs with datadisk v1 on local storage on host1, v2 on cwps and v3 on zwps, v4 on local storage on host2 3. Detach the data disk from v1 and attach to v2 or v3 or v4 Expected behavior : = Since the migration of a data disk on local storage to cpws , zwps or local storage on another host is not supported, we should error out the operation with appropriate error msg and should not throw any exception. Observed behavior : = Expecptions are thrown during these operations : MS logs when with conflicting Host and Cluster scope : --- 2014-06-17 15:11:47,303 DEBUG [c.c.a.ApiServlet] (catalina-exec-18:ctx-fb917520) ===START=== 10.144.6.9 -- GET command=attachVolumeid=8fcefeed-9606-45a0-a482-48a52554ecd1virtualMachineId=89612a65-8398-4a61-92b4-2431b9adbe52response=jsonsessionkey=usW3Wz8dQ4fHD24kCe9r5A27Tbc%3D_=1402997805674 2014-06-17 15:11:47,348 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (catalina-exec-18:ctx-fb917520 ctx-0622857b) submit async job-93, details: AsyncJobVO {id:93, userId: 2, accountId: 2, instanceType: Volume, instanceId: 23, cmd: org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin, cmdInfo: {response:json,id:8fcefeed-9606-45a0-a482-48a52554ecd1,sessionkey:usW3Wz8dQ4fHD24kCe9r5A27Tbc\u003d,ctxDetails:{\com.cloud.storage.Volume\:\8fcefeed-9606-45a0-a482-48a52554ecd1\,\com.cloud.vm.VirtualMachine\:\89612a65-8398-4a61-92b4-2431b9adbe52\},cmdEventType:VOLUME.ATTACH,ctxUserId:2,virtualMachineId:89612a65-8398-4a61-92b4-2431b9adbe52,httpmethod:GET,_:1402997805674,uuid:8fcefeed-9606-45a0-a482-48a52554ecd1,ctxAccountId:2,ctxStartEventId:189}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 213737702773493, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-06-17 15:11:47,349 DEBUG [c.c.a.ApiServlet] (catalina-exec-18:ctx-fb917520 ctx-0622857b) ===END=== 10.144.6.9 -- GET command=attachVolumeid=8fcefeed-9606-45a0-a482-48a52554ecd1virtualMachineId=89612a65-8398-4a61-92b4-2431b9adbe52response=jsonsessionkey=usW3Wz8dQ4fHD24kCe9r5A27Tbc%3D_=1402997805674 2014-06-17 15:11:47,354 INFO [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-60:ctx-daa38c1b job-93) Add job-93 into job monitoring 2014-06-17 15:11:47,354 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-60:ctx-daa38c1b job-93) Executing AsyncJobVO {id:93, userId: 2, accountId: 2, instanceType: Volume, instanceId: 23, cmd: org.apache.cloudstack.api.command.admin.volume.AttachVolumeCmdByAdmin, cmdInfo: {response:json,id:8fcefeed-9606-45a0-a482-48a52554ecd1,sessionkey:usW3Wz8dQ4fHD24kCe9r5A27Tbc\u003d,ctxDetails:{\com.cloud.storage.Volume\:\8fcefeed-9606-45a0-a482-48a52554ecd1\,\com.cloud.vm.VirtualMachine\:\89612a65-8398-4a61-92b4-2431b9adbe52\},cmdEventType:VOLUME.ATTACH,ctxUserId:2,virtualMachineId:89612a65-8398-4a61-92b4-2431b9adbe52,httpmethod:GET,_:1402997805674,uuid:8fcefeed-9606-45a0-a482-48a52554ecd1,ctxAccountId:2,ctxStartEventId:189}, cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 213737702773493, completeMsid: null, lastUpdated: null, lastPolled: null, created: null} 2014-06-17 15:11:47,372 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-60:ctx-daa38c1b job-93 ctx-9c523ebe) Sync job-94 execution on object VmWorkJobQueue.12 2014-06-17 15:11:47,375 DEBUG [c.c.s.VolumeApiServiceImpl] (API-Job-Executor-60:ctx-daa38c1b job-93 ctx-9c523ebe) New job 94, result field: null 2014-06-17 15:11:47,375 WARN [c.c.u.d.Merovingian2] (API-Job-Executor-60:ctx-daa38c1b job-93 ctx-9c523ebe) Was unable to