Skip to content

Block storage addition issues on XCP-ng #3281

Description

@DagSonsteboSB
ISSUE TYPE
  • Bug Report
COMPONENT NAME
  • createStoragepool API
  • iSCSI storage
  • issue may also affect FC - TBC
  • XCP-ng
CLOUDSTACK VERSION
  • Tested with ACS 4.11.2
CONFIGURATION
  • Advanced zone
OS / ENVIRONMENT
  • Mgmt on CentOS7
  • XCP-ng version 7.4
SUMMARY
  • createStoragepool with the iSCSI / defaultStoraprovider will successfully add iSCSI pools to the XCP-ng hosts but not configure the pool furher in CloudStack
  • createStoragepool with Presetup / defaultStorageprovider will behave similarly - i.e. not handle the actual addition of the primary pools to CloudStack
STEPS TO REPRODUCE
  • Create advanced zone with XCP-ng 7.x hosts
  • add iSCSI primary storage
  • observe createStoragepool behaviour
EXPECTED RESULTS
  • iSCSI pool successfully added
ACTUAL RESULTS
  • iSCSI pools added successfully as SRs to the XCP-ng hosts but not to CloudStack
Log excerpt
2019-04-18 08:45:01,287 WARN  [c.c.h.x.r.w.x.CitrixModifyStoragePoolCommandWrapper] (DirectAgent-5:ctx-0f96ece5) (logid:70745797) ModifyStoragePoolCommand add XenAPIException:Unable to setup heartbeat sr on SR 55fddcb5-b095-e685-ba47-9388e120d5db due to #7# volume hb-a615cbc3-cb8d-47f4-b9c6-271a29e6defd is not created host:a615cbc3-cb8d-47f4-b9c6-271a29e6defd pool: 10.10.10.10/iqn.2017-01.local.sblab:1faba1ed-79fc-46a3-acc6-4a60a7dcd65f/0
com.cloud.utils.exception.CloudRuntimeException: Unable to setup heartbeat sr on SR 55fddcb5-b095-e685-ba47-9388e120d5db due to #7# volume hb-a615cbc3-cb8d-47f4-b9c6-271a29e6defd is not created
        at com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.setupHeartbeatSr(CitrixResourceBase.java:4743)
        at com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixModifyStoragePoolCommandWrapper.execute(CitrixModifyStoragePoolCommandWrapper.java:54)
        at com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixModifyStoragePoolCommandWrapper.execute(CitrixModifyStoragePoolCommandWrapper.java:40)
        at com.cloud.hypervisor.xenserver.resource.wrapper.xenbase.CitrixRequestWrapper.execute(CitrixRequestWrapper.java:122)
        at com.cloud.hypervisor.xenserver.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:1737)
        at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:315)
        at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
        at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
        at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
2019-04-18 08:45:01,288 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-5:ctx-0f96ece5) (logid:70745797) Seq 1-4089831411605831693: Response Received:
2019-04-18 08:45:01,288 DEBUG [c.c.a.t.Request] (DirectAgent-5:ctx-0f96ece5) (logid:70745797) Seq 1-4089831411605831693: Processing:  { Ans: , MgmtId: 32986842072929, via: 1(ref-trl-1050-x-M7-dsonstebo-xs1), Ver: v1, Flags: 10, [{"com.cloud.agent.api.Answer":{"result":false,"details":"ModifyStoragePoolCommand add XenAPIException:Unable to setup heartbeat sr on SR 55fddcb5-b095-e685-ba47-9388e120d5db due to #7# volume hb-a615cbc3-cb8d-47f4-b9c6-271a29e6defd is not created host:a615cbc3-cb8d-47f4-b9c6-271a29e6defd pool: 10.10.10.10/iqn.2017-01.local.sblab:1faba1ed-79fc-46a3-acc6-4a60a7dcd65f/0","wait":0}}] }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions