Mike,

This generally means the XenServer was unable to make a iSCSI connection to the 
target.  You should be able to find the failure on XS.  It's either in 
/var/log/xensource.log or in /var/log/SMlog.

If you're working with a pool, you want to make sure all XSes have connection 
to the target.

For each host, I usually will debug in this manner.

Go to the host, and establish the iscsi connection manually. 
Once that works, then create the SR manually

Either one of the above should result in error and give you better detail on 
what the problem is.

--Alex

> -----Original Message-----
> From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
> Sent: Monday, February 18, 2013 8:51 AM
> To: cloudstack-dev@incubator.apache.org
> Subject: Re: Question about Exception
> 
> Perhaps it simply means the host couldn't see the iSCSI target?  It does
> look like I'm having trouble pinging from the host to the storage server.
> 
> 
> On Mon, Feb 18, 2013 at 9:48 AM, Mike Tutkowski <
> mike.tutkow...@solidfire.com> wrote:
> 
> > Hi,
> >
> > I'm using DevCloud2 with the master branch.
> >
> > I'm trying to add an iSCSI-based Primary Storage, but I received the
> > following exception (any ideas?):
> >
> > ERROR [cloud.api.ApiDispatcher] (865294952@qtp-189300272-7:) Exception
> > while executing CreateStoragePoolCmd:
> > com.cloud.utils.exception.CloudRuntimeException: 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
> > Iscsi SR  {targetIQN=iqn.2010-01.com.solidfire:4izz.cs-vol-1003.86,
> > target=10.10.5.113} due to  Unable to create Iscsi SR
> >  {targetIQN=iqn.2010-01.com.solidfire:4izz.cs-vol-1003.86,
> > target=10.10.5.113} due to  The SR could not be connected because the
> > driver was not recognised. on host:9d4c9db8-32f7-25c3-0435-eab4bf3adcea
> > pool: 10.10.5.113/iqn.2010-01.com.solidfire:4izz.cs-vol-1003.86/0
> >  at
> >
> com.cloud.storage.StorageManagerImpl.createStoragePool(StorageManager
> Impl.java:1669)
> > at
> >
> com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.ja
> va:1448)
> >  at
> >
> com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.ja
> va:215)
> > at
> >
> com.cloud.api.commands.CreateStoragePoolCmd.execute(CreateStoragePo
> olCmd.java:120)
> >  at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:167)
> > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:539)
> >  at com.cloud.api.ApiServer.handleRequest(ApiServer.java:423)
> > at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:311)
> >  at com.cloud.api.ApiServlet.doGet(ApiServlet.java:63)
> > at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
> >  at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
> > at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
> >  at
> > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:401)
> > at
> >
> org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> >  at
> > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
> > at
> org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
> >  at
> org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:4
> 50)
> > at
> >
> org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandler
> Collection.java:230)
> >  at
> >
> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:
> 114)
> > at
> org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:15
> 2)
> >  at org.mortbay.jetty.Server.handle(Server.java:326)
> > at
> org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
> >  at
> >
> org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpC
> onnection.java:928)
> > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
> >  at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
> > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
> >  at
> >
> org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
> 410)
> > at
> >
> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPoo
> l.java:582)
> >
> > Thanks!
> >
> > --
> > *Mike Tutkowski*
> > *Senior CloudStack Developer, SolidFire Inc.*
> > e: mike.tutkow...@solidfire.com
> > o: 303.746.7302
> > Advancing the way the world uses the
> cloud<http://solidfire.com/solution/overview/?video=play>
> > *(tm)*
> >
> 
> 
> 
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the
> cloud<http://solidfire.com/solution/overview/?video=play>
> *(tm)*

Reply via email to