[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-6765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daan Hoogland updated CLOUDSTACK-6765:
--------------------------------------

    Attachment: vmops-primstor-failure.log

> unable to create primary storage
> --------------------------------
>
>                 Key: CLOUDSTACK-6765
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6765
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>    Affects Versions: 4.4.0
>            Reporter: Daan Hoogland
>         Attachments: vmops-primstor-failure.log
>
>
> in cs 4.4 pre-rc on xenserver 6.0.2:
> when adding a primary storage using marvin an error is thrown:
> Traceback (most recent call last):
>   File "./setup.py", line 69, in <module>
>     primid = primstorutil.createPrimaryStorage(conn,zoneid=zoneid, 
> podid=podid, clusterid=xenclusterid, name="Xen Primary Storage", 
> url="nfs://10.200.23.31/volumes/mccd_volume1/primary_storage")
>   File 
> "/cygdrive/c/Users/dhoogland/cloudstack/cs-test-utils/bin/primaryStorageCommand.py",
>  line 38, in createPrimaryStorage
>     resp = conn.marvin_request(createPrimary)
>   File "/usr/lib/python2.7/site-packages/marvin/cloudstackConnection.py", 
> line 222, in marvin_request
>     response = jsonHelper.getResultObj(response.json(), response_type)
>   File "/usr/lib/python2.7/site-packages/marvin/jsonHelper.py", line 148, in 
> getResultObj
>     raise cloudstackException.cloudstackAPIException(respname, errMsg)
> marvin.cloudstackException.cloudstackAPIException: Execute cmd: 
> createstoragepool failed, due to: errorCode: 530, errorText:None
> the server output shows:
> WARN  [c.c.h.x.r.CitrixResourceBase] (DirectAgent-8:ctx-7829bd03) Catch 
> Exception com.cloud.utils.exception.CloudRuntimeException, create StoragePool 
> failed due to com.cloud.utils.exception.CloudRuntimeException: Unable to 
> create NFS SR Pool[1|10.200.23.31:2049|/volumes/mccd_volume1/primary_storage] 
> on host:8545fcea-9758-4e97-8f52-83e4f37cc7f2 pool: 
> 10.200.23.31/volumes/mccd_volume1/primary_storage
> com.cloud.utils.exception.CloudRuntimeException: Unable to create NFS SR 
> Pool[1|10.200.23.31:2049|/volumes/mccd_volume1/primary_storage]
>       at 
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNfsSR(CitrixResourceBase.java:6183)
>       at 
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:5125)
>       at 
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:474)
>       at 
> com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:61)
>       at 
> com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
>       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(Unknown Source)
>       at java.util.concurrent.FutureTask.run(Unknown Source)
>       at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown
>  Source)
>       at 
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown
>  Source)
>       at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>       at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>       at java.lang.Thread.run(Unknown Source)
> Caused by: SR_BACKEND_FAILURE_40The SR scan failed  
> [opterr=uuid=6a52feb4-c27d-4c36-8e5c-78ba364d9307]
>       at com.xensource.xenapi.Types.checkResponse(Types.java:2006)
>       at com.xensource.xenapi.Connection.dispatch(Connection.java:350)
>       at 
> com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:456)
>       at com.xensource.xenapi.SR.scan(SR.java:1051)
>       at 
> com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNfsSR(CitrixResourceBase.java:6180)
>       ... 16 more
> WARN  [o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl] 
> (1326853303@qtp-1366828871-0:ctx-457b75a4 ctx-324d7984 ctx-8a6af5a5) Can not 
> create storage pool through host 1 due to Catch Exception 
> com.cloud.utils.exception.CloudRuntimeException, create StoragePool failed 
> due to com.cloud.utils.exception.CloudRuntimeException: Unable to create NFS 
> SR Pool[1|10.200.23.31:2049|/volumes/mccd_volume1/primary_storage] on 
> host:8545fcea-9758-4e97-8f52-83e4f37cc7f2 pool: 
> 10.200.23.31/volumes/mccd_volume1/primary_storage
> INFO  [c.c.a.ApiServer] (1326853303@qtp-1366828871-0:ctx-457b75a4 
> ctx-324d7984 ctx-8a6af5a5) null
> the primary is mounted on the hosts



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to