[ https://issues.apache.org/jira/browse/CLOUDSTACK-6582?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jayapal Reddy updated CLOUDSTACK-6582: -------------------------------------- Attachment: 0001-fixed-network-acl-cidr-issues.patch Attached patch for fixing few issues. Still there are other issues while creating vpc private gateway > Listing acl list rules are failed with exception Unknown column > 'network_acl_item.cidr' > ---------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-6582 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6582 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Affects Versions: 4.4.0 > Reporter: Jayapal Reddy > Priority: Blocker > Fix For: 4.4.0 > > Attachments: 0001-fixed-network-acl-cidr-issues.patch > > > Network - VPCvpcRouter - Network ACL lists - default_deny - ACL list rules. > network_acl_item table column cidr is removed but the vo is still having > @column cidr. > Throwing execption. > Unknown column 'network_acl_item.cidr' in 'field list' > 2014-05-06 15:22:59,925 DEBUG [c.c.a.ApiServlet] > (551507083@qtp-1237602550-5:ctx-9a66c916) ===START=== 10.252.193.34 -- GET > command=listNetworkACLs&aclid=446eb070-8018-439f-908c-de592addca85&response=json&sessionkey=IBBex9JHyzfVQSAoBzzDnpF26WI%3D&_=1399369979895 > 2014-05-06 15:22:59,944 DEBUG [c.c.u.AccountManagerImpl] > (551507083@qtp-1237602550-5:ctx-9a66c916 ctx-25f7dff3) Root Access granted to > Acct[6892921a-d421-11e3-a9a4-eeecd5657c3c-admin] by > RoleBasedEntityAccessChecker > 2014-05-06 15:22:59,957 ERROR [c.c.a.ApiServer] > (551507083@qtp-1237602550-5:ctx-9a66c916 ctx-25f7dff3) unhandled exception > executing api command: [Ljava.lang.String;@5d851b3 > com.cloud.utils.exception.CloudRuntimeException: DB Exception on: > com.mysql.jdbc.JDBC4PreparedStatement@3e9286ed: SELECT network_acl_item.id, > network_acl_item.start_port, network_acl_item.end_port, > network_acl_item.protocol, network_acl_item.state, network_acl_item.created, > network_acl_item.acl_id, network_acl_item.icmp_code, > network_acl_item.icmp_type, network_acl_item.traffic_type, > network_acl_item.cidr, network_acl_item.uuid, network_acl_item.number, > network_acl_item.action, network_acl_item.display FROM network_acl_item WHERE > network_acl_item.acl_id = 3 AND network_acl_item.display = 1 ORDER BY > network_acl_item.id DESC LIMIT 0, 10000 > at > com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:425) > at > com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:361) > at com.cloud.utils.db.GenericDaoBase.search(GenericDaoBase.java:345) > at > com.cloud.utils.db.GenericDaoBase.searchAndCount(GenericDaoBase.java:1296) > at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > at > com.cloud.utils.db.TransactionContextInterceptor.invoke(TransactionContextInterceptor.java:34) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) > at > org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > at > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) > at com.sun.proxy.$Proxy187.searchAndCount(Unknown Source) > at > com.cloud.network.vpc.NetworkACLServiceImpl.listNetworkACLItems(NetworkACLServiceImpl.java:609) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) > at > org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91) > at > org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) > at > org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) > at com.sun.proxy.$Proxy258.listNetworkACLItems(Unknown Source) > at > org.apache.cloudstack.api.command.user.network.ListNetworkACLsCmd.execute(ListNetworkACLsCmd.java:115) > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:119) > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:591) > at com.cloud.api.ApiServer.handleRequest(ApiServer.java:414) > at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:330) > at com.cloud.api.ApiServlet.access$000(ApiServlet.java:54) > at com.cloud.api.ApiServlet$1.run(ApiServlet.java:118) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103) > at > org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53) > at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:115) > at com.cloud.api.ApiServlet.doGet(ApiServlet.java:77) > 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:450) > at > org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230) > at > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) > 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(HttpConnection.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(QueuedThreadPool.java:582) > Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown > column 'network_acl_item.cidr' in 'field list' > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) > at java.lang.reflect.Constructor.newInstance(Constructor.java:526) > 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:419) > ... 58 more > 2014-05-06 15:22:59,980 DEBUG [c.c.u.AccountManagerImpl] > (551507083@qtp-1237602550-5:ctx-9a66c916 ctx-25f7dff3) Root Access granted to > Acct[6892921a-d421-11e3-a9a4-eeecd5657c3c-admin] by > RoleBasedEntityAccessChecker -- This message was sent by Atlassian JIRA (v6.2#6252)