Author Topic: Create Raid Parity fails with Placeholder  (Read 1675 times)

Offline vletroye

  • Hero Member
  • *****
  • Posts: 714
  • Karma: +7/-0
    • View Profile
Create Raid Parity fails with Placeholder
« on: July 06, 2013, 09:20:14 am »
When I create a Raid Configuration with (at least) two DRU, two PPU and one or several PlaceHolders, the "Create RAID Parity" fails...
It works fine if I remove the PlaceHolders from the Raid Configuration...

It sounds like the PlaceHolders should be registered too ???



ERROR:
com.google.gwt.user.client.rpc.StatusCodeException
500 The call failed on the server; see server log for details

LOG:
[2013-07-06 16:18:58,416] ERROR offlineCreateRAIDParity(248) - RegisteredDisk not found for ID=7
java.io.IOException: RegisteredDisk not found for ID=7
   at com.tchegbe.nzfs.ui.server.op.NZFSDiskOperations.manageTRAIDState(NZFSDiskOperations.java:757)
   at com.tchegbe.nzfs.ui.server.op.NZFSDiskOperations.validateTaskRun(NZFSDiskOperations.java:757)
   at com.tchegbe.nzfs.ui.server.op.NZFSDiskOperations.offlineCreateRAIDParity(NZFSDiskOperations.java:757)
   at com.tchegbe.nzfs.ui.server.rpc.NZFSServiceImpl.offlineCreateRAIDParity(NZFSServiceImpl.java:248)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.class:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.class:0)
   at java.lang.reflect.Method.invoke(Method.class:0)
   at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
   at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
   at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
   at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1359)
   at com.tchegbe.lib.gwt.server.servlet.SecurityFilter.doFilter(SecurityFilter.java:30)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)
   at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)
   at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
   at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)
   at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
   at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
   at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)
   at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
   at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47)
   at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
   at org.eclipse.jetty.server.Server.handle(Server.java:349)
   at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
   at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936)
   at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)
   at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
   at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:50)
   at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector$.java:245)
   at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
   at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
   at java.lang.Thread.run(Thread.class:0)
[2013-07-06 16:18:58,416] WARN  log(1783) - Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.tchegbe.lib.gwt.client.bean.ActionStatus com.tchegbe.nzfs.ui.client.rpc.NZFSService.offlineCreateRAIDParity(long,long)' threw an unexpected exception: java.lang.RuntimeException: RegisteredDisk not found for ID=7
   at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:389)
   at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:579)
   at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208)
   at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248)
   at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
   at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1359)
   at com.tchegbe.lib.gwt.server.servlet.SecurityFilter.doFilter(SecurityFilter.java:30)
   at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1330)
   at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:478)
   at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:225)
   at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:941)
   at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409)
   at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
   at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:875)
   at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
   at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47)
   at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110)
   at org.eclipse.jetty.server.Server.handle(Server.java:349)
   at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441)
   at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:936)
   at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:801)
   at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:218)
   at org.eclipse.jetty.server.BlockingHttpConnection.handle(BlockingHttpConnection.java:50)
   at org.eclipse.jetty.server.bio.SocketConnector$ConnectorEndPoint.run(SocketConnector$.java:245)
   at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598)
   at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533)
   at java.lang.Thread.run(Thread.class:0)
Caused by: java.lang.RuntimeException: RegisteredDisk not found for ID=7
   at com.tchegbe.nzfs.ui.server.rpc.NZFSServiceImpl.offlineCreateRAIDParity(NZFSServiceImpl.java:248)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.class:0)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.class:0)
   at java.lang.reflect.Method.invoke(Method.class:0)
   at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
   ... 28 more
Caused by: java.io.IOException: RegisteredDisk not found for ID=7
   at com.tchegbe.nzfs.ui.server.op.NZFSDiskOperations.manageTRAIDState(NZFSDiskOperations.java:757)
   at com.tchegbe.nzfs.ui.server.op.NZFSDiskOperations.validateTaskRun(NZFSDiskOperations.java:757)
   at com.tchegbe.nzfs.ui.server.op.NZFSDiskOperations.offlineCreateRAIDParity(NZFSDiskOperations.java:757)
   ... 34 more

Offline Brahim

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8,547
  • Karma: +204/-16
    • View Profile
Re: Create Raid Parity fails with Placeholder
« Reply #1 on: July 07, 2013, 07:36:27 am »
Fixed.