Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 901387 Details for
Bug 1090421
neutron-agent-watch fails when deleting failed resource
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for the error
neutron-agent-watch-remove_expected_pid_file.patch (text/plain), 878 bytes, created by
Miguel Angel Ajo
on 2014-06-02 09:14:31 UTC
(
hide
)
Description:
Patch for the error
Filename:
MIME Type:
Creator:
Miguel Angel Ajo
Created:
2014-06-02 09:14:31 UTC
Size:
878 bytes
patch
obsolete
>diff --git a/neutron-agent-watch b/neutron-agent-watch >index e2991e4..31ae61b 100755 >--- a/neutron-agent-watch >+++ b/neutron-agent-watch >@@ -382,10 +382,15 @@ class AgentWatcher(object): > 'missing_netns': missing_netns } > > def _remove_old_known_pidfiles(self, expected_pid_files): >- >+ """ remove from our dictionary any traces of know pidfiles >+ which aren't expected to be there anymore """ >+ pids_to_delete = [] > for known in self._known_pid_files: > if not known in expected_pid_files: >- self._remove_expected_pid_file(known) >+ pids_to_delete.append(known) >+ >+ for pid in pids_to_delete: >+ self._known_pid_files.pop(pid) > > def _does_netns_exist_for_resource(self, resource_uuid): > return self._get_ns_for_resource(resource_uuid) in self._netns_list
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1090421
:
901387
|
938753