[
https://issues.apache.org/jira/browse/CLOUDSTACK-8935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14972454#comment-14972454
]
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 <[email protected]>
> 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 <module> 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)