1 #,Status,Project,Tracker,Priority,Subject,Assigned to,Category,Target version,Author,Start,Due date,% Done,Estimated time,Created,Updated,Severity,Description
2 36,Assigned,Pymin,Bug,Low,Split VpnHandler to a NetHandler subhandler,Leandro Lucarella,Handler: VPN,"",Leandro Lucarella,06/27/2008,"",0,1.0,06/28/2008 01:57 am,06/28/2008 01:57 am,Minor,"VpnHandler should not implement a SubHandler (to follow all other services), a NetSubHandler should be used instead (and Vpn item should be renamed to Net item, so one can use, for example, vpn net add ... to create a new VPN)."
3 35,Fixed,Pymin,Bug,Normal,Use more meaningful names in Vpn items,Leandro Lucarella,Handler: VPN,"",Leandro Lucarella,06/28/2008,06/28/2008,100,0.5,06/28/2008 01:42 am,06/28/2008 01:57 am,Trivial,Names in Vpn items are really cryptic. Use names more close to tinc configuration variables names.
4 34,Fixed,Pymin,Bug,Immediate,vpn service use ifconfig,Leandro Lucarella,Handler: VPN,"",Leandro Lucarella,06/28/2008,06/28/2008,100,0.2,06/28/2008 01:20 am,06/28/2008 01:57 am,Trivial,vpn service use ifconfig to bring up the network interface instead of the more advanced ip (iproute2) command (used by the ip service).
5 33,Fixed,Pymin,Bug,Immediate,Clean up vpn service Host item,Leandro Lucarella,Handler: VPN,"",Leandro Lucarella,06/28/2008,06/28/2008,100,1.0,06/28/2008 01:04 am,06/28/2008 01:57 am,Trivial,Host is very inconsistent. Its constructor take different kind and amount of arguments than to_tuple() method and other inconsistencies and bad names are there too.
6 32,Fixed,Pymin,Bug,Immediate,HandlerError is not imported in vpn handler service,Leandro Lucarella,Handler: VPN,"",Leandro Lucarella,06/28/2008,06/28/2008,100,0.2,06/28/2008 01:00 am,06/28/2008 01:57 am,Minor,"Log output:
\r
9 pymin.services.vpn DEBUG VpnHandler._write_config()
\r
10 pymin.services.vpn DEBUG VpnHandler._write_config: processing Vpn(u'a', u'b', u'c', u'd', None, None)
\r
11 pymin.services.vpn DEBUG VpnHandler._write_config: new VPN, generating key...
\r
12 pymin.services.vpn DEBUG VpnHandler._write_config: creating dir u'var/lib/pymin/config/vpn/a/hosts'
\r
13 pymin.services.vpn DEBUG VpnHandler._write_config: creating key...
\r
14 pymin.service.util DEBUG call(('tincd', '-n', u'a', '-K', '<', '/dev/null'))
\r
15 pymin.service.util DEBUG call: not really executing, DEBUG mode
\r
16 pymin.pymindaemon ERROR PyminDaemon.handle: unhandled exception
\r
17 Traceback (most recent call last):
\r
18 File ""/home/luca/repos/pymin/pymin/pymindaemon.py"", line 115, in handle
\r
19 result = self.dispatcher.dispatch(unicode(msg, 'utf-8'))
\r
20 File ""/home/luca/repos/pymin/pymin/dispatcher.py"", line 550, in dispatch
\r
21 r = handler(*route, **kwargs)
\r
22 File ""/home/luca/repos/pymin/pymin/dispatcher.py"", line 226, in wrapper
\r
23 return f(*args, **kwargs)
\r
24 File ""/home/luca/repos/pymin/pymin/service/util.py"", line 716, in commit
\r
25 unchanged = self._write_config()
\r
26 File ""services/vpn/handler.py"", line 130, in _write_config
\r
27 raise HandlerError(u""Can't read VPN key '%s' (%s)'""
\r
28 NameError: global name 'HandlerError' is not defined
\r
30 31,Fixed,Pymin,Bug,Immediate,ComposedSubHandler._attr() is called with no arguments,Leandro Lucarella,Handler,"",Leandro Lucarella,06/25/2008,06/25/2008,100,0.1,06/25/2008 12:05 am,06/25/2008 12:40 am,Major,"This is the traceback of the error:
\r
33 Traceback (most recent call last):
\r
34 File ""/home/luca/repos/pymin/pymin/pymindaemon.py"", line 115, in handle
\r
35 result = self.dispatcher.dispatch(unicode(msg, 'utf-8'))
\r
36 File ""/home/luca/repos/pymin/pymin/dispatcher.py"", line 550, in dispatch
\r
37 r = handler(*route, **kwargs)
\r
38 File ""/home/luca/repos/pymin/pymin/dispatcher.py"", line 226, in wrapper
\r
39 return f(*args, **kwargs)
\r
40 File ""/home/luca/repos/pymin/pymin/service/util.py"", line 1064, in add
\r
41 if not isinstance(self._attr(), dict):
\r
42 TypeError: _attr() takes at least 2 arguments (1 given)
\r
44 30,Assigned,Pymin,Bug,Normal,Add ParametersHandler validation,Leandro Lucarella,Handler,"",Leandro Lucarella,06/22/2008,06/29/2008,0,4.0,06/22/2008 02:49 pm,06/22/2008 02:49 pm,Minor,"Probably the simpler way to do this is use an Item class to represent the parameters, and add validation to it like it's done with SubHandlers."
45 29,Assigned,Pymin,Bug,Normal,Make pymin.service.util helpers aware of pymin.item,Leandro Lucarella,Handler,"",Leandro Lucarella,06/22/2008,06/29/2008,0,2.0,06/22/2008 01:19 pm,06/22/2008 01:19 pm,Major,"Since Item has an update method that can update *any* field of the object, when used in a DictSubHandlers the key of the dict could get updated (even more, if positional arguments are used, it *will* get updated).
\r
47 So DictSubHandlers should be aware of this and fix the situation, converting all positional arguments to keyword arguments and checking that the key is not updated."
48 28,Fixed,Pymin,Bug,Immediate,PyminDaemon don't convert serializer data to unicode,Leandro Lucarella,Daemon,"",Leandro Lucarella,06/22/2008,06/22/2008,100,0.3,06/22/2008 02:05 am,06/22/2008 02:12 am,Critical,"All results from commands managed by pymin.pymindaemon are represented using unicode, and before sending it to the socket, it gets encoded to UTF-8.
\r
50 OTOH, pymin.serializer.serialize() directly dump UTF-8 encoded text.
\r
52 So when pymindaemon serializes a result, bad things happen if the serialized text is not plain ASCII."
53 27,Done,Pymin,Feature,High,Plug-in architecture for handlers,Leandro Lucarella,Handler,"",Leandro Lucarella,06/07/2008,06/14/2008,100,5.0,06/07/2008 09:07 pm,06/14/2008 11:44 pm,Blocker,"Handler should have a plug-in architecture. Each handler should be a plug-in that pymind can run or not.
\r
55 Handlers could be added or removed at startup-time or at run-time."
56 26,Fixed,Pymin,Bug,Low,Bad logging message format,Leandro Lucarella,Handler: VRRP,"",Leandro Lucarella,05/25/2008,05/25/2008,100,0.1,05/25/2008 11:06 pm,05/25/2008 11:11 pm,Trivial,"A message in VrrpHandler constructor is ill formatted:
\r
59 Traceback (most recent call last):
\r
60 File ""/usr/lib/python2.5/logging/__init__.py"", line 744, in emit
\r
61 msg = self.format(record)
\r
62 File ""/usr/lib/python2.5/logging/__init__.py"", line 630, in format
\r
63 return fmt.format(record)
\r
64 File ""/usr/lib/python2.5/logging/__init__.py"", line 418, in format
\r
65 record.message = record.getMessage()
\r
66 File ""/usr/lib/python2.5/logging/__init__.py"", line 288, in getMessage
\r
67 msg = msg % self.args
\r
68 TypeError: not all arguments converted during string formatting
\r
70 24,Needs Feedback,Pymin,Bug,High,Use ProcessManager in all services,Leandro Lucarella,Handler,"",Leandro Lucarella,05/14/2008,"",0,8.0,05/14/2008 09:00 pm,05/21/2008 01:14 pm,Major,"Right now, only VRRP handler uses the ProcessManager. All handlers should use it."
71 23,Fixed,Pymin,Bug,Normal,vpn delete fails with ok message,Leandro Lucarella,Handler: VPN,"",Martin Marrese,05/12/2008,05/12/2008,100,"",05/12/2008 10:59 am,05/12/2008 12:49 pm,Major,"When deleting a vpn, it fails to remove the selected entry, and the OK response message is sent.
\r
73 FYI: vpn clear works just fine.
\r
79 nombre_vpn,destino_vpn,192.168.2.16,255.255.255.0,None,None
\r
80 prueba,torch,10.2.0.2,255.0.0.0,None,None
\r
85 nombre_vpn,destino_vpn,192.168.2.16,255.255.255.0,None,None
\r
86 prueba,torch,10.2.0.2,255.0.0.0,None,None
\r
91 Mon, 12 May 2008 07:53:17 pymin.pymindaemon DEBUG PyminDaemon.handle: message 'vpn delete prueba\n' from ('10.0.2.2', 32789)
\r
92 Mon, 12 May 2008 07:53:17 pymin.dispatcher DEBUG Dispatcher.dispatch(u'vpn delete prueba\n')
\r
93 Mon, 12 May 2008 07:53:17 pymin.dispatcher DEBUG Dispatcher.dispatch: route=[u'vpn', u'delete', u'prueba'], kwargs={}
\r
94 Mon, 12 May 2008 07:53:17 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<config.Root instance at 0xb799420c>, route=[u'vpn', u'delete', u'prueba']
\r
95 Mon, 12 May 2008 07:53:17 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'vpn']
\r
96 Mon, 12 May 2008 07:53:17 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<pymin.services.vpn.VpnHandler instance at 0x831126c>, route=[u'delete', u'prueba']
\r
97 Mon, 12 May 2008 07:53:17 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'vpn', u'delete']
\r
98 Mon, 12 May 2008 07:53:17 pymin.dispatcher DEBUG Dispatcher.dispatch: <bound method VpnHandler.delete of <pymin.services.vpn.VpnHandler instance at 0x831126c>> is a handler, calling it with route=[u'prueba'], kwargs={}
\r
99 Mon, 12 May 2008 07:53:17 pymin.services.vpn DEBUG VpnHandler.delete(u'prueba')
\r
100 Mon, 12 May 2008 07:53:17 pymin.dispatcher DEBUG Dispatcher.dispatch: handler returned None
\r
101 Mon, 12 May 2008 07:53:17 pymin.pymindaemon DEBUG PyminDaemon.handle: response u'OK 0\n' to ('10.0.2.2', 32789)
\r
103 22,Invalid,Pymin,Bug,Normal,vpn commit throws internal server error,Leandro Lucarella,Handler: VPN,"",Martin Marrese,05/12/2008,05/12/2008,100,"",05/12/2008 10:53 am,05/12/2008 12:09 pm,Critical,"When trying to commit the vpn changes, an internal server error is received as response.
\r
107 Mon, 12 May 2008 07:14:49 pymin.pymindaemon DEBUG PyminDaemon.handle: message 'vpn commit' from ('10.0.2.2', 58219)
\r
108 Mon, 12 May 2008 07:14:49 pymin.dispatcher DEBUG Dispatcher.dispatch(u'vpn commit')
\r
109 Mon, 12 May 2008 07:14:49 pymin.dispatcher DEBUG Dispatcher.dispatch: route=[u'vpn', u'commit'], kwargs={}
\r
110 Mon, 12 May 2008 07:14:49 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<config.Root instance at 0xb797b20c>, route=[u'vpn', u'commit']
\r
111 Mon, 12 May 2008 07:14:49 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'vpn']
\r
112 Mon, 12 May 2008 07:14:49 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<pymin.services.vpn.VpnHandler instance at 0x831126c>, route=[u'commit']
\r
113 Mon, 12 May 2008 07:14:49 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'vpn', u'commit']
\r
114 Mon, 12 May 2008 07:14:49 pymin.dispatcher DEBUG Dispatcher.dispatch: <bound method VpnHandler.commit of <pymin.services.vpn.VpnHandler instance at 0x831126c>> is a handl
\r
115 Mon, 12 May 2008 07:14:49 pymin.services.util DEBUG TransactionalHandler.commit()
\r
116 Mon, 12 May 2008 07:14:49 pymin.services.util DEBUG TransactionalHandler.commit: _dump() present, dumping...
\r
117 Mon, 12 May 2008 07:14:49 pymin.services.util DEBUG Persistent._dump_attr('vpns') -> file='var/lib/pymin/pickle/vpn/vpns.pkl', value={u'nombre_vpn': Vpn(u'nombre_vpn', u'des
\r
118 Mon, 12 May 2008 07:14:49 pymin.services.util DEBUG Persistent._dump_attr('hosts') -> file='var/lib/pymin/pickle/vpn/hosts.pkl', value={}
\r
119 Mon, 12 May 2008 07:14:49 pymin.services.util DEBUG TransactionalHandler.commit: _write_config() present, writing config...
\r
120 Mon, 12 May 2008 07:14:49 pymin.services.vpn DEBUG VpnHandler._write_config()
\r
121 Mon, 12 May 2008 07:14:49 pymin.services.vpn DEBUG VpnHandler._write_config: processing Vpn(u'nombre_vpn', u'destino_vpn', u'192.168.2.16', u'255.255.255.0', None, None)
\r
122 Mon, 12 May 2008 07:14:49 pymin.services.vpn DEBUG VpnHandler._write_config: new VPN, generating key...
\r
123 Mon, 12 May 2008 07:14:49 pymin.services.vpn DEBUG VpnHandler._write_config: creating dir u'var/lib/pymin/config/vpn/nombre_vpn/hosts'
\r
124 Mon, 12 May 2008 07:14:49 pymin.services.util DEBUG call(('mkdir', '-p', u'var/lib/pymin/config/vpn/nombre_vpn/hosts'))
\r
125 Mon, 12 May 2008 07:14:49 pymin.services.util DEBUG call: not really executing, DEBUG mode
\r
126 Mon, 12 May 2008 07:14:49 pymin.services.vpn DEBUG VpnHandler._write_config: creating key...
\r
127 Mon, 12 May 2008 07:14:49 pymin.services.util DEBUG call(('tincd', '-n', u'nombre_vpn', '-K', '<', '/dev/null'))
\r
128 Mon, 12 May 2008 07:14:49 pymin.services.util DEBUG call: not really executing, DEBUG mode
\r
129 Mon, 12 May 2008 07:14:49 pymin.pymindaemon ERROR PyminDaemon.handle: unhandled exception
\r
130 Traceback (most recent call last):
\r
131 File ""/root/baryon/pymin/pymin/pymindaemon.py"", line 115, in handle
\r
132 result = self.dispatcher.dispatch(unicode(msg, 'utf-8'))
\r
133 File ""/root/baryon/pymin/pymin/dispatcher.py"", line 550, in dispatch
\r
134 r = handler(*route, **kwargs)
\r
135 File ""/root/baryon/pymin/pymin/dispatcher.py"", line 226, in wrapper
\r
136 return f(*args, **kwargs)
\r
137 File ""/root/baryon/pymin/pymin/services/util.py"", line 706, in commit
\r
138 unchanged = self._write_config()
\r
139 File ""/root/baryon/pymin/pymin/services/vpn/__init__.py"", line 158, in _write_config
\r
140 v.vpn_src, 'rsa_key.priv'), 'r')
\r
141 IOError: [Errno 2] No such file or directory: u'var/lib/pymin/config/vpn/nombre_vpn/rsa_key.priv'
\r
142 Mon, 12 May 2008 07:14:49 pymin.pymindaemon DEBUG PyminDaemon.handle: response u'ERROR 22\nInternal server error\n' to ('10.0.2.2', 58219)
\r
144 21,Invalid,Pymin,Bug,Normal,proxy commit throws an internal server error,Leandro Lucarella,Handler: Proxy,"",Martin Marrese,05/10/2008,05/11/2008,100,"",05/10/2008 08:14 pm,05/11/2008 06:50 pm,Critical,"when trying to commit the changes made, the server responds internal server error.
\r
148 Sat, 10 May 2008 17:11:14 pymin.pymindaemon DEBUG PyminDaemon.handle: message 'proxy commit' from ('10.0.2.2', 44009)
\r
149 Sat, 10 May 2008 17:11:14 pymin.dispatcher DEBUG Dispatcher.dispatch(u'proxy commit')
\r
150 Sat, 10 May 2008 17:11:14 pymin.dispatcher DEBUG Dispatcher.dispatch: route=[u'proxy', u'commit'], kwargs={}
\r
151 Sat, 10 May 2008 17:11:14 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<config.Root instance at 0xb78fa20c>, route=[u'proxy', u'commit']
\r
152 Sat, 10 May 2008 17:11:14 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'proxy']
\r
153 Sat, 10 May 2008 17:11:14 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<pymin.services.proxy.ProxyHandler instance at 0x8310f6c>, route=[u'commit']
\r
154 Sat, 10 May 2008 17:11:14 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'proxy', u'commit']
\r
155 Sat, 10 May 2008 17:11:14 pymin.dispatcher DEBUG Dispatcher.dispatch: <bound method ProxyHandler.commit of <pymin.services.proxy.ProxyHandler instance at 0x8310f6c>> is a handler, calling it with route=[], kwargs={}
\r
156 Sat, 10 May 2008 17:11:14 pymin.services.util DEBUG TransactionalHandler.commit()
\r
157 Sat, 10 May 2008 17:11:14 pymin.services.util DEBUG TransactionalHandler.commit: _dump() present, dumping...
\r
158 Sat, 10 May 2008 17:11:14 pymin.services.util DEBUG Persistent._dump_attr('params') -> file='var/lib/pymin/pickle/proxy/params.pkl', value={'ip': u'192.168.0.14', 'port': '8080'}
\r
159 Sat, 10 May 2008 17:11:14 pymin.services.util DEBUG Persistent._dump_attr('hosts') -> file='var/lib/pymin/pickle/proxy/hosts.pkl', value={}
\r
160 Sat, 10 May 2008 17:11:14 pymin.services.util DEBUG Persistent._dump_attr('users') -> file='var/lib/pymin/pickle/proxy/users.pkl', value={}
\r
161 Sat, 10 May 2008 17:11:14 pymin.services.util DEBUG Persistent._dump_attr('_service_running') -> file='var/lib/pymin/pickle/proxy/_service_running.pkl', value=False
\r
162 Sat, 10 May 2008 17:11:14 pymin.services.util DEBUG TransactionalHandler.commit: _write_config() present, writing config...
\r
163 Sat, 10 May 2008 17:11:14 pymin.pymindaemon ERROR PyminDaemon.handle: unhandled exception
\r
164 Traceback (most recent call last):
\r
165 File ""/root/baryon/pymin/pymin/pymindaemon.py"", line 115, in handle
\r
166 result = self.dispatcher.dispatch(unicode(msg, 'utf-8'))
\r
167 File ""/root/baryon/pymin/pymin/dispatcher.py"", line 550, in dispatch
\r
168 r = handler(*route, **kwargs)
\r
169 File ""/root/baryon/pymin/pymin/dispatcher.py"", line 226, in wrapper
\r
170 return f(*args, **kwargs)
\r
171 File ""/root/baryon/pymin/pymin/services/util.py"", line 706, in commit
\r
172 unchanged = self._write_config()
\r
173 File ""/root/baryon/pymin/pymin/services/util.py"", line 492, in _write_config
\r
174 self._write_single_config(t)
\r
175 File ""/root/baryon/pymin/pymin/services/util.py"", line 482, in _write_single_config
\r
176 f = file(fname, 'w')
\r
177 IOError: [Errno 2] No such file or directory: 'var/lib/pymin/config/proxy/squid.conf'
\r
178 Sat, 10 May 2008 17:11:14 pymin.pymindaemon DEBUG PyminDaemon.handle: response u'ERROR 22\nInternal server error\n' to ('10.0.2.2', 44009)
\r
179 Sat, 10 May 2008 17:11:14 pymin.eventloop DEBUG EventLoop.loop: polling
\r
182 20,Assigned,Pymin,Bug,Normal,Add validators to all handlers,Leandro Lucarella,Handler,"",Leandro Lucarella,06/21/2008,07/06/2008,50,15.0,05/10/2008 07:54 pm,06/28/2008 04:51 pm,Major,"Validation framework is there, but used just in a couple of handlers.
\r
184 All handlers should use validators to control user input."
185 19,Fixed,Pymin,Bug,Urgent,Imposible to do an ip hop delete ,Leandro Lucarella,Handler: IP,"",Martin Marrese,05/10/2008,05/10/2008,100,"",05/10/2008 06:51 pm,05/10/2008 07:24 pm,Critical,"Can't delete a hop entry.
\r
186 I've already add a hop entry, but when trying to delete it get the following error.
\r
192 ip hop delete eth1 1.1.1.1
\r
194 Command ""delete"" takes exactly 1 argument, 2 given.
\r
197 So I tried to do what the error says, but get the opposite error:
\r
202 Command ""delete"" takes exactly 2 arguments, 1 given.
\r
205 Boths commands fails to delete the hop entry, and gives the operator an ambiguous error message.
\r
207 Log of the 1st error:
\r
209 Sat, 10 May 2008 15:43:31 pymin.pymindaemon DEBUG PyminDaemon.handle: message 'ip hop delete eth1 1.1.1.1\n' from ('10.0.2.2', 32789)
\r
210 Sat, 10 May 2008 15:43:31 pymin.dispatcher DEBUG Dispatcher.dispatch(u'ip hop delete eth1 1.1.1.1\n')
\r
211 Sat, 10 May 2008 15:43:31 pymin.dispatcher DEBUG Dispatcher.dispatch: route=[u'ip', u'hop', u'delete', u'eth1', u'1.1.1.1'], kwargs={}
\r
212 Sat, 10 May 2008 15:43:31 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<config.Root instance at 0xb79ab20c>, route=[u'ip', u'hop', u'delete', u'eth1', u'1.1.1.1']
\r
213 Sat, 10 May 2008 15:43:31 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'ip']
\r
214 Sat, 10 May 2008 15:43:31 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<pymin.services.ip.IpHandler instance at 0x830964c>, route=[u'hop', u'delete', u'eth1', u'1.1.1.1']
\r
215 Sat, 10 May 2008 15:43:31 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'ip', u'hop']
\r
216 Sat, 10 May 2008 15:43:31 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<pymin.services.ip.HopHandler instance at 0x8309eec>, route=[u'delete', u'eth1', u'1.1.1.1']
\r
217 Sat, 10 May 2008 15:43:31 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'ip', u'hop', u'delete']
\r
218 Sat, 10 May 2008 15:43:31 pymin.dispatcher DEBUG Dispatcher.dispatch: <bound method HopHandler.delete of <pymin.services.ip.HopHandler instance at 0x8309eec>> is a handler, calling it with route=[u'eth1', u'1.1.1.1'], kwargs={}
\r
219 Sat, 10 May 2008 15:43:31 pymin.pymindaemon DEBUG PyminDaemon.handle: response u'ERROR 52\nCommand ""delete"" takes exactly 1 argument, 2 given.\n' to ('10.0.2.2', 32789)
\r
222 Log of the 2nd error:
\r
224 Sat, 10 May 2008 15:43:32 pymin.pymindaemon DEBUG PyminDaemon.handle: message 'ip hop delete eth1\n' from ('10.0.2.2', 32789)
\r
225 Sat, 10 May 2008 15:43:32 pymin.dispatcher DEBUG Dispatcher.dispatch(u'ip hop delete eth1\n')
\r
226 Sat, 10 May 2008 15:43:32 pymin.dispatcher DEBUG Dispatcher.dispatch: route=[u'ip', u'hop', u'delete', u'eth1'], kwargs={}
\r
227 Sat, 10 May 2008 15:43:32 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<config.Root instance at 0xb79ab20c>, route=[u'ip', u'hop', u'delete', u'eth1']
\r
228 Sat, 10 May 2008 15:43:32 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'ip']
\r
229 Sat, 10 May 2008 15:43:32 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<pymin.services.ip.IpHandler instance at 0x830964c>, route=[u'hop', u'delete', u'eth1']
\r
230 Sat, 10 May 2008 15:43:32 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'ip', u'hop']
\r
231 Sat, 10 May 2008 15:43:32 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<pymin.services.ip.HopHandler instance at 0x8309eec>, route=[u'delete', u'eth1']
\r
232 Sat, 10 May 2008 15:43:32 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'ip', u'hop', u'delete']
\r
233 Sat, 10 May 2008 15:43:32 pymin.dispatcher DEBUG Dispatcher.dispatch: <bound method HopHandler.delete of <pymin.services.ip.HopHandler instance at 0x8309eec>> is a handler, calling it with route=[u'eth1'], kwargs={}
\r
234 Sat, 10 May 2008 15:43:32 pymin.pymindaemon DEBUG PyminDaemon.handle: response u'ERROR 53\nCommand ""delete"" takes exactly 2 arguments, 1 given.\n' to ('10.0.2.2', 32789)
\r
236 18,Fixed,Pymin,Bug,Normal,ppp conn clear trhows internal server error,Leandro Lucarella,Handler: PPP,"",Martin Marrese,05/09/2008,05/10/2008,100,"",05/09/2008 04:25 pm,05/10/2008 01:29 am,Critical,"When trying to clear all the conections, an interal server error is thrown by the server.
\r
240 Fri, 09 May 2008 12:53:03 pymin.pymindaemon DEBUG PyminDaemon.handle: message 'ppp conn clear ' from ('10.0.2.2', 13587)
\r
241 Fri, 09 May 2008 12:53:03 pymin.dispatcher DEBUG Dispatcher.dispatch(u'ppp conn clear ')
\r
242 Fri, 09 May 2008 12:53:03 pymin.dispatcher DEBUG Dispatcher.dispatch: route=[u'ppp', u'conn', u'clear'], kwargs={}
\r
243 Fri, 09 May 2008 12:53:03 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<config.Root instance at 0xb797b20c>, route=[u'ppp', u'conn', u'clear']
\r
244 Fri, 09 May 2008 12:53:03 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'ppp']
\r
245 Fri, 09 May 2008 12:53:03 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<pymin.services.ppp.PppHandler instance at 0x82caeac>, route=[u'conn', u'clear']
\r
246 Fri, 09 May 2008 12:53:03 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'ppp', u'conn']
\r
247 Fri, 09 May 2008 12:53:03 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<pymin.services.ppp.ConnectionHandler instance at 0x82caeec>, route=[u'clear']
\r
248 Fri, 09 May 2008 12:53:03 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'ppp', u'conn', u'clear']
\r
249 Fri, 09 May 2008 12:53:03 pymin.dispatcher DEBUG Dispatcher.dispatch: <bound method ConnectionHandler.clear of <pymin.services.ppp.ConnectionHandler instance at 0x82caeec
\r
250 Fri, 09 May 2008 12:53:03 pymin.services.util DEBUG ContainerSubHandler.clear()
\r
251 Fri, 09 May 2008 12:53:03 pymin.pymindaemon ERROR PyminDaemon.handle: unhandled exception
\r
252 Traceback (most recent call last):
\r
253 File ""/root/baryon/pymin2/pymin/pymindaemon.py"", line 115, in handle
\r
254 result = self.dispatcher.dispatch(unicode(msg, 'utf-8'))
\r
255 File ""/root/baryon/pymin2/pymin/dispatcher.py"", line 550, in dispatch
\r
256 r = handler(*route, **kwargs)
\r
257 File ""/root/baryon/pymin2/pymin/dispatcher.py"", line 226, in wrapper
\r
258 return f(*args, **kwargs)
\r
259 File ""/root/baryon/pymin2/pymin/services/util.py"", line 921, in clear
\r
261 AttributeError: 'function' object has no attribute 'clear'
\r
262 Fri, 09 May 2008 12:53:03 pymin.pymindaemon DEBUG PyminDaemon.handle: response u'ERROR 22\nInternal server error\n' to ('10.0.2.2', 13587)
\r
265 17,Invalid,Pymin,Bug,Urgent,ppp commit throws internal server error,Leandro Lucarella,Handler: PPP,"",Martin Marrese,05/09/2008,05/11/2008,100,"",05/09/2008 04:17 pm,05/11/2008 06:51 pm,Critical,"When trying to commit the changes, the server responds with an internal server error message.
\r
269 Fri, 09 May 2008 12:52:55 pymin.pymindaemon DEBUG PyminDaemon.handle: message 'ppp commit' from ('10.0.2.2', 13587)
\r
270 Fri, 09 May 2008 12:52:55 pymin.dispatcher DEBUG Dispatcher.dispatch(u'ppp commit')
\r
271 Fri, 09 May 2008 12:52:55 pymin.dispatcher DEBUG Dispatcher.dispatch: route=[u'ppp', u'commit'], kwargs={}
\r
272 Fri, 09 May 2008 12:52:55 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<config.Root instance at 0xb797b20c>, route=[u'ppp', u'commit']
\r
273 Fri, 09 May 2008 12:52:55 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'ppp']
\r
274 Fri, 09 May 2008 12:52:55 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<pymin.services.ppp.PppHandler instance at 0x82caeac>, route=[u'commit']
\r
275 Fri, 09 May 2008 12:52:55 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'ppp', u'commit']
\r
276 Fri, 09 May 2008 12:52:55 pymin.dispatcher DEBUG Dispatcher.dispatch: <bound method PppHandler.commit of <pymin.services.ppp.PppHandler instance at 0x82caeac>> is a handl
\r
277 Fri, 09 May 2008 12:52:55 pymin.services.util DEBUG TransactionalHandler.commit()
\r
278 Fri, 09 May 2008 12:52:55 pymin.services.util DEBUG TransactionalHandler.commit: _dump() present, dumping...
\r
279 Fri, 09 May 2008 12:52:55 pymin.services.util DEBUG Persistent._dump_attr('conns') -> file='var/lib/pymin/pickle/ppp/conns.pkl', value={u'conn3': Connection(u'conn3', u'Link
\r
280 Fri, 09 May 2008 12:52:55 pymin.services.util DEBUG TransactionalHandler.commit: _write_config() present, writing config...
\r
281 Fri, 09 May 2008 12:52:55 pymin.services.ppp DEBUG PppHandler._write_config()
\r
282 Fri, 09 May 2008 12:52:55 pymin.pymindaemon ERROR PyminDaemon.handle: unhandled exception
\r
283 Traceback (most recent call last):
\r
284 File ""/root/baryon/pymin2/pymin/pymindaemon.py"", line 115, in handle
\r
285 result = self.dispatcher.dispatch(unicode(msg, 'utf-8'))
\r
286 File ""/root/baryon/pymin2/pymin/dispatcher.py"", line 550, in dispatch
\r
287 r = handler(*route, **kwargs)
\r
288 File ""/root/baryon/pymin2/pymin/dispatcher.py"", line 226, in wrapper
\r
289 return f(*args, **kwargs)
\r
290 File ""/root/baryon/pymin2/pymin/services/util.py"", line 706, in commit
\r
291 unchanged = self._write_config()
\r
292 File ""/root/baryon/pymin2/pymin/services/ppp/__init__.py"", line 210, in _write_config
\r
293 self._write_single_config('pap-secrets','pap-secrets',vars)
\r
294 File ""/root/baryon/pymin2/pymin/services/util.py"", line 482, in _write_single_config
\r
295 f = file(fname, 'w')
\r
296 IOError: [Errno 2] No such file or directory: 'var/lib/pymin/config/ppp/pap-secrets'
\r
297 Fri, 09 May 2008 12:52:55 pymin.pymindaemon DEBUG PyminDaemon.handle: response u'ERROR 22\nInternal server error\n' to ('10.0.2.2', 13587)
\r
300 16,Fixed,Pymin,Bug,Urgent,firewall commit throws internal server error,Leandro Lucarella,Handler: Firewall,"",Martin Marrese,05/09/2008,05/11/2008,100,"",05/09/2008 11:42 am,05/11/2008 01:25 pm,Critical,"When tryin to commit the firewall changes, the server throws an internal server error.
\r
304 Fri, 09 May 2008 08:38:20 pymin.pymindaemon DEBUG PyminDaemon.handle: message 'firewall commit\n' from ('10.0.2.2', 33097)
\r
305 Fri, 09 May 2008 08:38:20 pymin.dispatcher DEBUG Dispatcher.dispatch(u'firewall commit\n')
\r
306 Fri, 09 May 2008 08:38:20 pymin.dispatcher DEBUG Dispatcher.dispatch: route=[u'firewall', u'commit'], kwargs={}
\r
307 Fri, 09 May 2008 08:38:20 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<config.Root instance at 0xb798820c>, route=[u'firewall', u'commit']
\r
308 Fri, 09 May 2008 08:38:20 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'firewall']
\r
309 Fri, 09 May 2008 08:38:20 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<pymin.services.firewall.FirewallHandler instance at 0xb7988a2c>, route=[u'commit']
\r
310 Fri, 09 May 2008 08:38:20 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'firewall', u'commit']
\r
311 Fri, 09 May 2008 08:38:20 pymin.dispatcher DEBUG Dispatcher.dispatch: <bound method FirewallHandler.commit of <pymin.services.firewall.FirewallHandler instance at 0xb7988
\r
312 Fri, 09 May 2008 08:38:20 pymin.services.util DEBUG TransactionalHandler.commit()
\r
313 Fri, 09 May 2008 08:38:20 pymin.services.util DEBUG TransactionalHandler.commit: _dump() present, dumping...
\r
314 Fri, 09 May 2008 08:38:20 pymin.services.util DEBUG Persistent._dump_attr('rules') -> file='var/lib/pymin/pickle/firewall/rules.pkl', value=[<pymin.services.firewall.Rule ob
\r
315 Fri, 09 May 2008 08:38:20 pymin.services.util DEBUG Persistent._dump_attr('_service_running') -> file='var/lib/pymin/pickle/firewall/_service_running.pkl', value=False
\r
316 Fri, 09 May 2008 08:38:20 pymin.services.util DEBUG TransactionalHandler.commit: _write_config() present, writing config...
\r
317 Fri, 09 May 2008 08:38:20 pymin.pymindaemon ERROR PyminDaemon.handle: unhandled exception
\r
318 Traceback (most recent call last):
\r
319 File ""/root/baryon/pymin2/pymin/pymindaemon.py"", line 115, in handle
\r
320 result = self.dispatcher.dispatch(unicode(msg, 'utf-8'))
\r
321 File ""/root/baryon/pymin2/pymin/dispatcher.py"", line 550, in dispatch
\r
322 r = handler(*route, **kwargs)
\r
323 File ""/root/baryon/pymin2/pymin/dispatcher.py"", line 226, in wrapper
\r
324 return f(*args, **kwargs)
\r
325 File ""/root/baryon/pymin2/pymin/services/util.py"", line 706, in commit
\r
326 unchanged = self._write_config()
\r
327 File ""/root/baryon/pymin2/pymin/services/util.py"", line 492, in _write_config
\r
328 self._write_single_config(t)
\r
329 File ""/root/baryon/pymin2/pymin/services/util.py"", line 482, in _write_single_config
\r
330 f = file(fname, 'w')
\r
331 IOError: [Errno 2] No such file or directory: 'var/lib/pymin/config/firewall/iptables.sh'
\r
332 Fri, 09 May 2008 08:38:20 pymin.pymindaemon DEBUG PyminDaemon.handle: response u'ERROR 22\nInternal server error\n' to ('10.0.2.2', 33097)
\r
334 15,Fixed,Pymin,Bug,Urgent,Convert HopHandler to a ComposedSubHandler,Leandro Lucarella,Handler: IP,"",Leandro Lucarella,05/08/2008,05/10/2008,100,1.0,05/08/2008 06:57 pm,05/10/2008 01:12 am,Critical,HopHandler (and maybe others) are implemented using a plain Handler. It should be converted to use a ComposedSubHandler to keep it DRY (and avoid bugs).
335 14,Invalid,Pymin,Bug,Urgent,dhcp commit throws internal server error,Leandro Lucarella,Handler: DHCP,"",Martin Marrese,05/08/2008,05/11/2008,100,"",05/08/2008 06:42 pm,05/11/2008 06:51 pm,Critical,"When trying to commit the changes made with the dhcp command, an internal server error is thrown by the sever.
\r
339 Wed, 07 May 2008 17:52:34 pymin.pymindaemon DEBUG PyminDaemon.handle: message 'dhcp commit\n' from ('10.0.2.2', 32968)
\r
340 Wed, 07 May 2008 17:52:34 pymin.dispatcher DEBUG Dispatcher.dispatch(u'dhcp commit\n')
\r
341 Wed, 07 May 2008 17:52:34 pymin.dispatcher DEBUG Dispatcher.dispatch: route=[u'dhcp', u'commit'], kwargs={}
\r
342 Wed, 07 May 2008 17:52:34 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<config.Root instance at 0xb7a1520c>, route=[u'dhcp', u'commit']
\r
343 Wed, 07 May 2008 17:52:34 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'dhcp']
\r
344 Wed, 07 May 2008 17:52:34 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<pymin.services.dhcp.DhcpHandler instance at 0x830abac>, route=[u'commit']
\r
345 Wed, 07 May 2008 17:52:34 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'dhcp', u'commit']
\r
346 Wed, 07 May 2008 17:52:34 pymin.dispatcher DEBUG Dispatcher.dispatch: <bound method DhcpHandler.commit of <pymin.services.dhcp.DhcpHandler instance at 0x830abac>> is a handler, calling it with route=[], kwargs={}
\r
347 Wed, 07 May 2008 17:52:34 pymin.services.util DEBUG TransactionalHandler.commit()
\r
348 Wed, 07 May 2008 17:52:34 pymin.services.util DEBUG TransactionalHandler.commit: _dump() present, dumping...
\r
349 Wed, 07 May 2008 17:52:34 pymin.services.util DEBUG Persistent._dump_attr('params') -> file='var/lib/pymin/pickle/dhcp/params.pkl', value={'net_mask': '255.255.255.0', 'net_end': '192.168.0.200', 'domain_name': 'example.com', 'dns_1': 'ns1.example.com', 'dns_2': 'ns2.example.com', 'net_start': '192.168.0.100', 'net_gateway': '192.168.0.1', 'net_address': '192.168.0.0'}
\r
350 Wed, 07 May 2008 17:52:34 pymin.services.util DEBUG Persistent._dump_attr('hosts') -> file='var/lib/pymin/pickle/dhcp/hosts.pkl', value={}
\r
351 Wed, 07 May 2008 17:52:34 pymin.services.util DEBUG Persistent._dump_attr('_service_running') -> file='var/lib/pymin/pickle/dhcp/_service_running.pkl', value=False
\r
352 Wed, 07 May 2008 17:52:34 pymin.services.util DEBUG TransactionalHandler.commit: _write_config() present, writing config...
\r
353 Wed, 07 May 2008 17:52:34 pymin.pymindaemon ERROR PyminDaemon.handle: unhandled exception
\r
354 Traceback (most recent call last):
\r
355 File ""/root/baryon/pymin2/pymin/pymindaemon.py"", line 115, in handle
\r
356 result = self.dispatcher.dispatch(unicode(msg, 'utf-8'))
\r
357 File ""/root/baryon/pymin2/pymin/dispatcher.py"", line 550, in dispatch
\r
358 r = handler(*route, **kwargs)
\r
359 File ""/root/baryon/pymin2/pymin/dispatcher.py"", line 226, in wrapper
\r
360 return f(*args, **kwargs)
\r
361 File ""/root/baryon/pymin2/pymin/services/util.py"", line 706, in commit
\r
362 unchanged = self._write_config()
\r
363 File ""/root/baryon/pymin2/pymin/services/util.py"", line 492, in _write_config
\r
364 self._write_single_config(t)
\r
365 File ""/root/baryon/pymin2/pymin/services/util.py"", line 482, in _write_single_config
\r
366 f = file(fname, 'w')
\r
367 IOError: [Errno 2] No such file or directory: 'var/lib/pymin/config/dhcp/dhcpd.conf'
\r
368 Wed, 07 May 2008 17:52:34 pymin.pymindaemon DEBUG PyminDaemon.handle: response u'ERROR 22\nInternal server error\n' to ('10.0.2.2', 32968)
\r
371 13,Invalid,Pymin,Bug,Urgent,dns commit throws internal server error,Leandro Lucarella,Handler: DNS,"",Martin Marrese,05/08/2008,05/11/2008,100,"",05/08/2008 06:26 pm,05/11/2008 06:51 pm,Critical,"Trying to commit the changes made with the dns command, an internal server error is thrown by the server.
\r
376 Internal server error
\r
380 Wed, 07 May 2008 17:52:27 pymin.pymindaemon DEBUG PyminDaemon.handle: message 'dns commit\n' from ('10.0.2.2', 32968)
\r
381 Wed, 07 May 2008 17:52:27 pymin.dispatcher DEBUG Dispatcher.dispatch(u'dns commit\n')
\r
382 Wed, 07 May 2008 17:52:27 pymin.dispatcher DEBUG Dispatcher.dispatch: route=[u'dns', u'commit'], kwargs={}
\r
383 Wed, 07 May 2008 17:52:27 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<config.Root instance at 0xb7a1520c>, route=[u'dns', u'commit']
\r
384 Wed, 07 May 2008 17:52:27 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'dns']
\r
385 Wed, 07 May 2008 17:52:27 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<pymin.services.dns.DnsHandler instance at 0x834798c>, route=[u'commit']
\r
386 Wed, 07 May 2008 17:52:27 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'dns', u'commit']
\r
387 Wed, 07 May 2008 17:52:27 pymin.dispatcher DEBUG Dispatcher.dispatch: <bound method DnsHandler.commit of <pymin.services.dns.DnsHandler instance at 0x834798c>> is a handl
\r
388 er, calling it with route=[], kwargs={}
\r
389 Wed, 07 May 2008 17:52:27 pymin.services.util DEBUG TransactionalHandler.commit()
\r
390 Wed, 07 May 2008 17:52:27 pymin.services.util DEBUG TransactionalHandler.commit: _dump() present, dumping...
\r
391 Wed, 07 May 2008 17:52:27 pymin.services.util DEBUG Persistent._dump_attr('params') -> file='var/lib/pymin/pickle/dns/params.pkl', value={'bind_addr1': u'1.1.1.1', 'bind_add
\r
392 r2': u'2.2.2.2', 'isp_dns1': u'3.3.3.3', 'isp_dns2': u'4.4.4.4'}
\r
393 Wed, 07 May 2008 17:52:27 pymin.services.util DEBUG Persistent._dump_attr('zones') -> file='var/lib/pymin/pickle/dns/zones.pkl', value={u'zona7': Zone(u'zona7', {}, {}, {}),
\r
394 u'zona5': Zone(u'zona5', {}, {}, {}), u'zona4': Zone(u'zona4', {}, {}, {}), u'zona3': Zone(u'zona3', {}, {}, {}), u'zona2': Zone(u'zona2', {}, {}, {}), u'zona1': Zone(u'zona1', {u'
\r
395 host2': Host(u'host2', u'2.2.2.2'), u'host1': Host(u'host1', u'1.1.1.1')}, {u'mx': MailExchange(u'mx', u'1.1.1.1')}, {}), u'zona8': Zone(u'zona8', {}, {}, {})}
\r
396 Wed, 07 May 2008 17:52:27 pymin.services.util DEBUG Persistent._dump_attr('_service_running') -> file='var/lib/pymin/pickle/dns/_service_running.pkl', value=False
\r
397 Wed, 07 May 2008 17:52:27 pymin.services.util DEBUG TransactionalHandler.commit: _write_config() present, writing config...
\r
398 Wed, 07 May 2008 17:52:27 pymin.services.dns DEBUG DnsHandler._write_config()
\r
399 Wed, 07 May 2008 17:52:27 pymin.services.dns DEBUG DnsHandler._write_config: processing zone Zone(u'zona7', {}, {}, {})
\r
400 Wed, 07 May 2008 17:52:27 pymin.pymindaemon ERROR PyminDaemon.handle: unhandled exception
\r
401 Traceback (most recent call last):
\r
402 File ""/root/baryon/pymin2/pymin/pymindaemon.py"", line 115, in handle
\r
403 result = self.dispatcher.dispatch(unicode(msg, 'utf-8'))
\r
404 File ""/root/baryon/pymin2/pymin/dispatcher.py"", line 550, in dispatch
\r
405 r = handler(*route, **kwargs)
\r
406 File ""/root/baryon/pymin2/pymin/dispatcher.py"", line 226, in wrapper
\r
407 return f(*args, **kwargs)
\r
408 File ""/root/baryon/pymin2/pymin/services/util.py"", line 706, in commit
\r
409 unchanged = self._write_config()
\r
410 File ""/root/baryon/pymin2/pymin/services/dns/__init__.py"", line 144, in _write_config
\r
411 self._zone_filename(a_zone), vars)
\r
412 File ""/root/baryon/pymin2/pymin/services/util.py"", line 482, in _write_single_config
\r
413 f = file(fname, 'w')
\r
414 IOError: [Errno 2] No such file or directory: u'var/lib/pymin/config/dns/zones/zona7.zone'
\r
415 Wed, 07 May 2008 17:52:27 pymin.pymindaemon DEBUG PyminDaemon.handle: response u'ERROR 22\nInternal server error\n' to ('10.0.2.2', 32968)
\r
417 12,Fixed,Pymin,Bug,Urgent,ip hop command throws internal server error,Leandro Lucarella,Handler: IP,"",Martin Marrese,05/08/2008,05/10/2008,100,"",05/08/2008 06:04 pm,05/10/2008 01:10 am,Critical,"Running pymin, when trying to executes any of the ip hop commands the response that pymin gives is internal server error.
\r
422 Internal server error
\r
426 Wed, 07 May 2008 13:46:24 pymin.pymindaemon DEBUG PyminDaemon.handle: message 'ip hop list eth0\n' from ('10.0.2.2', 32968)
\r
427 Wed, 07 May 2008 13:46:24 pymin.dispatcher DEBUG Dispatcher.dispatch(u'ip hop list eth0\n')
\r
428 Wed, 07 May 2008 13:46:24 pymin.dispatcher DEBUG Dispatcher.dispatch: route=[u'ip', u'hop', u'list', u'eth0'], kwargs={}
\r
429 Wed, 07 May 2008 13:46:24 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<config.Root instance at 0xb792420c>, route=[u'ip', u'hop', u'list', u'eth0']
\r
430 Wed, 07 May 2008 13:46:24 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'ip']
\r
431 Wed, 07 May 2008 13:46:24 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<pymin.services.ip.IpHandler instance at 0x82c1b4c>, route=[u'hop', u'list', u'eth0']
\r
432 Wed, 07 May 2008 13:46:24 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'ip', u'hop']
\r
433 Wed, 07 May 2008 13:46:24 pymin.dispatcher DEBUG Dispatcher.dispatch: handler=<pymin.services.ip.HopHandler instance at 0x8316b0c>, route=[u'list', u'eth0']
\r
434 Wed, 07 May 2008 13:46:24 pymin.dispatcher DEBUG Dispatcher.dispatch: command=[u'ip', u'hop', u'list']
\r
435 Wed, 07 May 2008 13:46:24 pymin.dispatcher DEBUG Dispatcher.dispatch: <bound method HopHandler.list of <pymin.services.ip.HopHandler instance at 0x8316b0c>> is a handler,
\r
436 Wed, 07 May 2008 13:46:24 pymin.pymindaemon ERROR PyminDaemon.handle: unhandled exceptionTraceback (most recent call last): File ""/root/baryon/pymin2/pymin/pymindaemon.py"", line 115, in handle result = self.dispatcher.dispatch(unicode(msg, 'utf-8')) File ""/root/baryon/pymin2/pymin/dispatcher.py"", line 550, in dispatch r = handler(*route, **kwargs) File ""/root/baryon/pymin2/pymin/dispatcher.py"", line 226, in wrapper return f(*args, **kwargs) File ""/root/baryon/pymin2/pymin/services/ip/__init__.py"", line 79, in list k = self.parent.hops.keys()AttributeError: 'list' object has no attribute 'keys'
\r
437 Wed, 07 May 2008 13:46:24 pymin.pymindaemon DEBUG PyminDaemon.handle: response u'ERROR 22\nInternal server error\n' to ('10.0.2.2', 32968)
\r
440 11,Assigned,Pymin,Task,High,Review and improve the ProcessManager,Leandro Lucarella,Framework,"",Leandro Lucarella,05/16/2008,05/24/2008,80,2.0,05/07/2008 11:01 pm,05/21/2008 03:01 pm,Minor,"There is a difference between currently running processes (services) and processes that are supposed to run at startup. Right now, I think, if a process was running when *pymind* were closed, it will be started at startup, there is no distinction.
\r
442 ProcessManager should be reviewed to see if this is the real behavior and fix it in case is necessary."
443 10,New,Pymin,Bug,High,Remove templated commands,Leandro Lucarella,Handler,"",Leandro Lucarella,05/07/2008,"",0,2.0,05/07/2008 10:56 pm,05/07/2008 10:56 pm,Major,"Some handlers use templates for executing commands, which is a mess (and very error prone because of shell quoting issues). All command execution should be done using the ProcessManager (source:pymin/procman.py)."
444 9,New,Pymin,Task,High,Review and improve the validation code,Leandro Lucarella,Handler,"",Leandro Lucarella,05/07/2008,"",0,2.0,05/07/2008 10:53 pm,05/07/2008 10:53 pm,Minor,"Validation is done using ""formencode"":http://formencode.org/ and it's working but it's probably not complete."
445 8,Won't Get Done,Pymin,Task,Normal,Evaluate the creation of a SetSubHandler,Leandro Lucarella,Framework,"",Leandro Lucarella,06/20/2008,06/20/2008,100,2.0,05/07/2008 10:51 pm,06/20/2008 09:47 pm,Minor,A SetSubHandler could be useful for the Proxy's Host subhandler.
446 7,Done,Pymin,Feature,Normal,Add command line option: log file,Leandro Lucarella,Daemon,"",Leandro Lucarella,06/16/2008,06/19/2008,100,2.0,05/07/2008 10:45 pm,06/22/2008 02:45 am,Minor,"Pymin uses the ""Python's logging facility"":http://docs.python.org/lib/module-logging.html, but no configuration file is provided. The user should be able to control the logging from command line or a configuration file."
447 6,Done,Pymin,Feature,Low,Add command line option: select handlers to use,Leandro Lucarella,Daemon,"",Leandro Lucarella,05/21/2008,06/16/2008,100,2.0,05/07/2008 10:42 pm,06/22/2008 02:45 am,Minor,Now *pymind* always use all available handlers. It can be useful if user can select which handlers it should use via configuration file or command line options.
448 5,Assigned,Pymin,Feature,Urgent,Add command line option for dry run,Leandro Lucarella,Daemon,"",Leandro Lucarella,05/22/2008,05/24/2008,0,3.0,05/07/2008 10:34 pm,05/21/2008 03:08 pm,Blocker,"Now the only way to run *pymind* in dry-run mode, is modifying the source code. A command line (or configuration) option should be used."
449 4,Done,Pymin,Feature,Normal,Add command line option: address:port to bind to,Leandro Lucarella,Daemon,"",Leandro Lucarella,05/21/2008,06/16/2008,100,1.0,05/07/2008 10:30 pm,06/22/2008 02:45 am,Minor,The port and address to bind to should be configurable via command line or configuration option.
450 3,Done,Pymin,Feature,Urgent,Add command line options and/or configuration file framework,Leandro Lucarella,Framework,"",Leandro Lucarella,05/21/2008,06/14/2008,100,20.0,05/07/2008 10:28 pm,06/14/2008 11:43 pm,Blocker,"There are almost no way to control the behavior of *pymind* right now. Command line options and/or a configuration file should be provided to customize the way it's ran in a consistent way. The configuration file should not be a regular python file, it should be something that can be put in _/etc_.
\r
452 Specific command line/configuration options should go into separated (related) issues."
453 2,Done,Pymin,Task,Low,Split large handlers into several files,Leandro Lucarella,Handler,"",Leandro Lucarella,06/18/2008,06/19/2008,100,2.0,05/07/2008 10:21 pm,06/20/2008 10:57 am,Trivial,There are some services that are quite large (source:pymin/services/ip/__init__.py for instance). Splitting them into several files can be more maintainable.
454 1,Assigned,Pymin,Bug,Urgent,Improve debug mode,Leandro Lucarella,Framework,"",Leandro Lucarella,05/21/2008,05/24/2008,0,2.0,05/07/2008 10:12 pm,05/21/2008 03:05 pm,Blocker,"Now debug mode is set modifying the source files, that should be changed."