cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CLOUDSTACK-8935) Cannot remove VPC networks due to RTNETLINK error
Date Thu, 22 Oct 2015 17:12:27 GMT


ASF GitHub Bot commented on CLOUDSTACK-8935:

GitHub user wilderrodrigues opened a pull request:

    CLOUDSTACK-8935 - Cannot remove VPC networks due to RTNETLINK error

    This PR fixes the "sequence item 0: expected string, NoneType found" error found in the file when attempting to remo a network from a VPC.

You can merge this pull request into a Git repository by running:

    $ git pull fix/cleanup-CLOUDSTACK-8935

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #967
commit 3725b3ee30c075bedaaf62cde9ed3d5fc5a5bc92
Author: Wilder Rodrigues <>
Date:   2015-10-22T11:03:06Z

    CLOUDSTACK-8935 - Add a check to avoid exception related to None value

commit 5ca32dfc8205a2847a274597c2e8fde36a85f624
Author: Wilder Rodrigues <>
Date:   2015-10-22T12:52:07Z

    CLOUDSTACK-8935 - Check if the key is available in the dictionary
       - This will fix the cleanup problems.


> Cannot remove VPC networks due to RTNETLINK error
> -------------------------------------------------
>                 Key: CLOUDSTACK-8935
>                 URL:
>             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] :: Reconfiguring
guest netwo
> rk...[INFO] :: Processing Guest Network.[INFO] Processing JSON file
guest_network.jsonTraceback (most recent call last):  File "/opt/cloud/bin/",
line 131, in <module>    process_
> file()  File "/opt/cloud/bin/", line 54, in process_file    finish_config()
 File "/opt/cloud/bin/", line 44, in finish_config    returncode = configure.main([])
 File "/opt/cloud/
> bin/", line 888, in main    dhcp.process()  File "/opt/cloud/bin/cs/",
line 47, in process    self.configure_server()  File "/opt/cloud/bin/cs/", 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

View raw message