Hi Tommy, Thanks for letting us know the solution. Let us know if you have any further issues.
Marty On 5 March 2014 17:16, TommyBW <cloudst...@altanovabw.com> wrote: > Hi All, > > > I Managed to find the problem. A very small variation on the name I gave for > my network label. It was cloustack-lan not cloudstack-lan > > Thanks all for help. > > Now am on to explore cloudstack. > > Kind regards, > > Tommy Sosa > > ----- Original Message ----- > From: "TommyBW" <cloudst...@altanovabw.com> > To: "Marty Sweet" <msweet....@gmail.com> > Sent: Wednesday, March 5, 2014 5:21:30 PM > Subject: Re: Problem Adding iSCSI Primary Storage > > Hi Marty, > > This is an excerpt from the management log files. > > > > 2014-02-20 18:00:53,490 DEBUG [agent.manager.AgentManagerImpl] > (AgentTaskPool-15:null) Simulating start for resource > 166613ec-7918-4740-9f4d-f3e5854f8df4 id 2 > 2014-02-20 18:00:53,490 DEBUG [cloud.resource.ResourceManagerImpl] > (AgentTaskPool-15:null) Creating agent for host 2 > 2014-02-20 18:00:53,519 DEBUG [xen.resource.CitrixResourceBase] > (AgentTaskPool-14:null) Management network is on > pif=b1439859-b9a6-9d67-2ad5-a37eeb4a5c27 > 2014-02-20 18:00:53,522 WARN [xen.resource.CitrixResourceBase] > (AgentTaskPool-14:null) Unable to find storage network cloudstack-lan for > host 192.168.50.102 > 2014-02-20 18:00:53,522 WARN [xen.resource.CitrixResourceBase] > (AgentTaskPool-14:null) Unable to get host information for 192.168.50.102 > java.lang.IllegalArgumentException: Unable to find storage network > cloudstack-lan for host 192.168.50.102 > at > com.cloud.hypervisor.xen.resource.CitrixResourceBase.getHostInfo(CitrixResourceBase.java:4822) > at > com.cloud.hypervisor.xen.resource.CitrixResourceBase.initialize(CitrixResourceBase.java:4963) > at > com.cloud.hypervisor.xen.resource.XenServer56Resource.initialize(XenServer56Resource.java:279) > at > com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1723) > at > com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1929) > at > com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.run(AgentManagerImpl.java:1130) > 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) > 2014-02-20 18:00:53,523 WARN [xen.resource.CitrixResourceBase] > (AgentTaskPool-14:null) Unable to get host information for 192.168.50.102 > 2014-02-20 18:00:53,523 INFO [cloud.resource.ResourceManagerImpl] > (AgentTaskPool-14:null) Unable to fully initialize the agent because no > StartupCommands are returned > 2014-02-20 18:00:53,523 DEBUG [cloud.resource.ResourceManagerImpl] > (AgentTaskPool-14:null) Completed creating agent for host 1 > 2014-02-20 18:00:53,624 DEBUG [xen.resource.CitrixResourceBase] > (AgentTaskPool-15:null) Management network is on > pif=d19294cd-e75f-79ae-550c-d312adcf4154 > 2014-02-20 18:00:53,628 WARN [xen.resource.CitrixResourceBase] > (AgentTaskPool-15:null) Unable to find storage network cloudstack-lan for > host 192.168.50.101 > 2014-02-20 18:00:53,628 WARN [xen.resource.CitrixResourceBase] > (AgentTaskPool-15:null) Unable to get host information for 192.168.50.101 > java.lang.IllegalArgumentException: Unable to find storage network > cloudstack-lan for host 192.168.50.101 > at > com.cloud.hypervisor.xen.resource.CitrixResourceBase.getHostInfo(CitrixResourceBase.java:4822) > at > com.cloud.hypervisor.xen.resource.CitrixResourceBase.initialize(CitrixResourceBase.java:4963) > at > com.cloud.hypervisor.xen.resource.XenServer56Resource.initialize(XenServer56Resource.java:279) > at > com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1723) > at > com.cloud.resource.ResourceManagerImpl.createHostAndAgent(ResourceManagerImpl.java:1929) > at > com.cloud.agent.manager.AgentManagerImpl$SimulateStartTask.run(AgentManagerImpl.java:1130) > 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) > 2014-02-20 18:00:53,628 WARN [xen.resource.CitrixResourceBase] > (AgentTaskPool-15:null) Unable to get host information for 192.168.50.101 > 2014-02-20 18:00:53,629 INFO [cloud.resource.ResourceManagerImpl] > (AgentTaskPool-15:null) Unable to fully initialize the agent because no > StartupCommands are returned > 2014-02-20 18:00:53,629 DEBUG [cloud.resource.ResourceManagerImpl] > (AgentTaskPool-15:null) Completed creating agent for host 2 > 2014-02-20 18:00:54,466 DEBUG [storage.secondary.SecondaryStorageManagerImpl] > (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet > 2014-02-20 18:00:54,573 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] > (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage > UPintenance mode > 2014-02-20 18:00:55,674 DEBUG > [network.router.VirtualNetworkApplianceManagerImpl] > (RouterStatusMonitor-1:null) Found 0 routers to update status. > 2014-02-20 18:00:55,675 DEBUG > [network.router.VirtualNetworkApplianceManagerImpl] > (RouterStatusMonitor-1:null) Found 0 networks to update RvR status. > 2014-02-20 18:01:08,827 DEBUG [cloud.server.StatsCollector] > (StatsCollector-2:null) StorageCollector is running... > 2014-02-20 18:01:08,831 INFO [storage.endpoint.DefaultEndPointSelector] > (StatsCollector-2:null) No running ssvm is found, so command will be sent to > LocalHostEndPoint > 2014-02-20 18:01:16,598 DEBUG [cloud.server.StatsCollector] > (StatsCollector-3:null) VmStatsCollector is running... > 2014-02-20 18:01:24,466 DEBUG [storage.secondary.SecondaryStorageManagerImpl] > (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet > 2014-02-20 18:01:24,572 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] > (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage > UPintenance mode > 2014-02-20 18:01:25,674 DEBUG > [network.router.VirtualNetworkApplianceManagerImpl] > (RouterStatusMonitor-1:null) Found 0 routers to update status. > 2014-02-20 18:01:25,676 DEBUG > [network.router.VirtualNetworkApplianceManagerImpl] > (RouterStatusMonitor-1:null) Found 0 networks to update RvR status. > 2014-02-20 18:01:32,359 DEBUG [cloud.server.StatsCollector] > (StatsCollector-2:null) HostStatsCollector is running... > 2014-02-20 18:01:36,189 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) > ===START=== 192.168.50.60 -- GET > command=createStoragePool&scope=cluster&zoneid=d2bba213-f1a1-40bd-a6ff-b4eb7a72f929&podid=cfdedc09-27a1-4ed1-8f95-8c64c00ce3ba&clusterid=0f10c771-a91a-4778-869d-2c61eea77d9a&name=Primary01&url=iscsi%3A%2F%2F192.168.50.245%2Fiqn.2013-19.local.altanovabw.istgt%3Aprimary01%2F0&response=json&sessionkey=GrtZZ1N8PnW9hreJhAk75nH0Iqs%3D&_=1394032766791 > 2014-02-20 18:01:36,198 DEBUG > [datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl] > (catalina-exec-13:null) createPool Params @ scheme - iscsi storageHost - > 192.168.50.245 hostPath - /iqn.2013-19.local.altanovabw.istgt:primary01/0 > port - -1 > 2014-02-20 18:01:36,210 DEBUG [cloud.storage.StorageManagerImpl] > (catalina-exec-13:null) Failed to add data store > com.cloud.utils.exception.CloudRuntimeException: No host up to associate a > storage pool with in cluster 1 > at > org.apache.cloudstack.storage.datastore.lifecycle.CloudStackPrimaryDataStoreLifeCycleImpl.attachCluster(CloudStackPrimaryDataStoreLifeCycleImpl.java:371) > at > com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:759) > at > com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:179) > at > org.apache.cloudstack.api.command.admin.storage.CreateStoragePoolCmd.execute(CreateStoragePoolCmd.java:168) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372) > at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305) > at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > at > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) > at > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) > at > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at > org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) > at > org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) > at > org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:744) > at > org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2282) > 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) > 2014-02-20 18:01:36,211 INFO [cloud.api.ApiServer] (catalina-exec-13:null) > Failed to add data store > 2014-02-20 18:01:36,212 DEBUG [cloud.api.ApiServlet] (catalina-exec-13:null) > ===END=== 192.168.50.60 -- GET > command=createStoragePool&scope=cluster&zoneid=d2bba213-f1a1-40bd-a6ff-b4eb7a72f929&podid=cfdedc09-27a1-4ed1-8f95-8c64c00ce3ba&clusterid=0f10c771-a91a-4778-869d-2c61eea77d9a&name=Primary01&url=iscsi%3A%2F%2F192.168.50.245%2Fiqn.2013-19.local.altanovabw.istgt%3Aprimary01%2F0&response=json&sessionkey=GrtZZ1N8PnW9hreJhAk75nH0Iqs%3D&_=1394032766791 > > ----- Original Message ----- > From: "Marty Sweet" <msweet....@gmail.com> > To: users@cloudstack.apache.org > Cc: cloudst...@altanovabw.com > Sent: Wednesday, March 5, 2014 5:12:07 PM > Subject: Re: Problem Adding iSCSI Primary Storage > > Hi Tommy, > > Please could you send us any relevant errors from your > /var/log/cloudstack/management/... log? > This should tell us more information about your issue. > > Thanks, > Marty Sweet > > On 5 March 2014 15:08, TommyBW <cloudst...@altanovabw.com> wrote: >> Hi All, >> >> >> I hope someone can help me. I have been trying to add iSCSI storage as my >> primary storage and it fails immediately with "failed to add data store" >> >> I am using the following : >> >> 2 x Xenserver 6.2 SP1 Hosts >> 1 x Cloudstack 4.2.1 running on Ubuntu Server 12.04 >> >> Any help would be much appreciated. >> >> Kind regards, >> >> Tommy Sosa >> >> >> >> >> ----- Original Message ----- >> From: "Nux!" <n...@li.nux.ro> >> To: users@cloudstack.apache.org >> Sent: Wednesday, March 5, 2014 5:00:49 PM >> Subject: Re: Customise XenServer ISO? >> >> On 05.03.2014 14:39, Geoff Higginbottom wrote: >>> Hi Lucian >>> >>> I concur with Pierre-Luc, we always deploy XenServer via PXE and add >>> drivers, supplemental packs and general customisations etc >> >> Thanks guys, I'll start looking up the deployment docs as soon as I get >> some time. PXE seems the way to go. >> We have some new Supermicros and it looks like latest Xenserver and >> Vmware lack the proper drivers. >> >> -- >> Sent from the Delta quadrant using Borg technology! >> >> Nux! >> www.nux.ro