Modify ↓
Ticket #778 (closed defect: fixed)
Another Snapshots bug
Reported by: | strauss | Owned by: | desai |
---|---|---|---|
Priority: | critical | Milestone: | Bcfg2 1.0.0 Release |
Component: | bcfg2-client | Version: | 1.0 |
Keywords: | Cc: |
Description
Generated config for xxx.uspswy6.savvis.net in 0.267s Client xxx.uspswy6.savvis.net reported state dirty Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib64/python2.4/threading.py", line 442, in __bootstrap self.run() File "/usr/lib64/python2.4/threading.py", line 422, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Plugins/Snapshots.py", line 70, in load_snapshot self.statistics_from_old_stats(metadata, data) File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Plugins/Snapshots.py", line 88, in statistics_from_old_stats data = [False, False, unicode(entry.get('name'))] \ File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Plugins/Snapshots.py", line 25, in build_snap_ent desired.update([(key, unicode(entry.get(key))) for key in \ KeyError: 'Directory'
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
I believe I've fixed this in revision [bba9d58cd72d779c68811a26dc2af5ceb68e445b] (SVN r5536). It at least writes the snapshot instead of back-tracing.