You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "manasaveloori (JIRA)" <ji...@apache.org> on 2013/12/27 10:42:50 UTC

[jira] [Updated] (CLOUDSTACK-5656) UI shows PF,LB,firewall,static NAT rule operations success on non upgraded VR but logs show VR requires upgrade.

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

manasaveloori updated CLOUDSTACK-5656:
--------------------------------------

    Description: 
1. Have CS 2.2.14 with xen 5.6sp2.
2.Deploy some VRS.
3. Upgrade to 4.3.
4. Perform any operation which sends commands to non upgraded VR like applying static nat,firewall rules,PF etc.
Observation:

UI shows all the operations as success but in logs we can see the messages as 

2013-12-27 15:04:31,326 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-c0ac9a16 ctx-ed5f06a6) ===END===  10.252.192.34 -- GET  command=createFirewallRule&response=json&sessionkey=DE4U5L%2FWnxa60eF2LoJPuY6FVHw%3D&cidrlist=0.0.0.0%2F0&protocol=tcp&startport=1&endport=65535&ipaddressid=4&_=1388136871014
2013-12-27 15:04:31,354 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-18:ctx-0bb79ed5 ctx-ed5f06a6) Applying ip association in network Ntwk[205|Guest|6]
2013-12-27 15:04:31,354 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-18:ctx-0bb79ed5 ctx-ed5f06a6) Router r-6-VM requires upgrade, so not sending apply ip association commands to the backend
2013-12-27 15:04:31,362 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-18:ctx-0bb79ed5 ctx-ed5f06a6) Applying firewall rules in network Ntwk[205|Guest|6]
2013-12-27 15:04:31,363 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-18:ctx-0bb79ed5 ctx-ed5f06a6) Router r-6-VM requires upgrade, so not sending apply firewall rules commands to the backend
2013-12-27 15:04:31,430 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-18:ctx-0bb79ed5 ctx-ed5f06a6) Complete async job-24, jobStatus: SUCCEEDED, resultCode: 0, result: org.apache.cloudstack.api.response.FirewallResponse/firewallrule/{"id":"b772c804-09cc-4eaa-96a3-61adcf1cb242","protocol":"tcp","startport":"1","endport":"65535","ipaddressid":"4","networkid":"205","ipaddress":"10.147.47.6","state":"Active","cidrlist":"","tags":[]}
2013-12-27 15:04:31,483 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-18:ctx-0bb79ed5) Done executing org.apache.cloudstack.api.command.user.firewall.CreateFirewallRuleCmd for job-24


UI shoul aslo show the message as " Router requires upgrade" and the action should fail.




  was:
1. Have CS 2.2.14 with xen 5.6sp2.
2.Deploy some VRS.
3. Upgrade to 4.3.
4. Perform any operation which sends commands to non upgraded VR like applying static nat,firewall rules,PF etc.
Observation:

UI success all the operations as success but in logs we can see the messages as 

2013-12-27 15:04:31,326 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-c0ac9a16 ctx-ed5f06a6) ===END===  10.252.192.34 -- GET  command=createFirewallRule&response=json&sessionkey=DE4U5L%2FWnxa60eF2LoJPuY6FVHw%3D&cidrlist=0.0.0.0%2F0&protocol=tcp&startport=1&endport=65535&ipaddressid=4&_=1388136871014
2013-12-27 15:04:31,354 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-18:ctx-0bb79ed5 ctx-ed5f06a6) Applying ip association in network Ntwk[205|Guest|6]
2013-12-27 15:04:31,354 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-18:ctx-0bb79ed5 ctx-ed5f06a6) Router r-6-VM requires upgrade, so not sending apply ip association commands to the backend
2013-12-27 15:04:31,362 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-18:ctx-0bb79ed5 ctx-ed5f06a6) Applying firewall rules in network Ntwk[205|Guest|6]
2013-12-27 15:04:31,363 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-18:ctx-0bb79ed5 ctx-ed5f06a6) Router r-6-VM requires upgrade, so not sending apply firewall rules commands to the backend
2013-12-27 15:04:31,430 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-18:ctx-0bb79ed5 ctx-ed5f06a6) Complete async job-24, jobStatus: SUCCEEDED, resultCode: 0, result: org.apache.cloudstack.api.response.FirewallResponse/firewallrule/{"id":"b772c804-09cc-4eaa-96a3-61adcf1cb242","protocol":"tcp","startport":"1","endport":"65535","ipaddressid":"4","networkid":"205","ipaddress":"10.147.47.6","state":"Active","cidrlist":"","tags":[]}
2013-12-27 15:04:31,483 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-18:ctx-0bb79ed5) Done executing org.apache.cloudstack.api.command.user.firewall.CreateFirewallRuleCmd for job-24


UI shoul aslo show the message as " Router requires upgrade" and the action should fail.





> UI shows PF,LB,firewall,static NAT rule operations success on non upgraded VR but logs show VR requires upgrade.
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5656
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5656
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: UI
>    Affects Versions: 4.3.0
>         Environment: 2.2.14 to 4.3 upgrade
>            Reporter: manasaveloori
>            Priority: Critical
>             Fix For: 4.3.0
>
>
> 1. Have CS 2.2.14 with xen 5.6sp2.
> 2.Deploy some VRS.
> 3. Upgrade to 4.3.
> 4. Perform any operation which sends commands to non upgraded VR like applying static nat,firewall rules,PF etc.
> Observation:
> UI shows all the operations as success but in logs we can see the messages as 
> 2013-12-27 15:04:31,326 DEBUG [c.c.a.ApiServlet] (catalina-exec-12:ctx-c0ac9a16 ctx-ed5f06a6) ===END===  10.252.192.34 -- GET  command=createFirewallRule&response=json&sessionkey=DE4U5L%2FWnxa60eF2LoJPuY6FVHw%3D&cidrlist=0.0.0.0%2F0&protocol=tcp&startport=1&endport=65535&ipaddressid=4&_=1388136871014
> 2013-12-27 15:04:31,354 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-18:ctx-0bb79ed5 ctx-ed5f06a6) Applying ip association in network Ntwk[205|Guest|6]
> 2013-12-27 15:04:31,354 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-18:ctx-0bb79ed5 ctx-ed5f06a6) Router r-6-VM requires upgrade, so not sending apply ip association commands to the backend
> 2013-12-27 15:04:31,362 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-18:ctx-0bb79ed5 ctx-ed5f06a6) Applying firewall rules in network Ntwk[205|Guest|6]
> 2013-12-27 15:04:31,363 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (Job-Executor-18:ctx-0bb79ed5 ctx-ed5f06a6) Router r-6-VM requires upgrade, so not sending apply firewall rules commands to the backend
> 2013-12-27 15:04:31,430 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-18:ctx-0bb79ed5 ctx-ed5f06a6) Complete async job-24, jobStatus: SUCCEEDED, resultCode: 0, result: org.apache.cloudstack.api.response.FirewallResponse/firewallrule/{"id":"b772c804-09cc-4eaa-96a3-61adcf1cb242","protocol":"tcp","startport":"1","endport":"65535","ipaddressid":"4","networkid":"205","ipaddress":"10.147.47.6","state":"Active","cidrlist":"","tags":[]}
> 2013-12-27 15:04:31,483 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-18:ctx-0bb79ed5) Done executing org.apache.cloudstack.api.command.user.firewall.CreateFirewallRuleCmd for job-24
> UI shoul aslo show the message as " Router requires upgrade" and the action should fail.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)