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 C876418773 for ; Sat, 24 Oct 2015 07:17:28 +0000 (UTC) Received: (qmail 96317 invoked by uid 500); 24 Oct 2015 07:17:28 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 96221 invoked by uid 500); 24 Oct 2015 07:17: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 95641 invoked by uid 500); 24 Oct 2015 07:17:28 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 95628 invoked by uid 99); 24 Oct 2015 07:17:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Oct 2015 07:17:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E619C2C1F6D for ; Sat, 24 Oct 2015 07:17:27 +0000 (UTC) Date: Sat, 24 Oct 2015 07:17:27 +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-8935) Cannot remove [r]VPC networks due to RTNETLINK error 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-8935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14972458#comment-14972458 ] ASF subversion and git services commented on CLOUDSTACK-8935: ------------------------------------------------------------- Commit b1c7d4b20de9e6c2f38b5c5e9be761707f1c56c1 in cloudstack's branch refs/heads/master from [~remibergsma] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=b1c7d4b ] Merge pull request #967 from ekholabs/fix/cleanup-CLOUDSTACK-8935 CLOUDSTACK-8935 - Cannot remove [r]VPC networks due to RTNETLINK errorThis PR fixes the "sequence item 0: expected string, NoneType found" error found in the CsDhcp.py file when attempting to remo a network from a VPC. * pr/967: CLOUDSTACK-8935 - Filter the DNS list because it might contain 1 None entry which breaks the code. CLOUDSTACK-8935 - Clean up network resources in the right order CLOUDSTACK-8935 - Do not retry 60 times when we expect the SSH to fail CLOUDSTACK-8935 - Check if the key is available in the dictionary CLOUDSTACK-8935 - Add a check to avoid exception related to None value Signed-off-by: Remi Bergsma > Cannot remove [r]VPC networks due to RTNETLINK error > ---------------------------------------------------- > > Key: CLOUDSTACK-8935 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8935 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Virtual Router > Affects Versions: 4.6.0 > Reporter: Wilder Rodrigues > Assignee: Wilder Rodrigues > Priority: Critical > > Sometimes, when trying to remove a network of a rVPC, I get the following error in the router logs: > 2015-10-06 08:28:59,929 DEBUG [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null) RTNETLINK answers: File existsRTNETLINK answers: File exists[WARN] update_config.py :: Reconfiguring guest netwo > rk...[INFO] update_config.py :: Processing Guest Network.[INFO] Processing JSON file guest_network.jsonTraceback (most recent call last): File "/opt/cloud/bin/update_config.py", line 131, in process_ > file() File "/opt/cloud/bin/update_config.py", line 54, in process_file finish_config() File "/opt/cloud/bin/update_config.py", line 44, in finish_config returncode = configure.main([]) File "/opt/cloud/ > bin/configure.py", line 888, in main dhcp.process() File "/opt/cloud/bin/cs/CsDhcp.py", line 47, in process self.configure_server() File "/opt/cloud/bin/cs/CsDhcp.py", line 71, in configure_server line > = "dhcp-option=tag:interface-%s,6,%s" % (device, ','.join(gn.get_dns()))TypeError: sequence item 0: expected string, NoneType found > A way to work this around is: > 1. Stop and destroy the router(s) > 2. Remove the network -- This message was sent by Atlassian JIRA (v6.3.4#6332)