diff --git a/neutron/privileged/agent/linux/ip_lib.py b/neutron/privileged/agent/linux/ip_lib.py index 2091aeb268a..c89c18629c1 100644 --- a/neutron/privileged/agent/linux/ip_lib.py +++ b/neutron/privileged/agent/linux/ip_lib.py @@ -570,7 +570,7 @@ def create_netns(name, **kwargs): pid = os.fork() if pid == 0: try: - netns.create(name, libc=_get_cdll()) + netns._create(name, libc=_get_cdll()) except OSError as e: if e.errno != errno.EEXIST: os._exit(1)