Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C1FC210661 for ; Thu, 2 Jan 2014 09:43:49 +0000 (UTC) Received: (qmail 14485 invoked by uid 500); 2 Jan 2014 09:41:43 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 14382 invoked by uid 500); 2 Jan 2014 09:41:28 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 14238 invoked by uid 500); 2 Jan 2014 09:41:07 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 14167 invoked by uid 99); 2 Jan 2014 09:40:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Jan 2014 09:40:58 +0000 Date: Thu, 2 Jan 2014 09:40:57 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-5656) UI shows PF,LB,firewall,static NAT rule operations success on non upgraded VR but logs show VR requires upgrade. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-5656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13860100#comment-13860100 ] ASF subversion and git services commented on CLOUDSTACK-5656: ------------------------------------------------------------- Commit b763e49873474f5768b674825f48368048778995 in branch refs/heads/4.3 from [~kishan] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b763e49 ] CLOUDSTACK-5656: Rules will remain in Revoked state when router upgrade is required. Filtered revoked rules while listing. Show genreric error since router is not visible to enduser. > 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: API > Affects Versions: 4.3.0 > Environment: 2.2.14 to 4.3 upgrade > Reporter: manasaveloori > Assignee: Kishan Kavala > 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)