[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13620213#comment-13620213
 ] 

Chip Childers commented on CLOUDSTACK-280:
------------------------------------------

Chandan - Does this bug still occur?  If not, can you please resolve it?
                
> Exception thrown on going to Step 5 of Add VM Instance - 
> CloudRuntimeException: Tags are not defined for physical network in the zone 
> id=1
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-280
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-280
>             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
>            Reporter: Chandan Purushothama
>            Assignee: Chandan Purushothama
>             Fix For: 4.1.0
>
>         Attachments: UIBug58.PNG
>
>
> ================
> Steps to Reproduce:
> ================
> 1. Deploy an Advanced Zone Setup with Two Physical Networks. One Physical 
> Network has guest,management,public,storage traffic while the other physical 
> network has guest traffic only. The Setup has one ESXi 5.0 Cluster.
> 2. I created a tag to the Guest Network of Physical Network 1 but did not 
> give a tag to the Guest Network of Physical Network 2.
> 3. Created a Network Offering with guest1 tag.
> 4. On attempting to create a guest network using Network Offering with guest1 
> tag and deploy a VM, an error message is thrown to the User. The 
> corresponding Screenshot has been attached to the bug report.
> http://10.223.131.202:8080/client/api?command=listNetworkOfferings&response=json&sessionkey=eTsL17aGxjvHtARSfuqsE4suKQU%3D&forvpc=false&zoneid=5ebc2a92-d1fe-4b29-bebc-3907baf7085c&guestiptype=Isolated&supportedServices=SourceNat&specifyvlan=false&state=Enabled&_=1349593023082
> { "listnetworkofferingsresponse" : 
> {"uuidList":[],"errorcode":530,"errortext":"Internal error executing command, 
> please contact your system administrator"} }
> ===========
> Observations:
> ===========
> mysql> select * from physical_network;
> +-----+--------------------------------------+--------------------+----------------+-----------+-------+-----------+------------------------+---------+---------------------+---------+
> | id  | uuid                                 | name               | 
> data_center_id | vnet      | speed | domain_id | broadcast_domain_range | 
> state   | created             | removed |
> +-----+--------------------------------------+--------------------+----------------+-----------+-------+-----------+------------------------+---------+---------------------+---------+
> | 200 | 62caf2e9-e47b-4ef8-861c-70ec97ac805c | Physical Network 1 |           
>    1 | 2540-2550 | NULL  |      NULL | ZONE                   | Enabled | 
> 2012-10-07 04:19:50 | NULL    |
> | 201 | f2b5d29d-b5fe-4bac-a9b4-8cb212555d30 | Physical Network 2 |           
>    1 | 2551-2560 | NULL  |      NULL | ZONE                   | Enabled | 
> 2012-10-07 04:19:50 | NULL    |
> +-----+--------------------------------------+--------------------+----------------+-----------+-------+-----------+------------------------+---------+---------------------+---------+
> 2 rows in set (0.00 sec)
> mysql> select * from physical_network_tags;
> +----+---------------------+--------+
> | id | physical_network_id | tag    |
> +----+---------------------+--------+
> |  1 |                 200 | guest1 |
> +----+---------------------+--------+
> 1 row in set (0.00 sec)
> ===================
> CloudRuntimeException:
> ===================
> 2012-10-06 23:57:37,082 DEBUG [cloud.user.AccountManagerImpl] 
> (catalina-exec-5:null) Access granted to Acct[3-mnf] to Domain:1/ by 
> DomainChecker
> 2012-10-06 23:57:37,084 DEBUG [cloud.user.AccountManagerImpl] 
> (catalina-exec-5:null) Access to Acct[3-mnf] granted to Acct[3-mnf] by 
> DomainChecker
> 2012-10-06 23:57:37,211 ERROR [cloud.api.ApiDispatcher] 
> (catalina-exec-9:null) Exception while executing ListNetworkOfferingsCmd:
> com.cloud.utils.exception.CloudRuntimeException: Tags are not defined for 
> physical network in the zone id=1
>         at 
> com.cloud.configuration.ConfigurationManagerImpl.searchForNetworkOfferings(ConfigurationManagerImpl.java:3442)
>         at 
> com.cloud.api.commands.ListNetworkOfferingsCmd.execute(ListNetworkOfferingsCmd.java:179)
>         at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
>         at com.cloud.api.ApiServer.queueCommand(ApiServer.java:543)
>         at com.cloud.api.ApiServer.handleRequest(ApiServer.java:422)
>         at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:304)
>         at com.cloud.api.ApiServlet.doGet(ApiServlet.java:63)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
>         at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
>         at 
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
>         at 
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
>         at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
>         at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
>         at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
>         at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
>         at 
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
>         at 
> org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
>         at 
> org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
>         at 
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268)
>         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)
> 2012-10-06 23:57:39,402 DEBUG [storage.secondary.SecondaryStorageManagerImpl] 
> (secstorage-1:null) Zone 1 is ready to launch secondary storage VM
> 2012-10-06 23:57:39,503 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] 
> (consoleproxy-1:null) Zone 1 is ready to launch console proxy
> =========
> Git Info:
> =========
> Git Revision: c69ad1784328cfed1a2ecb64780b8efcb6a2e68e
> Git URL: https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git

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

Reply via email to