[jira] [Commented] (CLOUDSTACK-4665) ceph:delete volume fails with ArrayIndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/CLOUDSTACK-4665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13963099#comment-13963099 ] ASF subversion and git services commented on CLOUDSTACK-4665: - Commit 09f83e48eb28ebd879f5431ec6e84c3ff26acfd9 in cloudstack's branch refs/heads/master from [~widodh] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=09f83e4 ] CLOUDSTACK-4665: Depend on rados-java 0.1.4 This fixes the ArrayIndexOutOfBounds exception during the removal of a RBD based volume > ceph:delete volume fails with ArrayIndexOutOfBoundsException > > > Key: CLOUDSTACK-4665 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4665 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server >Affects Versions: 4.2.0 >Reporter: sadhu suresh >Assignee: Wido den Hollander > Fix For: 4.5.0 > > > delete volume failed with exception and this leads to agent disconnect on > host side sometimes > steps: > 1.create diskoffering based on RBD based storage > 2.create data disk and attach to instance > 3.detach the data disk and delete the data volume > Actual result: > delete volume failed with exception. > and volume state is in expunge state. > Unsupported data object (VOLUME, > org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@7ed5043e), no > need to delete from object in store ref table > Management log: > 55,085 DEBUG [agent.transport.Request] (AgentManager-Handler-10:null) Seq > 4-1926960794: Processing: { Ans: , MgmtId: 7175246184473, via: 4, Ver: v1, > Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"empty > String","wait":0}}] } > 2013-09-13 23:08:55,086 DEBUG [agent.transport.Request] > (StatsCollector-3:null) Seq 4-1926960794: Received: { Ans: , MgmtId: > 7175246184473, via: 4, Ver: v1, Flags: 10, { Answer } } > 2013-09-13 23:08:55,086 DEBUG [agent.manager.AgentManagerImpl] > (StatsCollector-3:null) Details from executing class > com.cloud.agent.api.GetHostStatsCommand: empty String > 2013-09-13 23:08:55,087 WARN [cloud.resource.ResourceManagerImpl] > (StatsCollector-3:null) Unable to obtain host 4 statistics. > 2013-09-13 23:08:55,087 WARN [cloud.server.StatsCollector] > (StatsCollector-3:null) Received invalid host stats for host: 4 > 2013-09-13 23:08:58,598 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) > ===START=== 10.252.192.100 -- GET > command=listVolumes&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&listAll=true&page=1&pagesize=20&_=1379074592467 > 2013-09-13 23:08:58,619 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) > ===END=== 10.252.192.100 -- GET > command=listVolumes&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&listAll=true&page=1&pagesize=20&_=1379074592467 > 2013-09-13 23:08:58,809 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-2:null) SeqA 2-13479: Processing Seq 2-13479: { Cmd , > MgmtId: -1, via: 2, Ver: v1, Flags: 11, > [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n > \"connections\": []\n}","wait":0}}] } > 2013-09-13 23:08:58,818 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-2:null) SeqA 2-13479: Sending Seq 2-13479: { Ans: , > MgmtId: 7175246184473, via: 2, Ver: v1, Flags: 100010, > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } > 2013-09-13 23:09:01,031 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) > ===START=== 10.252.192.100 -- GET > command=listVolumes&id=78601d43-4649-40bd-b6aa-86e46e427020&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&_=1379074594899 > 2013-09-13 23:09:01,071 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) > ===END=== 10.252.192.100 -- GET > command=listVolumes&id=78601d43-4649-40bd-b6aa-86e46e427020&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&_=1379074594899 > 2013-09-13 23:09:01,269 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===START=== 10.252.192.100 -- GET > command=listTags&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&resourceId=78601d43-4649-40bd-b6aa-86e46e427020&resourceType=Volume&listAll=true&_=1379074595115 > 2013-09-13 23:09:01,278 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===END=== 10.252.192.100 -- GET > command=listTags&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&resourceId=78601d43-4649-40bd-b6aa-86e46e427020&resourceType=Volume&listAll=true&_=1379074595115 > 2013-09-13 23:09:01,804 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-15:null) Ping from 1 > 2013-09-13 23:09:04,308 DEBUG [cloud.api.ApiServlet] (catalina-exec-1:null) > ===START=== 10.252.192.100 -- GET
[jira] [Commented] (CLOUDSTACK-4665) ceph:delete volume fails with ArrayIndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/CLOUDSTACK-4665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13965381#comment-13965381 ] ASF subversion and git services commented on CLOUDSTACK-4665: - Commit 4e9810dd51a465a6b413e3b439c950a9116ed90d in cloudstack's branch refs/heads/4.4 from [~widodh] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=4e9810d ] CLOUDSTACK-4665: Depend on rados-java 0.1.4 This fixes the ArrayIndexOutOfBounds exception during the removal of a RBD based volume > ceph:delete volume fails with ArrayIndexOutOfBoundsException > > > Key: CLOUDSTACK-4665 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4665 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server >Affects Versions: 4.2.0 >Reporter: sadhu suresh >Assignee: Wido den Hollander > Fix For: 4.5.0 > > > delete volume failed with exception and this leads to agent disconnect on > host side sometimes > steps: > 1.create diskoffering based on RBD based storage > 2.create data disk and attach to instance > 3.detach the data disk and delete the data volume > Actual result: > delete volume failed with exception. > and volume state is in expunge state. > Unsupported data object (VOLUME, > org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@7ed5043e), no > need to delete from object in store ref table > Management log: > 55,085 DEBUG [agent.transport.Request] (AgentManager-Handler-10:null) Seq > 4-1926960794: Processing: { Ans: , MgmtId: 7175246184473, via: 4, Ver: v1, > Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"empty > String","wait":0}}] } > 2013-09-13 23:08:55,086 DEBUG [agent.transport.Request] > (StatsCollector-3:null) Seq 4-1926960794: Received: { Ans: , MgmtId: > 7175246184473, via: 4, Ver: v1, Flags: 10, { Answer } } > 2013-09-13 23:08:55,086 DEBUG [agent.manager.AgentManagerImpl] > (StatsCollector-3:null) Details from executing class > com.cloud.agent.api.GetHostStatsCommand: empty String > 2013-09-13 23:08:55,087 WARN [cloud.resource.ResourceManagerImpl] > (StatsCollector-3:null) Unable to obtain host 4 statistics. > 2013-09-13 23:08:55,087 WARN [cloud.server.StatsCollector] > (StatsCollector-3:null) Received invalid host stats for host: 4 > 2013-09-13 23:08:58,598 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) > ===START=== 10.252.192.100 -- GET > command=listVolumes&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&listAll=true&page=1&pagesize=20&_=1379074592467 > 2013-09-13 23:08:58,619 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) > ===END=== 10.252.192.100 -- GET > command=listVolumes&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&listAll=true&page=1&pagesize=20&_=1379074592467 > 2013-09-13 23:08:58,809 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-2:null) SeqA 2-13479: Processing Seq 2-13479: { Cmd , > MgmtId: -1, via: 2, Ver: v1, Flags: 11, > [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n > \"connections\": []\n}","wait":0}}] } > 2013-09-13 23:08:58,818 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-2:null) SeqA 2-13479: Sending Seq 2-13479: { Ans: , > MgmtId: 7175246184473, via: 2, Ver: v1, Flags: 100010, > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } > 2013-09-13 23:09:01,031 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) > ===START=== 10.252.192.100 -- GET > command=listVolumes&id=78601d43-4649-40bd-b6aa-86e46e427020&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&_=1379074594899 > 2013-09-13 23:09:01,071 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) > ===END=== 10.252.192.100 -- GET > command=listVolumes&id=78601d43-4649-40bd-b6aa-86e46e427020&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&_=1379074594899 > 2013-09-13 23:09:01,269 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===START=== 10.252.192.100 -- GET > command=listTags&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&resourceId=78601d43-4649-40bd-b6aa-86e46e427020&resourceType=Volume&listAll=true&_=1379074595115 > 2013-09-13 23:09:01,278 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===END=== 10.252.192.100 -- GET > command=listTags&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&resourceId=78601d43-4649-40bd-b6aa-86e46e427020&resourceType=Volume&listAll=true&_=1379074595115 > 2013-09-13 23:09:01,804 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-15:null) Ping from 1 > 2013-09-13 23:09:04,308 DEBUG [cloud.api.ApiServlet] (catalina-exec-1:null) > ===START=== 10.252.192.100 -- GET
[jira] [Commented] (CLOUDSTACK-4665) ceph:delete volume fails with ArrayIndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/CLOUDSTACK-4665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13965384#comment-13965384 ] ASF subversion and git services commented on CLOUDSTACK-4665: - Commit 63595203819b89ab6536c9b2eff4aed41270033d in cloudstack's branch refs/heads/4.3-forward from [~widodh] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=6359520 ] CLOUDSTACK-4665: Depend on rados-java 0.1.4 This fixes the ArrayIndexOutOfBounds exception during the removal of a RBD based volume > ceph:delete volume fails with ArrayIndexOutOfBoundsException > > > Key: CLOUDSTACK-4665 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4665 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server >Affects Versions: 4.2.0 >Reporter: sadhu suresh >Assignee: Wido den Hollander > Fix For: 4.5.0 > > > delete volume failed with exception and this leads to agent disconnect on > host side sometimes > steps: > 1.create diskoffering based on RBD based storage > 2.create data disk and attach to instance > 3.detach the data disk and delete the data volume > Actual result: > delete volume failed with exception. > and volume state is in expunge state. > Unsupported data object (VOLUME, > org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@7ed5043e), no > need to delete from object in store ref table > Management log: > 55,085 DEBUG [agent.transport.Request] (AgentManager-Handler-10:null) Seq > 4-1926960794: Processing: { Ans: , MgmtId: 7175246184473, via: 4, Ver: v1, > Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"empty > String","wait":0}}] } > 2013-09-13 23:08:55,086 DEBUG [agent.transport.Request] > (StatsCollector-3:null) Seq 4-1926960794: Received: { Ans: , MgmtId: > 7175246184473, via: 4, Ver: v1, Flags: 10, { Answer } } > 2013-09-13 23:08:55,086 DEBUG [agent.manager.AgentManagerImpl] > (StatsCollector-3:null) Details from executing class > com.cloud.agent.api.GetHostStatsCommand: empty String > 2013-09-13 23:08:55,087 WARN [cloud.resource.ResourceManagerImpl] > (StatsCollector-3:null) Unable to obtain host 4 statistics. > 2013-09-13 23:08:55,087 WARN [cloud.server.StatsCollector] > (StatsCollector-3:null) Received invalid host stats for host: 4 > 2013-09-13 23:08:58,598 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) > ===START=== 10.252.192.100 -- GET > command=listVolumes&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&listAll=true&page=1&pagesize=20&_=1379074592467 > 2013-09-13 23:08:58,619 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) > ===END=== 10.252.192.100 -- GET > command=listVolumes&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&listAll=true&page=1&pagesize=20&_=1379074592467 > 2013-09-13 23:08:58,809 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-2:null) SeqA 2-13479: Processing Seq 2-13479: { Cmd , > MgmtId: -1, via: 2, Ver: v1, Flags: 11, > [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n > \"connections\": []\n}","wait":0}}] } > 2013-09-13 23:08:58,818 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-2:null) SeqA 2-13479: Sending Seq 2-13479: { Ans: , > MgmtId: 7175246184473, via: 2, Ver: v1, Flags: 100010, > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } > 2013-09-13 23:09:01,031 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) > ===START=== 10.252.192.100 -- GET > command=listVolumes&id=78601d43-4649-40bd-b6aa-86e46e427020&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&_=1379074594899 > 2013-09-13 23:09:01,071 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) > ===END=== 10.252.192.100 -- GET > command=listVolumes&id=78601d43-4649-40bd-b6aa-86e46e427020&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&_=1379074594899 > 2013-09-13 23:09:01,269 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===START=== 10.252.192.100 -- GET > command=listTags&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&resourceId=78601d43-4649-40bd-b6aa-86e46e427020&resourceType=Volume&listAll=true&_=1379074595115 > 2013-09-13 23:09:01,278 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===END=== 10.252.192.100 -- GET > command=listTags&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&resourceId=78601d43-4649-40bd-b6aa-86e46e427020&resourceType=Volume&listAll=true&_=1379074595115 > 2013-09-13 23:09:01,804 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-15:null) Ping from 1 > 2013-09-13 23:09:04,308 DEBUG [cloud.api.ApiServlet] (catalina-exec-1:null) > ===START=== 10.252.192.100 -
[jira] [Commented] (CLOUDSTACK-4665) ceph:delete volume fails with ArrayIndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/CLOUDSTACK-4665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13965383#comment-13965383 ] ASF subversion and git services commented on CLOUDSTACK-4665: - Commit 75792bf08e86bfb9bb9c23c86d275f6fe5d4346b in cloudstack's branch refs/heads/4.4 from [~widodh] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=75792bf ] CLOUDSTACK-4665: Check if a snapshot is protected before trying to unprotect Otherwise a RBDException will be thrown with the message that the snapshot isn't protected. Conflicts: plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java > ceph:delete volume fails with ArrayIndexOutOfBoundsException > > > Key: CLOUDSTACK-4665 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4665 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server >Affects Versions: 4.2.0 >Reporter: sadhu suresh >Assignee: Wido den Hollander > Fix For: 4.5.0 > > > delete volume failed with exception and this leads to agent disconnect on > host side sometimes > steps: > 1.create diskoffering based on RBD based storage > 2.create data disk and attach to instance > 3.detach the data disk and delete the data volume > Actual result: > delete volume failed with exception. > and volume state is in expunge state. > Unsupported data object (VOLUME, > org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@7ed5043e), no > need to delete from object in store ref table > Management log: > 55,085 DEBUG [agent.transport.Request] (AgentManager-Handler-10:null) Seq > 4-1926960794: Processing: { Ans: , MgmtId: 7175246184473, via: 4, Ver: v1, > Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"empty > String","wait":0}}] } > 2013-09-13 23:08:55,086 DEBUG [agent.transport.Request] > (StatsCollector-3:null) Seq 4-1926960794: Received: { Ans: , MgmtId: > 7175246184473, via: 4, Ver: v1, Flags: 10, { Answer } } > 2013-09-13 23:08:55,086 DEBUG [agent.manager.AgentManagerImpl] > (StatsCollector-3:null) Details from executing class > com.cloud.agent.api.GetHostStatsCommand: empty String > 2013-09-13 23:08:55,087 WARN [cloud.resource.ResourceManagerImpl] > (StatsCollector-3:null) Unable to obtain host 4 statistics. > 2013-09-13 23:08:55,087 WARN [cloud.server.StatsCollector] > (StatsCollector-3:null) Received invalid host stats for host: 4 > 2013-09-13 23:08:58,598 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) > ===START=== 10.252.192.100 -- GET > command=listVolumes&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&listAll=true&page=1&pagesize=20&_=1379074592467 > 2013-09-13 23:08:58,619 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) > ===END=== 10.252.192.100 -- GET > command=listVolumes&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&listAll=true&page=1&pagesize=20&_=1379074592467 > 2013-09-13 23:08:58,809 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-2:null) SeqA 2-13479: Processing Seq 2-13479: { Cmd , > MgmtId: -1, via: 2, Ver: v1, Flags: 11, > [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n > \"connections\": []\n}","wait":0}}] } > 2013-09-13 23:08:58,818 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-2:null) SeqA 2-13479: Sending Seq 2-13479: { Ans: , > MgmtId: 7175246184473, via: 2, Ver: v1, Flags: 100010, > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } > 2013-09-13 23:09:01,031 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) > ===START=== 10.252.192.100 -- GET > command=listVolumes&id=78601d43-4649-40bd-b6aa-86e46e427020&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&_=1379074594899 > 2013-09-13 23:09:01,071 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) > ===END=== 10.252.192.100 -- GET > command=listVolumes&id=78601d43-4649-40bd-b6aa-86e46e427020&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&_=1379074594899 > 2013-09-13 23:09:01,269 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===START=== 10.252.192.100 -- GET > command=listTags&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&resourceId=78601d43-4649-40bd-b6aa-86e46e427020&resourceType=Volume&listAll=true&_=1379074595115 > 2013-09-13 23:09:01,278 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===END=== 10.252.192.100 -- GET > command=listTags&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&resourceId=78601d43-4649-40bd-b6aa-86e46e427020&resourceType=Volume&listAll=true&_=1379074595115 > 2013-09-13 23:09:01,804 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-
[jira] [Commented] (CLOUDSTACK-4665) ceph:delete volume fails with ArrayIndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/CLOUDSTACK-4665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13965385#comment-13965385 ] ASF subversion and git services commented on CLOUDSTACK-4665: - Commit aa9f29bd3f8d753fe2b6ccdba1f9a3718f54ca57 in cloudstack's branch refs/heads/4.3-forward from [~widodh] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=aa9f29b ] CLOUDSTACK-4665: Check if a snapshot is protected before trying to unprotect Otherwise a RBDException will be thrown with the message that the snapshot isn't protected. modified: plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java Conflicts: plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java > ceph:delete volume fails with ArrayIndexOutOfBoundsException > > > Key: CLOUDSTACK-4665 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4665 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server >Affects Versions: 4.2.0 >Reporter: sadhu suresh >Assignee: Wido den Hollander > Fix For: 4.5.0 > > > delete volume failed with exception and this leads to agent disconnect on > host side sometimes > steps: > 1.create diskoffering based on RBD based storage > 2.create data disk and attach to instance > 3.detach the data disk and delete the data volume > Actual result: > delete volume failed with exception. > and volume state is in expunge state. > Unsupported data object (VOLUME, > org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@7ed5043e), no > need to delete from object in store ref table > Management log: > 55,085 DEBUG [agent.transport.Request] (AgentManager-Handler-10:null) Seq > 4-1926960794: Processing: { Ans: , MgmtId: 7175246184473, via: 4, Ver: v1, > Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"empty > String","wait":0}}] } > 2013-09-13 23:08:55,086 DEBUG [agent.transport.Request] > (StatsCollector-3:null) Seq 4-1926960794: Received: { Ans: , MgmtId: > 7175246184473, via: 4, Ver: v1, Flags: 10, { Answer } } > 2013-09-13 23:08:55,086 DEBUG [agent.manager.AgentManagerImpl] > (StatsCollector-3:null) Details from executing class > com.cloud.agent.api.GetHostStatsCommand: empty String > 2013-09-13 23:08:55,087 WARN [cloud.resource.ResourceManagerImpl] > (StatsCollector-3:null) Unable to obtain host 4 statistics. > 2013-09-13 23:08:55,087 WARN [cloud.server.StatsCollector] > (StatsCollector-3:null) Received invalid host stats for host: 4 > 2013-09-13 23:08:58,598 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) > ===START=== 10.252.192.100 -- GET > command=listVolumes&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&listAll=true&page=1&pagesize=20&_=1379074592467 > 2013-09-13 23:08:58,619 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) > ===END=== 10.252.192.100 -- GET > command=listVolumes&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&listAll=true&page=1&pagesize=20&_=1379074592467 > 2013-09-13 23:08:58,809 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-2:null) SeqA 2-13479: Processing Seq 2-13479: { Cmd , > MgmtId: -1, via: 2, Ver: v1, Flags: 11, > [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n > \"connections\": []\n}","wait":0}}] } > 2013-09-13 23:08:58,818 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-2:null) SeqA 2-13479: Sending Seq 2-13479: { Ans: , > MgmtId: 7175246184473, via: 2, Ver: v1, Flags: 100010, > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } > 2013-09-13 23:09:01,031 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) > ===START=== 10.252.192.100 -- GET > command=listVolumes&id=78601d43-4649-40bd-b6aa-86e46e427020&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&_=1379074594899 > 2013-09-13 23:09:01,071 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) > ===END=== 10.252.192.100 -- GET > command=listVolumes&id=78601d43-4649-40bd-b6aa-86e46e427020&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&_=1379074594899 > 2013-09-13 23:09:01,269 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===START=== 10.252.192.100 -- GET > command=listTags&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&resourceId=78601d43-4649-40bd-b6aa-86e46e427020&resourceType=Volume&listAll=true&_=1379074595115 > 2013-09-13 23:09:01,278 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===END=== 10.252.192.100 -- GET > command=listTags&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&resourceId=78601d43-4649-40bd-b6aa-86e46e427020&resourceType=V
[jira] [Commented] (CLOUDSTACK-4665) ceph:delete volume fails with ArrayIndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/CLOUDSTACK-4665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968263#comment-13968263 ] ASF subversion and git services commented on CLOUDSTACK-4665: - Commit cd20127fbb113d6a6d1bdad7035ac44da8b8893d in cloudstack's branch refs/heads/4.3 from [~widodh] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=cd20127 ] CLOUDSTACK-4665: Check if a snapshot is protected before trying to unprotect Otherwise a RBDException will be thrown with the message that the snapshot isn't protected. modified: plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java Conflicts: plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/LibvirtStorageAdaptor.java > ceph:delete volume fails with ArrayIndexOutOfBoundsException > > > Key: CLOUDSTACK-4665 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4665 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server >Affects Versions: 4.2.0 >Reporter: sadhu suresh >Assignee: Wido den Hollander > Fix For: 4.5.0 > > > delete volume failed with exception and this leads to agent disconnect on > host side sometimes > steps: > 1.create diskoffering based on RBD based storage > 2.create data disk and attach to instance > 3.detach the data disk and delete the data volume > Actual result: > delete volume failed with exception. > and volume state is in expunge state. > Unsupported data object (VOLUME, > org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@7ed5043e), no > need to delete from object in store ref table > Management log: > 55,085 DEBUG [agent.transport.Request] (AgentManager-Handler-10:null) Seq > 4-1926960794: Processing: { Ans: , MgmtId: 7175246184473, via: 4, Ver: v1, > Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"empty > String","wait":0}}] } > 2013-09-13 23:08:55,086 DEBUG [agent.transport.Request] > (StatsCollector-3:null) Seq 4-1926960794: Received: { Ans: , MgmtId: > 7175246184473, via: 4, Ver: v1, Flags: 10, { Answer } } > 2013-09-13 23:08:55,086 DEBUG [agent.manager.AgentManagerImpl] > (StatsCollector-3:null) Details from executing class > com.cloud.agent.api.GetHostStatsCommand: empty String > 2013-09-13 23:08:55,087 WARN [cloud.resource.ResourceManagerImpl] > (StatsCollector-3:null) Unable to obtain host 4 statistics. > 2013-09-13 23:08:55,087 WARN [cloud.server.StatsCollector] > (StatsCollector-3:null) Received invalid host stats for host: 4 > 2013-09-13 23:08:58,598 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) > ===START=== 10.252.192.100 -- GET > command=listVolumes&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&listAll=true&page=1&pagesize=20&_=1379074592467 > 2013-09-13 23:08:58,619 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) > ===END=== 10.252.192.100 -- GET > command=listVolumes&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&listAll=true&page=1&pagesize=20&_=1379074592467 > 2013-09-13 23:08:58,809 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-2:null) SeqA 2-13479: Processing Seq 2-13479: { Cmd , > MgmtId: -1, via: 2, Ver: v1, Flags: 11, > [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n > \"connections\": []\n}","wait":0}}] } > 2013-09-13 23:08:58,818 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-2:null) SeqA 2-13479: Sending Seq 2-13479: { Ans: , > MgmtId: 7175246184473, via: 2, Ver: v1, Flags: 100010, > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } > 2013-09-13 23:09:01,031 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) > ===START=== 10.252.192.100 -- GET > command=listVolumes&id=78601d43-4649-40bd-b6aa-86e46e427020&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&_=1379074594899 > 2013-09-13 23:09:01,071 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) > ===END=== 10.252.192.100 -- GET > command=listVolumes&id=78601d43-4649-40bd-b6aa-86e46e427020&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&_=1379074594899 > 2013-09-13 23:09:01,269 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===START=== 10.252.192.100 -- GET > command=listTags&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&resourceId=78601d43-4649-40bd-b6aa-86e46e427020&resourceType=Volume&listAll=true&_=1379074595115 > 2013-09-13 23:09:01,278 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===END=== 10.252.192.100 -- GET > command=listTags&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&resourceId=78601d43-4649-40bd-b6aa-86e46e427020&resourceType=Volume&li
[jira] [Commented] (CLOUDSTACK-4665) ceph:delete volume fails with ArrayIndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/CLOUDSTACK-4665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13968262#comment-13968262 ] ASF subversion and git services commented on CLOUDSTACK-4665: - Commit a78227570a23f5206179d3d8e891a577845df2ca in cloudstack's branch refs/heads/4.3 from [~widodh] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=a782275 ] CLOUDSTACK-4665: Depend on rados-java 0.1.4 This fixes the ArrayIndexOutOfBounds exception during the removal of a RBD based volume > ceph:delete volume fails with ArrayIndexOutOfBoundsException > > > Key: CLOUDSTACK-4665 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4665 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server >Affects Versions: 4.2.0 >Reporter: sadhu suresh >Assignee: Wido den Hollander > Fix For: 4.5.0 > > > delete volume failed with exception and this leads to agent disconnect on > host side sometimes > steps: > 1.create diskoffering based on RBD based storage > 2.create data disk and attach to instance > 3.detach the data disk and delete the data volume > Actual result: > delete volume failed with exception. > and volume state is in expunge state. > Unsupported data object (VOLUME, > org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@7ed5043e), no > need to delete from object in store ref table > Management log: > 55,085 DEBUG [agent.transport.Request] (AgentManager-Handler-10:null) Seq > 4-1926960794: Processing: { Ans: , MgmtId: 7175246184473, via: 4, Ver: v1, > Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"empty > String","wait":0}}] } > 2013-09-13 23:08:55,086 DEBUG [agent.transport.Request] > (StatsCollector-3:null) Seq 4-1926960794: Received: { Ans: , MgmtId: > 7175246184473, via: 4, Ver: v1, Flags: 10, { Answer } } > 2013-09-13 23:08:55,086 DEBUG [agent.manager.AgentManagerImpl] > (StatsCollector-3:null) Details from executing class > com.cloud.agent.api.GetHostStatsCommand: empty String > 2013-09-13 23:08:55,087 WARN [cloud.resource.ResourceManagerImpl] > (StatsCollector-3:null) Unable to obtain host 4 statistics. > 2013-09-13 23:08:55,087 WARN [cloud.server.StatsCollector] > (StatsCollector-3:null) Received invalid host stats for host: 4 > 2013-09-13 23:08:58,598 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) > ===START=== 10.252.192.100 -- GET > command=listVolumes&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&listAll=true&page=1&pagesize=20&_=1379074592467 > 2013-09-13 23:08:58,619 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) > ===END=== 10.252.192.100 -- GET > command=listVolumes&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&listAll=true&page=1&pagesize=20&_=1379074592467 > 2013-09-13 23:08:58,809 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-2:null) SeqA 2-13479: Processing Seq 2-13479: { Cmd , > MgmtId: -1, via: 2, Ver: v1, Flags: 11, > [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n > \"connections\": []\n}","wait":0}}] } > 2013-09-13 23:08:58,818 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-2:null) SeqA 2-13479: Sending Seq 2-13479: { Ans: , > MgmtId: 7175246184473, via: 2, Ver: v1, Flags: 100010, > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } > 2013-09-13 23:09:01,031 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) > ===START=== 10.252.192.100 -- GET > command=listVolumes&id=78601d43-4649-40bd-b6aa-86e46e427020&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&_=1379074594899 > 2013-09-13 23:09:01,071 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) > ===END=== 10.252.192.100 -- GET > command=listVolumes&id=78601d43-4649-40bd-b6aa-86e46e427020&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&_=1379074594899 > 2013-09-13 23:09:01,269 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===START=== 10.252.192.100 -- GET > command=listTags&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&resourceId=78601d43-4649-40bd-b6aa-86e46e427020&resourceType=Volume&listAll=true&_=1379074595115 > 2013-09-13 23:09:01,278 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===END=== 10.252.192.100 -- GET > command=listTags&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&resourceId=78601d43-4649-40bd-b6aa-86e46e427020&resourceType=Volume&listAll=true&_=1379074595115 > 2013-09-13 23:09:01,804 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-15:null) Ping from 1 > 2013-09-13 23:09:04,308 DEBUG [cloud.api.ApiServlet] (catalina-exec-1:null) > ===START=== 10.252.192.100 -- GET
[jira] [Commented] (CLOUDSTACK-4665) ceph:delete volume fails with ArrayIndexOutOfBoundsException
[ https://issues.apache.org/jira/browse/CLOUDSTACK-4665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770789#comment-13770789 ] William Henry commented on CLOUDSTACK-4665: --- I have the same issue when I delete a VM with ceph disk: 1. I create 2 primary storages: one with NFs and an other with RBD 1. I create disk offering based on RBD storage 2. I create the VM with this offering (The root disk is created on a NFS primary storage and the DATADISK on the RBD sprimary storage) 3. I destroy the VM Result: The ROOT disk is correctly deleted and the DATADISK stays on expunge state. > ceph:delete volume fails with ArrayIndexOutOfBoundsException > > > Key: CLOUDSTACK-4665 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4665 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server >Affects Versions: 4.2.0 >Reporter: sadhu suresh > > delete volume failed with exception and this leads to agent disconnect on > host side sometimes > steps: > 1.create diskoffering based on RBD based storage > 2.create data disk and attach to instance > 3.detach the data disk and delete the data volume > Actual result: > delete volume failed with exception. > and volume state is in expunge state. > Unsupported data object (VOLUME, > org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@7ed5043e), no > need to delete from object in store ref table > Management log: > 55,085 DEBUG [agent.transport.Request] (AgentManager-Handler-10:null) Seq > 4-1926960794: Processing: { Ans: , MgmtId: 7175246184473, via: 4, Ver: v1, > Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"empty > String","wait":0}}] } > 2013-09-13 23:08:55,086 DEBUG [agent.transport.Request] > (StatsCollector-3:null) Seq 4-1926960794: Received: { Ans: , MgmtId: > 7175246184473, via: 4, Ver: v1, Flags: 10, { Answer } } > 2013-09-13 23:08:55,086 DEBUG [agent.manager.AgentManagerImpl] > (StatsCollector-3:null) Details from executing class > com.cloud.agent.api.GetHostStatsCommand: empty String > 2013-09-13 23:08:55,087 WARN [cloud.resource.ResourceManagerImpl] > (StatsCollector-3:null) Unable to obtain host 4 statistics. > 2013-09-13 23:08:55,087 WARN [cloud.server.StatsCollector] > (StatsCollector-3:null) Received invalid host stats for host: 4 > 2013-09-13 23:08:58,598 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) > ===START=== 10.252.192.100 -- GET > command=listVolumes&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&listAll=true&page=1&pagesize=20&_=1379074592467 > 2013-09-13 23:08:58,619 DEBUG [cloud.api.ApiServlet] (catalina-exec-20:null) > ===END=== 10.252.192.100 -- GET > command=listVolumes&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&listAll=true&page=1&pagesize=20&_=1379074592467 > 2013-09-13 23:08:58,809 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-2:null) SeqA 2-13479: Processing Seq 2-13479: { Cmd , > MgmtId: -1, via: 2, Ver: v1, Flags: 11, > [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n > \"connections\": []\n}","wait":0}}] } > 2013-09-13 23:08:58,818 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-2:null) SeqA 2-13479: Sending Seq 2-13479: { Ans: , > MgmtId: 7175246184473, via: 2, Ver: v1, Flags: 100010, > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } > 2013-09-13 23:09:01,031 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) > ===START=== 10.252.192.100 -- GET > command=listVolumes&id=78601d43-4649-40bd-b6aa-86e46e427020&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&_=1379074594899 > 2013-09-13 23:09:01,071 DEBUG [cloud.api.ApiServlet] (catalina-exec-15:null) > ===END=== 10.252.192.100 -- GET > command=listVolumes&id=78601d43-4649-40bd-b6aa-86e46e427020&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&_=1379074594899 > 2013-09-13 23:09:01,269 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===START=== 10.252.192.100 -- GET > command=listTags&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&resourceId=78601d43-4649-40bd-b6aa-86e46e427020&resourceType=Volume&listAll=true&_=1379074595115 > 2013-09-13 23:09:01,278 DEBUG [cloud.api.ApiServlet] (catalina-exec-5:null) > ===END=== 10.252.192.100 -- GET > command=listTags&response=json&sessionkey=DjciUSGRnKCBl6Oban7oUhZ9O2o%3D&resourceId=78601d43-4649-40bd-b6aa-86e46e427020&resourceType=Volume&listAll=true&_=1379074595115 > 2013-09-13 23:09:01,804 DEBUG [agent.manager.AgentManagerImpl] > (AgentManager-Handler-15:null) Ping from 1 > 2013-09-13 23:09:04,308 DEBUG [cloud.api.ApiServlet] (catalina-exec-1:null) > ===START=== 10.252.192.