[Users] Create Volume on Web failed, Error while executing action: General command validation failure.

higkoohk higkoohk at gmail.com
Tue Aug 27 05:24:03 UTC 2013


It successed after do this:

gluster volume create vm-image stripe 2 replica 2
172.28.26.10{2,3,4,5}:/data/gluster/vm-image
gluster volume set vm-image storage.owner-uid 36
gluster volume set vm-image storage.owner-gid 36

add 'option rpc-auth-allow-insecure on' to file /etc/glusterfs/glusterd.vol

then restart all the gluster nodes !


2013/8/27 Sahina Bose <sabose at redhat.com>

>
> On 08/27/2013 08:17 AM, higkoohk wrote:
>
>  Hello, Everyone!
>
>     I'm create Volume on web ,failed error msg is 'Error while executing
> action: General command validation failure.'. like this:
> [image: 内嵌图片 1]
>  The engine.log detail :
>
>
>  2013-08-27 10:44:32,987 INFO
>  [org.ovirt.engine.core.vdsbroker.gluster.GlusterServicesListVDSCommand]
> (pool-6-thread-45) START, GlusterServicesListVDSCommand(HostName =
> Agent-103, HostId = 2ffe6e0c-b3aa-4d68-bdb8-ab1979b4651f), log id: 279d3c1f
> 2013-08-27 10:44:32,987 INFO
>  [org.ovirt.engine.core.vdsbroker.gluster.GlusterServicesListVDSCommand]
> (pool-6-thread-47) START, GlusterServicesListVDSCommand(HostName =
> Agent-102, HostId = e8838320-4532-497f-b092-6d624dadae88), log id: 56dc9baa
> 2013-08-27 10:44:32,987 INFO
>  [org.ovirt.engine.core.vdsbroker.gluster.GlusterServicesListVDSCommand]
> (pool-6-thread-50) START, GlusterServicesListVDSCommand(HostName =
> Agent-104, HostId = de558ba5-4326-4e5b-b5a5-b334fc044ffd), log id: 70c48fa8
> 2013-08-27 10:44:32,987 INFO
>  [org.ovirt.engine.core.vdsbroker.gluster.GlusterServicesListVDSCommand]
> (pool-6-thread-48) START, GlusterServicesListVDSCommand(HostName =
> Agent-105, HostId = ba096935-6328-4733-bbf4-72d69490c382), log id: 21c493d1
> 2013-08-27 10:44:33,053 INFO
>  [org.ovirt.engine.core.vdsbroker.gluster.GlusterServicesListVDSCommand]
> (pool-6-thread-47) FINISH, GlusterServicesListVDSCommand, return:
> [org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 3e4d5db1,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 24e75494,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 6ab470ad,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 514f8762,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 9672270,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at d480e72f,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 9f9aabee],
> log id: 56dc9baa
> 2013-08-27 10:44:33,053 INFO
>  [org.ovirt.engine.core.vdsbroker.gluster.GlusterServicesListVDSCommand]
> (pool-6-thread-45) FINISH, GlusterServicesListVDSCommand, return:
> [org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 9d386d64,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 83d26447,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at c99f8060,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at b03a9715,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 68523223,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 336bf6e2,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at fe85bba1],
> log id: 279d3c1f
> 2013-08-27 10:44:33,145 INFO
>  [org.ovirt.engine.core.vdsbroker.gluster.GlusterServicesListVDSCommand]
> (pool-6-thread-50) FINISH, GlusterServicesListVDSCommand, return:
> [org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 3d1f17ef,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 23b90ed2,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 69862aeb,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 502141a0,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 838dcae,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at d352a16d,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 9e6c662c],
> log id: 70c48fa8
> 2013-08-27 10:44:33,204 INFO
>  [org.ovirt.engine.core.vdsbroker.gluster.GlusterServicesListVDSCommand]
> (pool-6-thread-48) FINISH, GlusterServicesListVDSCommand, return:
> [org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at d0ecad74,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at b786a457,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at fd53c070,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at e3eed725,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 9c067233,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 672036f2,
> org.ovirt.engine.core.common.businessentities.gluster.GlusterServerService at 3239fbb1],
> log id: 21c493d1
> 2013-08-27 10:44:33,647 INFO
>  [org.ovirt.engine.core.vdsbroker.gluster.GlusterServersListVDSCommand]
> (DefaultQuartzScheduler_Worker-14) START,
> GlusterServersListVDSCommand(HostName = Agent-105, HostId =
> ba096935-6328-4733-bbf4-72d69490c382), log id: 4a0587a2
> 2013-08-27 10:44:33,683 INFO
>  [org.ovirt.engine.core.vdsbroker.gluster.GlusterServersListVDSCommand]
> (DefaultQuartzScheduler_Worker-14) FINISH, GlusterServersListVDSCommand,
> return: [169.254.95.120:CONNECTED, 172.28.26.102:CONNECTED, 172.28.26.103:CONNECTED,
> 172.28.26.104:CONNECTED], log id: 4a0587a2
> 2013-08-27 10:44:33,686 INFO
>  [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand]
> (DefaultQuartzScheduler_Worker-14) START,
> GlusterVolumesListVDSCommand(HostName = Agent-105, HostId =
> ba096935-6328-4733-bbf4-72d69490c382), log id: 619bfdbf
> 2013-08-27 10:44:33,706 INFO
>  [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand]
> (DefaultQuartzScheduler_Worker-14) FINISH, GlusterVolumesListVDSCommand,
> return: {}, log id: 619bfdbf
> 2013-08-27 10:44:34,337 ERROR
> [org.ovirt.engine.core.bll.gluster.CreateGlusterVolumeCommand]
> (ajp--127.0.0.1-8702-3) Error during CanDoActionFailure.:
> java.lang.NullPointerException
>  at
> org.ovirt.engine.core.bll.gluster.CreateGlusterVolumeCommand.getValidationGroups(CreateGlusterVolumeCommand.java:76)
> [bll.jar:]
>  at
> org.ovirt.engine.core.bll.CommandBase.validateInputs(CommandBase.java:809)
> [bll.jar:]
>  at
> org.ovirt.engine.core.bll.CommandBase.internalCanDoAction(CommandBase.java:742)
> [bll.jar:]
>  at
> org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:359)
> [bll.jar:]
>  at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:404)
> [bll.jar:]
>  at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:387)
> [bll.jar:]
>  at org.ovirt.engine.core.bll.Backend.RunAction(Backend.java:345)
> [bll.jar:]
>  at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
> [:1.7.0_09-icedtea]
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [rt.jar:1.7.0_09-icedtea]
>  at java.lang.reflect.Method.invoke(Method.java:601)
> [rt.jar:1.7.0_09-icedtea]
>  at
> org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.ovirt.engine.core.bll.interceptors.ThreadLocalSessionCleanerInterceptor.injectWebContextToThreadLocal(ThreadLocalSessionCleanerInterceptor.java:13)
> [bll.jar:]
>  at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
> [:1.7.0_09-icedtea]
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [rt.jar:1.7.0_09-icedtea]
>  at java.lang.reflect.Method.invoke(Method.java:601)
> [rt.jar:1.7.0_09-icedtea]
>  at
> org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.as.ejb3.component.singleton.SingletonComponentInstanceAssociationInterceptor.processInvocation(SingletonComponentInstanceAssociationInterceptor.java:53)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:211)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:363)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:194)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59)
> [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
> [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]
>  at
> org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72)
> [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
>  at
> org.ovirt.engine.core.common.interfaces.BackendLocal$$$view10.RunAction(Unknown
> Source) [common.jar:]
>  at
> org.ovirt.engine.ui.frontend.server.gwt.GenericApiGWTServiceImpl.RunAction(GenericApiGWTServiceImpl.java:131)
>  at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
> [:1.7.0_09-icedtea]
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [rt.jar:1.7.0_09-icedtea]
>  at java.lang.reflect.Method.invoke(Method.java:601)
> [rt.jar:1.7.0_09-icedtea]
>  at com.google.gwt.rpc.server.RPC.invokeAndStreamResponse(RPC.java:196)
>  at com.google.gwt.rpc.server.RpcServlet.processCall(RpcServlet.java:172)
>  at com.google.gwt.rpc.server.RpcServlet.processPost(RpcServlet.java:233)
>  at
> com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
> [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
>  at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
>  at
> org.ovirt.engine.ui.frontend.server.gwt.GwtCachingFilter.doFilter(GwtCachingFilter.java:132)
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
>  at
> org.ovirt.engine.core.utils.servlet.LocaleFilter.doFilter(LocaleFilter.java:59)
> [utils.jar:]
>  at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280)
>  at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)
>  at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)
>  at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)
>  at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:489)
>  at
> org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)
>  at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)
>  at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>  at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)
>  at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>  at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)
>  at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)
>  at
> org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445)
>  at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)
>  at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]
>
>
> This bug was fixed with http://gerrit.ovirt.org/#/c/17368/.
>
> Could you give details of the build you are using to test this out?
>
>
>  Thanks all !
>
>
> _______________________________________________
> Users mailing listUsers at ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130827/90d6e06c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 32037 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/users/attachments/20130827/90d6e06c/attachment-0001.png>


More information about the Users mailing list