<div><font color="#663366" face="verdana, sans-serif">I am trying to add a network for a sandbox environment that only certain VMs will have access to and those VMs will not have access to the rest of our network. This is to allow new systems to be tested in a safe environment where they can't possibly muck with our live systems. I'm trying to follow the instructions of section <a href="https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1-Beta/html-single/Administration_Guide/index.html#sect-Logical_Network_Tasks">5.4 Logical Network Tasks</a> in the Admin guide but I keep getting an error when adding to the host. Here is what I'm doing:</font></div>
<div><font color="#663366" face="verdana, sans-serif"><br></font></div><font color="#663366" face="verdana, sans-serif">Under Data Centers > Default > Logical Networks > New, I create a new logical network called sandbox, VM network is checked, VLAN network is checked and VLAN ID is 2. . </font><div>
<font color="#663366" face="verdana, sans-serif">Under Clusters > Default > Logical Networks > Assign/Unassign Networks, I check Assign but not Required and sandbox appears in the list.</font></div><div><font color="#663366" face="verdana, sans-serif">Under Hosts > cloudhost01 > Network Interfaces > Setup Host Networks, I drag sandbox to the em1 interface which is also where ovirtmgmt is assigned. There is am em2 interface, but that is dedicated to iSCSI storage and has no Logical Networks assigned to it.</font></div>
<div><font color="#663366" face="verdana, sans-serif">I check "Save network configuration", leave "Verify connectivity between Host and ovirt-engine" checked, click OK and I get "</font>Error: cloudhost01: - General command validation failure.<span style="color:rgb(102,51,102);font-family:verdana,sans-serif">" </span></div>
<div><span style="color:rgb(102,51,102);font-family:verdana,sans-serif"><br></span></div><div><font color="#663366" face="verdana, sans-serif">This may not be relevant, but in my event log I get "</font>cloudhost01 is missing vlan id: 2 that is expected by the cluster<font color="#663366" face="verdana, sans-serif">" warnings when I activate cloudhost01 while the sandbox network exists. I have tired doing things with different orders and tweaks all resulting in the same error. Here are my versions: </font></div>
<div>ovirt-log-collector-3.1.0-16.el6.noarch</div><div>ovirt-image-uploader-3.1.0-16.el6.noarch</div><div>ovirt-engine-userportal-3.1.0-3.19.el6.noarch</div><div>ovirt-engine-setup-3.1.0-3.19.el6.noarch</div><div>ovirt-engine-restapi-3.1.0-3.19.el6.noarch</div>
<div>ovirt-engine-config-3.1.0-3.19.el6.noarch</div><div>ovirt-engine-notification-service-3.1.0-3.19.el6.noarch</div><div>ovirt-engine-backend-3.1.0-3.19.el6.noarch</div><div>ovirt-engine-sdk-3.1.0.5-1.el6.noarch</div><div>
ovirt-iso-uploader-3.1.0-16.el6.noarch</div><div>ovirt-engine-jbossas711-1-0.x86_64</div><div>ovirt-engine-webadmin-portal-3.1.0-3.19.el6.noarch</div><div>ovirt-engine-dbscripts-3.1.0-3.19.el6.noarch</div><div>ovirt-engine-genericapi-3.1.0-3.19.el6.noarch</div>
<div>ovirt-engine-tools-common-3.1.0-3.19.el6.noarch</div><div>ovirt-engine-3.1.0-3.19.el6.noarch</div><div><br></div><div><span style="color:rgb(102,51,102);font-family:verdana,sans-serif"><br></span></div><div><span style="color:rgb(102,51,102);font-family:verdana,sans-serif">The rest of this message is the accompanying stack trace that shows up in engine.log. Looks to my lay eye like an expected database column is missing or something. Any ideas?</span></div>
<div><span style="color:rgb(102,51,102);font-family:verdana,sans-serif"><br></span></div><div><span style="color:rgb(102,51,102)"><div><font face="courier new, monospace">2012-11-14 15:34:17,332 ERROR [org.ovirt.engine.core.bll.SetupNetworksCommand] (ajp--0.0.0.0-8009-10) [78b1227b] Error during CanDoActionFailure.: javax.validation.ValidationException: Call to TraversableResolver.isReachable() threw an exception</font></div>
<div><font face="courier new, monospace"> at org.hibernate.validator.engine.ValidatorImpl.isValidationRequired(ValidatorImpl.java:773) [hibernate-validator.jar:<a href="http://4.0.2.GA">4.0.2.GA</a>]</font></div><div>
<font face="courier new, monospace"> at org.hibernate.validator.engine.ValidatorImpl.validateConstraint(ValidatorImpl.java:331) [hibernate-validator.jar:<a href="http://4.0.2.GA">4.0.2.GA</a>]</font></div><div><font face="courier new, monospace"> at org.hibernate.validator.engine.ValidatorImpl.validateConstraintsForRedefinedDefaultGroup(ValidatorImpl.java:278) [hibernate-validator.jar:<a href="http://4.0.2.GA">4.0.2.GA</a>]</font></div>
<div><font face="courier new, monospace"> at org.hibernate.validator.engine.ValidatorImpl.validateConstraintsForCurrentGroup(ValidatorImpl.java:260) [hibernate-validator.jar:<a href="http://4.0.2.GA">4.0.2.GA</a>]</font></div>
<div><font face="courier new, monospace"> at org.hibernate.validator.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:213) [hibernate-validator.jar:<a href="http://4.0.2.GA">4.0.2.GA</a>]</font></div><div>
<font face="courier new, monospace"> at org.hibernate.validator.engine.ValidatorImpl.validateCascadedConstraint(ValidatorImpl.java:466) [hibernate-validator.jar:<a href="http://4.0.2.GA">4.0.2.GA</a>]</font></div>
<div>
<font face="courier new, monospace"> at org.hibernate.validator.engine.ValidatorImpl.validateCascadedConstraints(ValidatorImpl.java:372) [hibernate-validator.jar:<a href="http://4.0.2.GA">4.0.2.GA</a>]</font></div>
<div><font face="courier new, monospace"> at org.hibernate.validator.engine.ValidatorImpl.validateInContext(ValidatorImpl.java:219) [hibernate-validator.jar:<a href="http://4.0.2.GA">4.0.2.GA</a>]</font></div><div>
<font face="courier new, monospace"> at org.hibernate.validator.engine.ValidatorImpl.validate(ValidatorImpl.java:119) [hibernate-validator.jar:<a href="http://4.0.2.GA">4.0.2.GA</a>]</font></div><div><font face="courier new, monospace"> at org.ovirt.engine.core.common.utils.ValidationUtils.validateInputs(ValidationUtils.java:77) [engine-common.jar:]</font></div>
<div><font face="courier new, monospace"> at org.ovirt.engine.core.bll.CommandBase.validateInputs(CommandBase.java:518) [engine-bll.jar:]</font></div><div><font face="courier new, monospace"> at org.ovirt.engine.core.bll.CommandBase.InternalCanDoAction(CommandBase.java:486) [engine-bll.jar:]</font></div>
<div><font face="courier new, monospace"> at org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:261) [engine-bll.jar:]</font></div><div><font face="courier new, monospace"> at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:336) [engine-bll.jar:]</font></div>
<div><font face="courier new, monospace"> at org.ovirt.engine.core.bll.Backend.RunAction(Backend.java:294) [engine-bll.jar:]</font></div><div><font face="courier new, monospace"> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_09-icedtea]</font></div>
<div><font face="courier new, monospace"> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_09-icedtea]</font></div><div><font face="courier new, monospace"> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_09-icedtea]</font></div>
<div><font face="courier new, monospace"> at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_09-icedtea]</font></div><div><font face="courier new, monospace"> at org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]</font></div>
<div><font face="courier new, monospace"> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div><div><font face="courier new, monospace"> at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:374) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div>
<div><font face="courier new, monospace"> at org.ovirt.engine.core.utils.ThreadLocalSessionCleanerInterceptor.injectWebContextToThreadLocal(ThreadLocalSessionCleanerInterceptor.java:11) [engine-utils.jar:]</font></div>
<div><font face="courier new, monospace"> at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source) [:1.7.0_09-icedtea]</font></div><div><font face="courier new, monospace"> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_09-icedtea]</font></div>
<div><font face="courier new, monospace"> at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_09-icedtea]</font></div><div><font face="courier new, monospace"> at org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory$ManagedReferenceLifecycleMethodInterceptor.processInvocation(ManagedReferenceLifecycleMethodInterceptorFactory.java:123) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]</font></div>
<div><font face="courier new, monospace"> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div><div><font face="courier new, monospace"> at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div>
<div><font face="courier new, monospace"> 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]</font></div>
<div>
<font face="courier new, monospace"> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div><div><font face="courier new, monospace"> at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div>
<div><font face="courier new, monospace"> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div><div><font face="courier new, monospace"> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div>
<div><font face="courier new, monospace"> at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]</font></div>
<div><font face="courier new, monospace"> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div><div><font face="courier new, monospace"> at org.jboss.as.ejb3.component.singleton.SingletonComponentInstanceAssociationInterceptor.processInvocation(SingletonComponentInstanceAssociationInterceptor.java:53) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]</font></div>
<div><font face="courier new, monospace"> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div><div><font face="courier new, monospace"> at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInNoTx(CMTTxInterceptor.java:211) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]</font></div>
<div><font face="courier new, monospace"> at org.jboss.as.ejb3.tx.CMTTxInterceptor.supports(CMTTxInterceptor.java:363) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]</font></div><div><font face="courier new, monospace"> at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:194) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]</font></div>
<div><font face="courier new, monospace"> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div><div><font face="courier new, monospace"> at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]</font></div>
<div><font face="courier new, monospace"> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div><div><font face="courier new, monospace"> at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [jboss-as-ejb3-7.1.1.Final.jar:7.1.1.Final]</font></div>
<div><font face="courier new, monospace"> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div><div><font face="courier new, monospace"> at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]</font></div>
<div><font face="courier new, monospace"> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div><div><div><font face="courier new, monospace"> at org.jboss.as.ee.component.TCCLInterceptor.processInvocation(TCCLInterceptor.java:45) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]</font></div>
<div><font face="courier new, monospace"> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div><div><font face="courier new, monospace"> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div>
<div><font face="courier new, monospace"> at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:165) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]</font></div><div><font face="courier new, monospace"> at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:173) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]</font></div>
<div><font face="courier new, monospace"> at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div><div><font face="courier new, monospace"> at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final]</font></div>
<div><font face="courier new, monospace"> at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:72) [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]</font></div><div><font face="courier new, monospace"> at org.ovirt.engine.core.common.interfaces.BackendLocal$$$view8.RunAction(Unknown Source) [engine-common.jar:]</font></div>
<div><font face="courier new, monospace"> at org.ovirt.engine.ui.frontend.server.gwt.GenericApiGWTServiceImpl.RunAction(GenericApiGWTServiceImpl.java:120)</font></div><div><font face="courier new, monospace"> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_09-icedtea]</font></div>
<div><font face="courier new, monospace"> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_09-icedtea]</font></div><div><font face="courier new, monospace"> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_09-icedtea]</font></div>
<div><font face="courier new, monospace"> at java.lang.reflect.Method.invoke(Method.java:601) [rt.jar:1.7.0_09-icedtea]</font></div><div><font face="courier new, monospace"> at com.google.gwt.rpc.server.RPC.invokeAndStreamResponse(RPC.java:196)</font></div>
<div><font face="courier new, monospace"> at com.google.gwt.rpc.server.RpcServlet.processCall(RpcServlet.java:161)</font></div><div><font face="courier new, monospace"> at com.google.gwt.rpc.server.RpcServlet.processPost(RpcServlet.java:222)</font></div>
<div><font face="courier new, monospace"> at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)</font></div><div><font face="courier new, monospace"> at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]</font></div>
<div><font face="courier new, monospace"> at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]</font></div><div><font face="courier new, monospace"> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)</font></div>
<div><font face="courier new, monospace"> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)</font></div><div><font face="courier new, monospace"> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)</font></div>
<div><font face="courier new, monospace"> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)</font></div><div><font face="courier new, monospace"> at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)</font></div>
<div><font face="courier new, monospace"> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)</font></div><div><font face="courier new, monospace"> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)</font></div>
<div><font face="courier new, monospace"> at org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:466)</font></div><div><font face="courier new, monospace"> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)</font></div>
<div><font face="courier new, monospace"> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)</font></div><div><font face="courier new, monospace"> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:505)</font></div>
<div><font face="courier new, monospace"> at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:445)</font></div><div><font face="courier new, monospace"> at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)</font></div>
<div><font face="courier new, monospace"> at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_09-icedtea]</font></div><div><font face="courier new, monospace">Caused by: javax.persistence.PersistenceException: Unable to find field or method: class org.ovirt.engine.core.common.businessentities.VdsNetworkInterface#interfaces</font></div>
<div><font face="courier new, monospace"> at org.hibernate.ejb.util.PersistenceUtilHelper$MetadataCache.findMember(PersistenceUtilHelper.java:201)</font></div><div><font face="courier new, monospace"> at org.hibernate.ejb.util.PersistenceUtilHelper$MetadataCache.getMember(PersistenceUtilHelper.java:176)</font></div>
<div><font face="courier new, monospace"> at org.hibernate.ejb.util.PersistenceUtilHelper.get(PersistenceUtilHelper.java:89)</font></div><div><font face="courier new, monospace"> at org.hibernate.ejb.util.PersistenceUtilHelper.isLoadedWithReference(PersistenceUtilHelper.java:81)</font></div>
<div><font face="courier new, monospace"> at org.hibernate.ejb.HibernatePersistence$1.isLoadedWithReference(HibernatePersistence.java:93)</font></div><div><font face="courier new, monospace"> at javax.persistence.Persistence$1.isLoaded(Persistence.java:98) [hibernate-jpa-2.0-api-1.0.1.Final.jar:1.0.1.Final]</font></div>
<div><font face="courier new, monospace"> at org.hibernate.validator.engine.resolver.JPATraversableResolver.isReachable(JPATraversableResolver.java:33) [hibernate-validator.jar:<a href="http://4.0.2.GA">4.0.2.GA</a>]</font></div>
<div><font face="courier new, monospace"> at org.hibernate.validator.engine.resolver.DefaultTraversableResolver.isReachable(DefaultTraversableResolver.java:112) [hibernate-validator.jar:<a href="http://4.0.2.GA">4.0.2.GA</a>]</font></div>
<div><font face="courier new, monospace"> at org.hibernate.validator.engine.resolver.SingleThreadCachedTraversableResolver.isReachable(SingleThreadCachedTraversableResolver.java:47) [hibernate-validator.jar:<a href="http://4.0.2.GA">4.0.2.GA</a>]</font></div>
<div><font face="courier new, monospace"> at org.hibernate.validator.engine.ValidatorImpl.isValidationRequired(ValidatorImpl.java:764) [hibernate-validator.jar:<a href="http://4.0.2.GA">4.0.2.GA</a>]</font></div><div>
<font face="courier new, monospace"> ... 81 more</font></div></div><div style="font-family:verdana,sans-serif"><br></div></span></div>