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 C030A18A5D for ; Sat, 16 Jan 2016 18:55:44 +0000 (UTC) Received: (qmail 47802 invoked by uid 500); 16 Jan 2016 18:55:41 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 47549 invoked by uid 500); 16 Jan 2016 18:55:41 -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 47082 invoked by uid 500); 16 Jan 2016 18:55:41 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 46978 invoked by uid 99); 16 Jan 2016 18:55:41 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 16 Jan 2016 18:55:41 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DFD722C1F93 for ; Sat, 16 Jan 2016 18:55:40 +0000 (UTC) Date: Sat, 16 Jan 2016 18:55:40 +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-9204) Delete static route fails when it's already gone 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-9204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15103370#comment-15103370 ] ASF subversion and git services commented on CLOUDSTACK-9204: ------------------------------------------------------------- Commit 75b68c68298dab270782be68f8f9f28e551fc5d0 in cloudstack's branch refs/heads/master from [~remibergsma] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=75b68c6 ] Merge release branch 4.7 to master * 4.7: Fix unable to setup more than one Site2Site VPN Connection FIX S2S VPN rVPC: Check only redundant routers in state MASTER PEP8 of integration/smoke/test_vpc_vpn Add S2S VPN test for Redundant VPC Make integration/smoke/test_vpc_vpn Hypervisor independant FIX VPN: non-working ipsec commands [UI] MADNESS [DB] Add force_encap field to s2s_customer_gateway table [ROUTER] Add forceencaps field to python router ipsec config method [TEST] unittest needs rework [MARVIN] Add forceencap field to VpnCustomerGateway class in marvin base [CORE] Add Force UDP Encapsulation option to Site2Site VPN CLOUDSTACK-9186: Root admin cannot see VPC created by Domain admin user CLOUDSTACK-9192: UpdateVpnCustomerGateway is failing CLOUDSTACK-6485 prevent ip asignment of private gw iface CLOUDSTACK-9204 Do not error when staticroute is already gone make both check lines consistent CLOUDSTACK-9181 Prevent syntax error in checkrouter.sh CLOUDSTACK-9202 Bump ssh timeout > Delete static route fails when it's already gone > ------------------------------------------------ > > Key: CLOUDSTACK-9204 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9204 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: SystemVM > Affects Versions: 4.7.0 > Reporter: Remi Bergsma > Assignee: Remi Bergsma > Priority: Critical > Fix For: 4.7.1 > > > When you try to delete a static route, this fails when it's no longer there on the router (not sure why that happens). > Error seen: > [INFO] update_config.py :: Processing incoming file => static_routes.json.1451560145 > [INFO] Processing JSON file static_routes.json.1451560145 > Traceback (most recent call last): > File "/opt/cloud/bin/update_config.py", line 140, in > process_file() > File "/opt/cloud/bin/update_config.py", line 52, in process_file > qf.load(None) > File "/opt/cloud/bin/merge.py", line 258, in load > proc = updateDataBag(self) > File "/opt/cloud/bin/merge.py", line 91, in __init__ > self.process() > File "/opt/cloud/bin/merge.py", line 131, in process > dbag = self.process_staticroutes(self.db.getDataBag()) > File "/opt/cloud/bin/merge.py", line 179, in process_staticroutes > return cs_staticroutes.merge(dbag, self.qFile.data) > File "/opt/cloud/bin/cs_staticroutes.py", line 26, in merge > del dbag[key] > KeyError: u'192.168.0.3' > When deleting fails because it isn't there any more, it should succeed ;-) -- This message was sent by Atlassian JIRA (v6.3.4#6332)