cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boris Stoyanov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-9527) test_01_test_vm_volume_snapshot not supported for Xen, tests keep failing
Date Mon, 03 Oct 2016 14:54:20 GMT
Boris Stoyanov created CLOUDSTACK-9527:
------------------------------------------

             Summary: test_01_test_vm_volume_snapshot not supported for Xen, tests keep failing
                 Key: CLOUDSTACK-9527
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9527
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: marvin
    Affects Versions: 4.10.0.0, 4.9.1.0, 4.8.2.0
            Reporter: Boris Stoyanov


Skipping this test for Xen since the tests keeps failling 

{code}virtualmachineid=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49
Error 431: VM snapshot for this VM is not allowed. This VM has volumes attached which has
snapshots, please remove all snapshots before taking VM snapshot
{
  "cserrorcode": 4350,
  "errorcode": 431,
  "errortext": "VM snapshot for this VM is not allowed. This VM has volumes attached which
has snapshots, please remove all snapshots before taking VM snapshot",
  "uuidList": []
}

(local) SBCM5> create snapshot volumeid=34b96f5c-0343-4877-8e69-de27c10245bd
Error 431: Volume snapshot is not allowed, please detach it from VM with VM Snapshots
{
  "cserrorcode": 4350,
  "errorcode": 431,
  "errortext": "Volume snapshot is not allowed, please detach it from VM with VM Snapshots",
  "uuidList": []
}
(local) SBCM5> detach volume id=34b96f5c-0343-4877-8e69-de27c10245bd
Async job 0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3 failed
Error 431, Root volume detach can happen only when vm is in states: Stopped or Destroyed
{
  "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
  "cmd": "org.apache.cloudstack.api.command.admin.volume.DetachVolumeCmdByAdmin",
  "created": "2016-10-03T14:40:22+0100",
  "jobid": "0bfd5ae7-69f9-45c1-aca7-ef83ecbcdba3",
  "jobinstanceid": "34b96f5c-0343-4877-8e69-de27c10245bd",
  "jobinstancetype": "Volume",
  "jobprocstatus": 0,
  "jobresult": {
    "errorcode": 431,
    "errortext": "Root volume detach can happen only when vm is in states: Stopped or Destroyed"
  },
  "jobresultcode": 530,
  "jobresulttype": "object",
  "jobstatus": 2,
  "userid": "6e958637-894c-11e6-8a4c-06828c01079c"
}

(local) SBCM5> stop virtualmachine id=bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49

{
  "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
  "cmd": "org.apache.cloudstack.api.command.admin.vm.StopVMCmdByAdmin",
  "created": "2016-10-03T14:40:51+0100",
  "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
  "jobinstanceid": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
  "jobinstancetype": "VirtualMachine",
  "jobprocstatus": 0,
  "jobresult": {
    "virtualmachine": {
      "account": "admin",
      "affinitygroup": [],
      "cpunumber": 1,
      "cpuspeed": 100,
      "cpuused": "0.21%",
      "created": "2016-10-03T14:25:16+0100",
      "details": {
        "hypervisortoolsversion": "xenserver56"
      },
      "diskioread": 0,
      "diskiowrite": 0,
      "diskkbsread": 2404,
      "diskkbswrite": 327,
      "displayname": "VM-bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
      "displayvm": true,
      "domain": "ROOT",
      "domainid": "3f07ff46-894c-11e6-8a4c-06828c01079c",
      "guestosid": "3f36045e-894c-11e6-8a4c-06828c01079c",
      "haenable": false,
      "hypervisor": "XenServer",
      "id": "bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
      "instancename": "i-2-18-VM",
      "isdynamicallyscalable": true,
      "jobid": "92c72725-245a-4897-a9f7-b1a61b49d57d",
      "jobstatus": 0,
      "memory": 128,
      "name": "VM-bbd3104b-a8a7-4ca2-8d22-15b9ea2cea49",
      "networkkbsread": 0,
      "networkkbswrite": 0,
      "nic": [
        {
          "gateway": "10.1.1.1",
          "id": "a49eac90-9fa2-4618-9989-436d6e3d5eee",
          "ipaddress": "10.1.1.2",
          "isdefault": true,
          "macaddress": "02:00:38:54:00:01",
          "netmask": "255.255.255.0",
          "networkid": "5d721377-09e8-4ab4-9be8-f24e5da6cfd5",
          "networkname": "test",
          "secondaryip": [],
          "traffictype": "Guest",
          "type": "Isolated"
        }
      ],
      "ostypeid": 142,
      "passwordenabled": false,
      "rootdeviceid": 0,
      "rootdevicetype": "ROOT",
      "securitygroup": [],
      "serviceofferingid": "eae0e093-6d2e-4641-9d1a-fe004e420d55",
      "serviceofferingname": "Tiny Instance",
      "state": "Stopped",
      "tags": [],
      "templatedisplaytext": "CentOS 5.6(64-bit) no GUI (XenServer)",
      "templateid": "3f0b934e-894c-11e6-8a4c-06828c01079c",
      "templatename": "CentOS 5.6(64-bit) no GUI (XenServer)",
      "userid": "6e958637-894c-11e6-8a4c-06828c01079c",
      "username": "admin",
      "zoneid": "0ffd9c60-a8e7-4209-8e0e-4c54a0446f6d",
      "zonename": "trl-97-x-cs48-bstoyanov"
    }
  },
  "jobresultcode": 0,
  "jobresulttype": "object",
  "jobstatus": 1,
  "userid": "6e958637-894c-11e6-8a4c-06828c01079c"
}
(local) SBCM5> detach volume id=34b96f5c-0343-4877-8e69-de27c10245bd
Async job 7de72a7f-cbdb-4f73-9867-89084edd2d63 failed
Error 431, Unable to detach volume, please specify a VM that does not have VM snapshots
{
  "accountid": "6e957aef-894c-11e6-8a4c-06828c01079c",
  "cmd": "org.apache.cloudstack.api.command.admin.volume.DetachVolumeCmdByAdmin",
  "created": "2016-10-03T14:41:23+0100",
  "jobid": "7de72a7f-cbdb-4f73-9867-89084edd2d63",
  "jobinstanceid": "34b96f5c-0343-4877-8e69-de27c10245bd",
  "jobinstancetype": "Volume",
  "jobprocstatus": 0,
  "jobresult": {
    "errorcode": 431,
    "errortext": "Unable to detach volume, please specify a VM that does not have VM snapshots"
  },
  "jobresultcode": 530,
  "jobresulttype": "object",
  "jobstatus": 2,
  "userid": "6e958637-894c-11e6-8a4c-06828c01079c"{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message