cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jessica Wang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CLOUDSTACK-1730) IPV6 - UI - Network Detail View does not include ip6gateway and ip6cidr parameters.
Date Sun, 21 Apr 2013 01:16:13 GMT

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-1730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jessica Wang resolved CLOUDSTACK-1730.
--------------------------------------

    Resolution: Incomplete

Sangeetha,

The database dump you provided is out-of-date:
======================================================
ERROR [cloud.api.ApiServlet] (10822621@qtp-18203156-3:) unknown exception writing api response
com.cloud.utils.exception.CloudRuntimeException: DB Exception on: com.mysql.jdbc.PreparedStatement@ddce55:
SELECT account.id, account.account_name, account.typ
, account.domain_id, account.state, account.removed, account.cleanup_needed, account.network_domain,
account.uuid, account.default_zone_id, account.default FRO
 account WHERE account.id = 2
        at com.cloud.utils.db.GenericDaoBase.findById(GenericDaoBase.java:979)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at com.cloud.utils.db.GenericDaoBase.findByIdIncludingRemoved(GenericDaoBase.java:939)
        at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
        at com.cloud.user.AccountManagerImpl.getAccount(AccountManagerImpl.java:1569)
        at com.cloud.api.ApiServer.loginUser(ApiServer.java:730)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:210)
        at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        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.content(HttpConnection.java:945)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
        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 'account.default'
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:525)
        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.findById(GenericDaoBase.java:976)
        ... 34 more

======================================================================

Please provide an up-to-date one.

thanks.

Jessica
                
> IPV6 - UI - Network Detail View does not include ip6gateway and ip6cidr parameters.
> -----------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-1730
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1730
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.2.0
>         Environment: Build from master
>            Reporter: Sangeetha Hariharan
>            Assignee: Jessica Wang
>            Priority: Critical
>             Fix For: 4.2.0
>
>         Attachments: ipv6db.dmp, jessica_01.PNG
>
>
> IPV6 - UI - Network Detail View does not include ip6gateway and ip6cidr parameters.
> Steps to reproduce the problem:
> Create a IPV6 shared network.
> From Network tab , list this network and launch the network detail page.
> This page includes Gateway and CIDR parameters . But these values are empty. Seems like
these are still referring to IPV4 parameters.
> We should display the ip6gateway and ip6cidr parameters that are returned by the listNetwork().
>  
> { "listnetworksresponse" : { "count":1 ,"network" : [  {"id":"b489914f-0457-4363-b7e0-dc6a7a70aedb","name":"ipv6-1390","displaytext":"test1370-dual","broadcastdomaintype":"Vlan","traffictype":"Guest","zoneid":"7e96ec13-342e-4519-9cf3-4c6bbf025851","zonename":"zone1","networkofferingid":"b1ab949b-0fe3-43d8-a6eb-f35be6bb919c","networkofferingname":"DefaultSharedNetworkOffering","networkofferingdisplaytext":"Offering
for Shared networks","networkofferingavailability":"Optional","issystem":false,"state":"Setup","related":"b489914f-0457-4363-b7e0-dc6a7a70aedb","broadcasturi":"vlan://1370","dns1":"72.52.126.11","dns2":"72.52.126.12","type":"Shared","vlan":"1370","acltype":"Domain","subdomainaccess":true,"domainid":"7b100008-90fc-11e2-b56e-1761a0fe1b8b","domain":"ROOT","service":[{"name":"Dhcp"},{"name":"Dns","capability":[{"name":"AllowDnsSuffixModification","value":"true","canchooseservicecapability":false}]},{"name":"UserData"}],"networkdomain":"hello1370","physicalnetworkid":"59aba5cc-b6ba-4a78-b1a9-1b88baf11f92","restartrequired":false,"specifyipranges":true,"canusefordeploy":true,"ispersistent":false,"tags":[],"ip6gateway":"fc00:3:1370::1","ip6cidr":"fc00:3:1370::1/64"}
] } }

--
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

Mime
View raw message