cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wilder Rodrigues <WRodrig...@schubergphilis.com>
Subject [NFS] Adding NFS primary storage fails
Date Wed, 19 Mar 2014 10:20:21 GMT
Hi all,

I'm trying to tests some changes I did for CLOUDSTACK-6139.

Currently I have 3 XenServer 6.2 instances and my management server is running in a different
machine (debian 7). I have successfully created 2 zones, which use Local Storage. Now I'm
trying to create a 3rd zone, which will not use local storage.

Everything goes fine until when it tries to add the primary storage. I'm facing a problem
related to the heartbeat file, which does not exist.

I already tried googling, found this: http://markmail.org/message/gbsqsvhzp7sq37tn#query:+page:1+mid:5x6zzhtjk5dscfgy+state:results

I checked the source of the script (https://github.com/apache/cloudstack/blob/master/scripts/vm/hypervisor/xenserver/setup_heartbeat_file.sh),
but it only makes clear that the file is expected.

tween Host[-7-Routing] and org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@1eca16d9
com.cloud.utils.exception.CloudRuntimeException: Unable establish connection from storage
head to storage pool 10 due to ModifyStoragePoolCommand add XenAPIException:Unable to
setup heartbeat file entry on SR fac6c87d-d8af-102f-f89a-d58429d986a3 due to #6# heartbeat
file /var/run/sr-mount/fac6c87d-d8af-102f-f89a-d58429d986a3/hb-05e6d247-7cc8-43f4-969
c-5ba97341539a doesn't exist host:05e6d247-7cc8-43f4-969c-5ba97341539a pool: 10.1.1.65/opt/storage/primary10
        at org.apache.cloudstack.storage.datastore.provider.DefaultHostListener.hostConnect(DefaultHostListener.java:67)
        at com.cloud.storage.StorageManagerImpl.connectHostToSharedPool(StorageManagerImpl.java:853)
        at org.apache.cloudstack.storage.datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl.attachCluster(CloudStackPrimaryDataStoreLifeCycleImpl.java:418)
        at com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:656)
        at com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:176)
        at org.apache.cloudstack.api.command.admin.storage.CreateStoragePoolCmd.execute(CreateStoragePoolCmd.java:163)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:156)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:593)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:416)
        at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330)
        at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54)
        at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118)

Any idea how to get it working?

Cheers,
Wilder

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message