[ https://issues.apache.org/jira/browse/CLOUDSTACK-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
angeline shen updated CLOUDSTACK-1203: -------------------------------------- Attachment: management-server.log.gz > Fail to create advance zone with SG enabled when UI allows SG enabled > option > ------------------------------------------------------------------------------- > > Key: CLOUDSTACK-1203 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1203 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.1.0 > Environment: MS rhel 6.3 build > CloudStack-non-OSS-4-rhel6.3.tar.gz > host kvm CloudStack-non-OSS-4-rhel6.3.tar.gz > Reporter: angeline shen > Fix For: 4.1.0 > > Attachments: management-server.log.gz, Screenshot-The page-1.png > > > MS rhel 6.3 build CloudStack-non-OSS-4-rhel6.3.tar.gz > host kvm CloudStack-non-OSS-4-rhel6.3.tar.gz > 1. create advance zone SG enabled > MS stuck at Creating guest network, emit error dialog: > failed to create a guest network for basic zone. Error: Only Account > specific isolated network with sourceNAT service disabled are allowed in > security group enabled zone > MS log: > 2013-02-07 18:20:06,464 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] > (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage > UPintenance mode > 2013-02-07 18:20:10,115 ERROR > [network.router.VirtualNetworkApplianceManagerImpl] > (RouterStatusMonitor-1:null) Fail to complete the CheckRouterTask! > com.cloud.utils.exception.CloudRuntimeException: DB Exception on: > com.mysql.jdbc.JDBC4PreparedStatement@73918082: SELECT vm_instance.id, > vm_instance.name, vm_instance.vnc_password, vm_instance.proxy_id, vm_instance > .proxy_assign_time, vm_instance.state, vm_instance.private_ip_address, > vm_instance.instance_name, vm_instance.vm_template_id, > vm_instance.guest_os_id, vm_instance.host_id, vm_instance.last_host_id, > vm_instance.pod_ > id, vm_instance.private_mac_address, vm_instance.data_center_id, > vm_instance.vm_type, vm_instance.ha_enabled, vm_instance.limit_cpu_use, > vm_instance.update_count, vm_instance.created, vm_instance.removed, vm_instan > ce.update_time, vm_instance.domain_id, vm_instance.account_id, > vm_instance.service_offering_id, vm_instance.reservation_id, > vm_instance.hypervisor_type, vm_instance.uuid, vm_instance.disk_offering_id, > domain_router > .element_id, domain_router.public_ip_address, > domain_router.public_mac_address, domain_router.public_netmask, > domain_router.is_redundant_router, domain_router.priority, > domain_router.is_priority_bumpup, domain_rout > er.redundant_state, domain_router.stop_pending, domain_router.role, > domain_router.template_version, domain_router.scripts_version, > domain_router.vpc_id FROM domain_router INNER JOIN vm_instance ON > domain_router.id= > vm_instance.id INNER JOIN router_network_ref ON > domain_router.id=router_network_ref.router_id WHERE > vm_instance.type='DomainRouter' AND vm_instance.removed IS NULL AND > (router_network_ref.guest_type = 'Isolated > ' ) > at > com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:412) > at > com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:347) > at > com.cloud.utils.db.GenericDaoBase.listIncludingRemovedBy(GenericDaoBase.java:899) > at com.cloud.utils.db.GenericDaoBase.listBy(GenericDaoBase.java:876) > at com.cloud.utils.db.GenericDaoBase.listBy(GenericDaoBase.java:889) > at > com.cloud.vm.dao.DomainRouterDaoImpl.listIsolatedByHostId(DomainRouterDaoImpl.java:213) > at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) > at > org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > at > org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80) > at > com.cloud.utils.db.TransactionContextBuilder.AroundAnyMethod(TransactionContextBuilder.java:37) > at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:616) > at > org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621) > at > org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610) > at > org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > at > org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:90) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > at > org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:622) > at > com.cloud.network.router.VirtualNetworkApplianceManagerImpl$CheckRouterTask.run(VirtualNetworkApplianceManagerImpl.java:1295) > at > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) > at > java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) > at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) > at java.lang.Thread.run(Thread.java:679) > Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown > column 'vm_instance.disk_offering_id' in 'field list' > at sun.reflect.GeneratedConstructorAccessor59.newInstance(Unknown > Source) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:532) > at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) > at com.mysql.jdbc.Util.getInstance(Util.java:386) > at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1053) > at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4074) > at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4006) > at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2468) > at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2629) > at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2719) > at > com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:2155) > at > com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:2318) > at > org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) > at > org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) > at > com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:406) > ... 31 more > 2013-02-07 18:20:10,187 ERROR > [network.router.VirtualNetworkApplianceManagerImpl] > (RouterStatusMonitor-1:null) Fail to complete the CheckRouterTask! > com.cloud.utils.exception.CloudRuntimeException: DB Exception on: > com.mysql.jdbc.JDBC4PreparedStatement@11345fac: SELECT vm_instance.id, > vm_instance.name, vm_instance.vnc_password, vm_instance.proxy_id, vm_instance > .proxy_assign_time, vm_instance.state, vm_instance.private_ip_address, > vm_instance.instance_name, vm_instance.vm_template_id, > vm_instance.guest_os_id, vm_instance.host_id, vm_instance.last_host_id, > vm_instance.pod_ -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira