Modify ↓
Ticket #1118 (closed defect: fixed)
Filemonitor error when editing bcfg2.conf
Reported by: | solj | Owned by: | desai |
---|---|---|---|
Priority: | major | Milestone: | Bcfg2 1.3.0 Release |
Component: | bcfg2-client | Version: | 1.0 |
Keywords: | Cc: | [email protected]… |
Description
Getting this when I edit bcfg2.conf while using the inotify filemonitor.
Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib64/python2.7/threading.py", line 552, in __bootstrap_inner self.run() File "/usr/lib64/python2.7/site-packages/pyinotify.py", line 1547, in run self.loop() File "/usr/lib64/python2.7/site-packages/pyinotify.py", line 1533, in loop self.process_events() File "/usr/lib64/python2.7/site-packages/pyinotify.py", line 1331, in process_events self._default_proc_fun(revent) File "/usr/lib64/python2.7/site-packages/pyinotify.py", line 974, in __call__ return _ProcessEvent.__call__(self, event) File "/usr/lib64/python2.7/site-packages/pyinotify.py", line 705, in __call__ return self.process_default(event) File "/root/bcfg2/src/lib/Bcfg2/Server/FileMonitor/Inotify.py", line 38, in process_default watch = self.wm.watches[ievent.wd] KeyError: 11
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
Fixed in https://github.com/Bcfg2/bcfg2/commit/14dc1773ce6cd110869d4957b2b9d4e3c2afd965