Hi Cloudstack team,
Need some help on this.
I'm using CS 4.2.1 with XenServer 6.2

While trying to create an advanced zone it fails at primary storage
creation.

These are the log snippets,

2014-03-02 08:32:24,551 DEBUG
[datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl]
(catalina-exec-22:null) creating pool null on  host 1
2014-03-02 08:32:24,556 DEBUG [agent.transport.Request]
(catalina-exec-22:null) Seq 1-1614282760: Sending  { Cmd , MgmtId:
174373135997068, via: 1, Ver: v1, Flags: 100011,
[{"com.cloud.agent.api.CreateStoragePoolCommand":{"add":true,"pool":{"id":1,"uuid":"c1e2ff6c-925b-34b5-985d-d80969a70c05","host":"10.32.11.40","path":"/POOL1TB_CS2_ONE/CS2_PRI_STOR_01","port":2049,"type":"NetworkFilesystem"},"localPath":"/mnt//c1e2ff6c-925b-34b5-985d-d80969a70c05","wait":0}}]
}
2014-03-02 08:32:24,556 DEBUG [agent.transport.Request]
(catalina-exec-22:null) Seq 1-1614282760: Executing:  { Cmd , MgmtId:
174373135997068, via: 1, Ver: v1, Flags: 100011,
[{"com.cloud.agent.api.CreateStoragePoolCommand":{"add":true,"pool":{"id":1,"uuid":"c1e2ff6c-925b-34b5-985d-d80969a70c05","host":"10.32.11.40","path":"/POOL1TB_CS2_ONE/CS2_PRI_STOR_01","port":2049,"type":"NetworkFilesystem"},"localPath":"/mnt//c1e2ff6c-925b-34b5-985d-d80969a70c05","wait":0}}]
}
2014-03-02 08:32:24,556 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-3:null) Seq 1-1614282760: Executing request
2014-03-02 08:32:34,960 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl]
(consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage
UPintenance mode
2014-03-02 08:32:35,915 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 routers to update status.
2014-03-02 08:32:35,916 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 networks to update RvR status.
2014-03-02 08:32:44,444 WARN  [xen.resource.CitrixResourceBase]
(DirectAgent-3:null) 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.32.11.40:2049|/POOL1TB_CS2_ONE/CS2_PRI_STOR_01] on
host:365d6026-7931-4ee2-a341-255336a15a69 pool:
10.32.11.40/POOL1TB_CS2_ONE/CS2_PRI_STOR_01
com.cloud.utils.exception.CloudRuntimeException: Unable to create NFS SR
Pool[1|10.32.11.40:2049|/POOL1TB_CS2_ONE/CS2_PRI_STOR_01]
        at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNfsSR(CitrixResourceBase.java:6473)
        at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:5458)
        at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:517)
        at
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
        at
com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
        at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
        at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
        at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
        at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:701)
Caused by: SR_BACKEND_FAILURE_40The SR scan failed
[opterr=uuid=1c802a9f-23e9-4189-ad58-b1d2052c579b]
        at com.xensource.xenapi.Types.checkResponse(Types.java:1936)
        at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
        at
com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
        at com.xensource.xenapi.SR.scan(SR.java:1241)
        at
com.cloud.hypervisor.xen.resource.CitrixResourceBase.getNfsSR(CitrixResourceBase.java:6470)
        ... 13 more
