Deleting network namespaces sometimes fails in check/gate queue with ENOENT
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
High
|
Brian Haley |
Bug Description
I have seen the fullstack tests sometimes fail, complaining that the namespace doesn't exist. An example is here:
End of stack trace for reference:
File "/opt/stack/
ip_
File "/opt/stack/
privileged.
File "/opt/stack/
return self.channel.
File "/opt/stack/
raise exc_type(
FileNotFoundError: [Errno 2] No such file or directory
While some callers check for RuntimeError, none check for this OSError errno.ENOENT case.
In this case, I don't believe we should be returning an error at all, since an asynchronous event could have deleted the namespace, and since it's no longer there we are in the desired state.
This will help with some of the recent issues we've had getting code merged.
tags: | added: gate-failure |
Fix proposed to branch: master /review. openstack. org/607009
Review: https:/