Modify

Ticket #1118 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

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

comment:1 Changed 11 years ago by https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc

  • Status changed from new to closed
  • Resolution set to fixed

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.