2014-03-02 08:32:44,446 DEBUG [agent.manager.DirectAgentAttache]
(DirectAgent-3:null) Seq 1-1614282760: Response Received:
2014-03-02 08:32:44,446 DEBUG [agent.transport.Request]
(DirectAgent-3:null) Seq 1-1614282760: Processing:  { Ans: , MgmtId:
174373135997068, via: 1, Ver: v1, Flags: 10,
[{"com.cloud.agent.api.Answer":{"result":false,"details":"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.32.11.40:2049|/POOL1TB_CS2_ONE/CS2_PRI_STOR_01] on
host:365d6026-7931-4ee2-a341-255336a15a69 pool:
10.32.11.40/POOL1TB_CS2_ONE/CS2_PRI_STOR_01","wait":0}}] }
2014-03-02 08:32:44,446 DEBUG [agent.transport.Request]
(catalina-exec-22:null) Seq 1-1614282760: Received:  { Ans: , MgmtId:
174373135997068, via: 1, Ver: v1, Flags: 10, { Answer } }
2014-03-02 08:32:44,446 DEBUG [agent.manager.AgentManagerImpl]
(catalina-exec-22:null) Details from executing class
com.cloud.agent.api.CreateStoragePoolCommand: 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.32.11.40:2049|/POOL1TB_CS2_ONE/CS2_PRI_STOR_01] on
host:365d6026-7931-4ee2-a341-255336a15a69 pool:
10.32.11.40/POOL1TB_CS2_ONE/CS2_PRI_STOR_01

What am I missing here?

I can see the vhd-util is copied to the host.

[root@cs2-chas01-bl08 ~]# ls -l /opt/cloud/bin/
total 532
-rwxr-xr-x 1 root root   1078 Mar  2 08:32 add_to_vcpus_params_live.sh
-rwxr-xr-x 1 root root   1267 Mar  2 08:32 bumpUpPriority.sh
-rwxr-xr-x 1 root root   2181 Mar  2 08:32 call_firewall.sh
-rwxr-xr-x 1 root root   2259 Mar  2 08:32 call_loadbalancer.sh
-rwxr-xr-x 1 root root   1728 Mar  2 08:32 check_heartbeat.sh
-rwxr-xr-x 1 root root   1131 Mar  2 08:32 cloud-clean-vlan.sh
-rwxr-xr-x 1 root root   3620 Mar  2 08:32 cloud-prepare-upgrade.sh
-rwxr-xr-x 1 root root   4850 Mar  2 08:32 cloud-setup-bonding.sh
-rwxr-xr-x 1 root root   4117 Mar  2 08:32 copy_vhd_from_secondarystorage.sh
-rwxr-xr-x 1 root root   3099 Mar  2 08:32 copy_vhd_to_secondarystorage.sh
-rwxr-xr-x 1 root root   1043 Mar  2 08:32 createipAlias.sh
-rwxr-xr-x 1 root root   3115 Mar  2 08:32
create_privatetemplate_from_snapshot.sh
-rwxr-xr-x 1 root root   1045 Mar  2 08:32 deleteipAlias.sh
-rwxr-xr-x 1 root root   2055 Mar  2 08:32 dhcp_entry.sh
-rw-r--r-- 1 root root      0 Mar  2 08:32 heartbeat
-rwxr-xr-x 1 root root   1170 Mar  2 08:32 kill_copy_process.sh
-rwxr-xr-x 1 root root   1301 Mar  2 08:32 launch_hb.sh
-rwxr-xr-x 1 root root   2475 Mar  2 08:32 make_migratable.sh
-rwxr-xr-x 1 root root   1412 Mar  2 08:32 network_info.sh
-rwxr-xr-x 1 root root   1025 Mar  2 08:32 ovs-get-bridge.sh
-rwxr-xr-x 1 root root    999 Mar  2 08:32 ovs-get-dhcp-iface.sh
-rwxr-xr-x 1 root root    893 Mar  2 08:32 ovs-pvlan-cleanup.sh
-rwxr-xr-x 1 root root   2987 Mar  2 08:32 ovs-pvlan-dhcp-host.sh
-rwxr-xr-x 1 root root   2430 Mar  2 08:32 ovs-pvlan-vm.sh
-rwxr-xr-x 1 root root   3443 Mar  2 08:32 pingtest.sh
-rwxr-xr-x 1 root root   1231 Mar  2 08:32 router_proxy.sh
-rwxr-xr-x 1 root root   1969 Mar  2 08:32 save_password_to_domr.sh
-rwxr-xr-x 1 root root   2254 Mar  2 08:32 setup_heartbeat_file.sh
-rwxr-xr-x 1 root root   2539 Mar  2 08:32 setup_heartbeat_sr.sh
-rwxr-xr-x 1 root root   1769 Mar  2 08:32 setup_iscsi.sh
-rwxr-xr-x 1 root root   2202 Mar  2 08:32 setupxenserver.sh
-rwxr-xr-x 1 root root  75573 Mar  2 08:32 swift
-rwxr-xr-x 1 root root   3043 Mar  2 08:32 upgrade_snapshot.sh
-rwxr-xr-x 1 root root 318977 Mar  2 08:32 vhd-util
-rwxr-xr-x 1 root root   2822 Mar  2 08:32 xenheartbeat.sh


Appreciate your help;
Thank you,
Nishan

Reply via email to