Closed sashasimkin closed 10 years ago
Ajenti 1.2.14.1 bug report -------------------- Detected platform: debian / debian / Debian GNU/Linux 7.3 (wheezy) Architecture: x86_64 unknown Python: 2.7.3 Installation: 4298429 Debug: False Locale: ('en_US', 'UTF-8') Loaded plugins: resources main taskmgr dashboard services plugins ajenti_org db_common sensors codemirror logs webserver_common cron tasks terminal packages scripts resolv configurator users fm psql fstab notepad power iptables nginx network hosts Traceback (most recent call last): File "/usr/lib/pymodules/python2.7/ajenti/plugins/main/main.py", line 107, in handle_message self.ui.dispatch_event(update['uid'], update['event'], update['params']) File "/usr/lib/pymodules/python2.7/ajenti/ui/__init__.py", line 73, in dispatch_event self.root.dispatch_event(uid, event, params) File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 363, in dispatch_event if child.dispatch_event(uid, event, params): File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 363, in dispatch_event if child.dispatch_event(uid, event, params): File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 363, in dispatch_event if child.dispatch_event(uid, event, params): File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 363, in dispatch_event if child.dispatch_event(uid, event, params): File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 369, in dispatch_event getattr(self, k)(**(params or {})) File "/usr/lib/pymodules/python2.7/ajenti/plugins/services/main.py", line 94, in on_restart self.reverse_event('command', {'command': 'restart'}) File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 396, in reverse_event self.ui.dispatch_event(self.uid, event, params) File "/usr/lib/pymodules/python2.7/ajenti/ui/__init__.py", line 73, in dispatch_event self.root.dispatch_event(uid, event, params) File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 363, in dispatch_event if child.dispatch_event(uid, event, params): File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 363, in dispatch_event if child.dispatch_event(uid, event, params): File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 363, in dispatch_event if child.dispatch_event(uid, event, params): File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 363, in dispatch_event if child.dispatch_event(uid, event, params): File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 359, in dispatch_event self.event(event, params) File "/usr/lib/pymodules/python2.7/ajenti/ui/element.py", line 383, in event getattr(self, 'on_%s' % self_event)(**(params or {})) TypeError: on_command() got an unexpected keyword argument 'command' http://ajenti.org/catcher/view/2577 Log content: 2014-01-17 23:17:43,872 INFO ajenti-panel.<module>(): Using config file /etc/ajenti/config.json 2014-01-17 23:17:43,873 DEBUG compat.Popen(): Popen: git describe --tags 2> /dev/null 2014-01-17 23:17:43,878 DEBUG compat.Popen(): Popen: ['lsb_release', '-sd'] 2014-01-17 23:17:43,983 INFO registry.register_crypt_handler(): registered crypt handler 'sha512_crypt': <class 'passlib.handlers.sha2_crypt.sha512_crypt'> 2014-01-17 23:17:44,031 INFO core.run(): Ajenti 1.2.14.1 running on platform: debian 2014-01-17 23:17:44,032 DEBUG __init__.load(): Loading plugin resources 2014-01-17 23:17:44,033 DEBUG __init__.load(): Loading plugin exports 2014-01-17 23:17:44,033 DEBUG __init__.load_recursive(): Preloading plugin dependency: main 2014-01-17 23:17:44,033 DEBUG __init__.load(): Loading plugin main 2014-01-17 23:17:44,037 DEBUG __init__.load(): Loading plugin exports 2014-01-17 23:17:44,038 DEBUG compat.Popen(): Popen: ['which', 'nfsstat'] 2014-01-17 23:17:44,041 WARNING __init__.load(): *** [exports] skipping due to BinaryDependency (nfsstat) 2014-01-17 23:17:44,042 DEBUG __init__.load(): Loading plugin taskmgr 2014-01-17 23:17:44,063 DEBUG __init__.load(): Loading plugin squid 2014-01-17 23:17:44,063 DEBUG __init__.load_recursive(): Preloading plugin dependency: services 2014-01-17 23:17:44,064 DEBUG __init__.load(): Loading plugin services 2014-01-17 23:17:44,064 DEBUG __init__.load_recursive(): Preloading plugin dependency: dashboard 2014-01-17 23:17:44,064 DEBUG __init__.load(): Loading plugin dashboard 2014-01-17 23:17:44,065 DEBUG __init__.load(): Loading plugin services 2014-01-17 23:17:44,073 DEBUG __init__.load(): Loading plugin squid 2014-01-17 23:17:44,073 DEBUG compat.Popen(): Popen: ['which', 'squid3'] 2014-01-17 23:17:44,077 WARNING __init__.load(): *** [squid] skipping due to BinaryDependency (squid3) 2014-01-17 23:17:44,078 DEBUG __init__.load(): Loading plugin openvpn 2014-01-17 23:17:44,078 DEBUG compat.Popen(): Popen: ['which', 'openvpn'] 2014-01-17 23:17:44,081 WARNING __init__.load(): *** [openvpn] skipping due to BinaryDependency (openvpn) 2014-01-17 23:17:44,082 DEBUG __init__.load(): Loading plugin plugins 2014-01-17 23:17:44,083 DEBUG __init__.load(): Loading plugin ajenti_org 2014-01-17 23:17:44,084 DEBUG __init__.load(): Loading plugin supervisor 2014-01-17 23:17:44,084 DEBUG compat.Popen(): Popen: ['which', 'supervisord'] 2014-01-17 23:17:44,087 WARNING __init__.load(): *** [supervisor] skipping due to BinaryDependency (supervisord) 2014-01-17 23:17:44,088 DEBUG __init__.load(): Loading plugin munin 2014-01-17 23:17:44,088 DEBUG compat.Popen(): Popen: ['which', 'munin-cron'] 2014-01-17 23:17:44,091 WARNING __init__.load(): *** [munin] skipping due to BinaryDependency (munin-cron) 2014-01-17 23:17:44,092 DEBUG __init__.load(): Loading plugin mysql 2014-01-17 23:17:44,092 DEBUG __init__.load_recursive(): Preloading plugin dependency: db_common 2014-01-17 23:17:44,092 DEBUG __init__.load(): Loading plugin db_common 2014-01-17 23:17:44,093 DEBUG __init__.load(): Loading plugin mysql 2014-01-17 23:17:44,093 DEBUG compat.Popen(): Popen: ['which', 'mysql'] 2014-01-17 23:17:44,096 WARNING __init__.load(): *** [mysql] skipping due to BinaryDependency (mysql) 2014-01-17 23:17:44,097 DEBUG __init__.load(): Loading plugin lm_sensors 2014-01-17 23:17:44,097 DEBUG compat.Popen(): Popen: ['which', 'sensors'] 2014-01-17 23:17:44,100 WARNING __init__.load(): *** [lm_sensors] skipping due to BinaryDependency (sensors) 2014-01-17 23:17:44,100 DEBUG __init__.load(): Loading plugin sensors 2014-01-17 23:17:44,102 DEBUG __init__.load(): Loading plugin codemirror 2014-01-17 23:17:44,103 DEBUG __init__.load(): Loading plugin memcache 2014-01-17 23:17:44,104 DEBUG compat.Popen(): Popen: ['which', 'memcached'] 2014-01-17 23:17:44,107 WARNING __init__.load(): *** [memcache] skipping due to BinaryDependency (memcached) 2014-01-17 23:17:44,107 DEBUG __init__.load(): Loading plugin dhcpd 2014-01-17 23:17:44,108 DEBUG compat.Popen(): Popen: ['which', 'dhcpd'] 2014-01-17 23:17:44,111 WARNING __init__.load(): *** [dhcpd] skipping due to BinaryDependency (dhcpd) 2014-01-17 23:17:44,111 DEBUG __init__.load(): Loading plugin logs 2014-01-17 23:17:44,112 DEBUG __init__.load(): Loading plugin webserver_common 2014-01-17 23:17:44,113 DEBUG __init__.load(): Loading plugin samba 2014-01-17 23:17:44,113 DEBUG compat.Popen(): Popen: ['which', 'smbd'] 2014-01-17 23:17:44,116 WARNING __init__.load(): *** [samba] skipping due to BinaryDependency (smbd) 2014-01-17 23:17:44,117 DEBUG __init__.load(): Loading plugin nsd 2014-01-17 23:17:44,117 DEBUG compat.Popen(): Popen: ['which', 'nsd'] 2014-01-17 23:17:44,120 WARNING __init__.load(): *** [nsd] skipping due to BinaryDependency (nsd) 2014-01-17 23:17:44,120 DEBUG __init__.load(): Loading plugin tasks 2014-01-17 23:17:44,121 DEBUG __init__.load_recursive(): Preloading plugin dependency: cron 2014-01-17 23:17:44,121 DEBUG __init__.load(): Loading plugin cron 2014-01-17 23:17:44,121 DEBUG compat.Popen(): Popen: ['which', 'crontab'] 2014-01-17 23:17:44,125 DEBUG __init__.load(): Loading plugin tasks 2014-01-17 23:17:44,134 DEBUG __init__.load(): Loading plugin ctdb 2014-01-17 23:17:44,134 DEBUG compat.Popen(): Popen: ['which', 'ctdb'] 2014-01-17 23:17:44,138 WARNING __init__.load(): *** [ctdb] skipping due to BinaryDependency (ctdb) 2014-01-17 23:17:44,138 DEBUG __init__.load(): Loading plugin elements 2014-01-17 23:17:44,138 WARNING __init__.load(): *** [elements] Plugin error: format error 2014-01-17 23:17:44,138 DEBUG __init__.load(): Loading plugin apache 2014-01-17 23:17:44,139 DEBUG compat.Popen(): Popen: ['which', 'apache2'] 2014-01-17 23:17:44,142 WARNING __init__.load(): *** [apache] skipping due to BinaryDependency (apache2) 2014-01-17 23:17:44,142 DEBUG __init__.load(): Loading plugin packages 2014-01-17 23:17:44,142 DEBUG __init__.load_recursive(): Preloading plugin dependency: terminal 2014-01-17 23:17:44,143 DEBUG __init__.load(): Loading plugin terminal 2014-01-17 23:17:44,153 DEBUG __init__.load(): Loading plugin packages 2014-01-17 23:17:44,154 DEBUG __init__.load(): Loading plugin scripts 2014-01-17 23:17:44,155 DEBUG __init__.load(): Loading plugin resolv 2014-01-17 23:17:44,156 DEBUG __init__.load(): Loading plugin hddtemp 2014-01-17 23:17:44,156 DEBUG compat.Popen(): Popen: ['which', 'hddtemp'] 2014-01-17 23:17:44,160 WARNING __init__.load(): *** [hddtemp] skipping due to BinaryDependency (hddtemp) 2014-01-17 23:17:44,160 DEBUG __init__.load(): Loading plugin megaraid 2014-01-17 23:17:44,160 WARNING __init__.load(): *** [megaraid] skipping due to FileDependency (/opt/MegaRAID/MegaCli/MegaCli) 2014-01-17 23:17:44,161 DEBUG __init__.load(): Loading plugin netatalk 2014-01-17 23:17:44,161 DEBUG compat.Popen(): Popen: ['which', 'afpd'] 2014-01-17 23:17:44,164 WARNING __init__.load(): *** [netatalk] skipping due to BinaryDependency (afpd) 2014-01-17 23:17:44,164 DEBUG __init__.load(): Loading plugin apcups 2014-01-17 23:17:44,165 DEBUG compat.Popen(): Popen: ['which', 'apcaccess'] 2014-01-17 23:17:44,168 WARNING __init__.load(): *** [apcups] skipping due to BinaryDependency (apcaccess) 2014-01-17 23:17:44,168 DEBUG __init__.load(): Loading plugin configurator 2014-01-17 23:17:44,169 DEBUG __init__.load(): Loading plugin bind9 2014-01-17 23:17:44,170 DEBUG compat.Popen(): Popen: ['which', 'named'] 2014-01-17 23:17:44,173 WARNING __init__.load(): *** [bind9] skipping due to BinaryDependency (named) 2014-01-17 23:17:44,174 DEBUG __init__.load(): Loading plugin users 2014-01-17 23:17:44,175 DEBUG __init__.load(): Loading plugin fm 2014-01-17 23:17:44,177 DEBUG __init__.load(): Loading plugin psql 2014-01-17 23:17:44,177 DEBUG compat.Popen(): Popen: ['which', 'psql'] 2014-01-17 23:17:44,181 DEBUG __init__.load(): Loading plugin fstab 2014-01-17 23:17:44,186 DEBUG __init__.load(): Loading plugin notepad 2014-01-17 23:17:44,187 DEBUG __init__.load(): Loading plugin power 2014-01-17 23:17:44,187 DEBUG __init__.load(): Loading plugin iptables 2014-01-17 23:17:44,189 DEBUG __init__.load(): Loading plugin nginx 2014-01-17 23:17:44,189 DEBUG compat.Popen(): Popen: ['which', 'nginx'] 2014-01-17 23:17:44,193 DEBUG __init__.load(): Loading plugin network 2014-01-17 23:17:44,196 DEBUG __init__.load(): Loading plugin hosts 2014-01-17 23:17:44,197 DEBUG __init__.load(): Loading plugin ipmi 2014-01-17 23:17:44,197 DEBUG compat.Popen(): Popen: ['which', 'ipmitool'] 2014-01-17 23:17:44,201 WARNING __init__.load(): *** [ipmi] skipping due to BinaryDependency (ipmitool) 2014-01-17 23:17:44,201 DEBUG __init__.load(): Loading plugin smartctl 2014-01-17 23:17:44,201 DEBUG compat.Popen(): Popen: ['which', 'smartctl'] 2014-01-17 23:17:44,205 WARNING __init__.load(): *** [smartctl] skipping due to BinaryDependency (smartctl) 2014-01-17 23:17:44,205 DEBUG __init__.load(): Loading plugin raid 2014-01-17 23:17:44,205 DEBUG compat.Popen(): Popen: ['which', 'mdadm'] 2014-01-17 23:17:44,208 WARNING __init__.load(): *** [raid] skipping due to BinaryDependency (mdadm) 2014-01-17 23:17:44,209 INFO core.run(): Starting server on (u'0.0.0.0', 8001) 2014-01-17 23:17:44,287 DEBUG inflater.precache(): Precaching layout taskmgr:main 2014-01-17 23:17:44,292 DEBUG inflater.precache(): Precaching layout dashboard:dash 2014-01-17 23:17:44,294 DEBUG inflater.precache(): Precaching layout dashboard:welcome 2014-01-17 23:17:44,294 DEBUG inflater.precache(): Precaching layout dashboard:text 2014-01-17 23:17:44,295 DEBUG inflater.precache(): Precaching layout services:widget 2014-01-17 23:17:44,296 DEBUG inflater.precache(): Precaching layout services:main 2014-01-17 23:17:44,298 DEBUG inflater.precache(): Precaching layout services:bar 2014-01-17 23:17:44,298 DEBUG inflater.precache(): Precaching layout plugins:main 2014-01-17 23:17:44,304 DEBUG compat.Popen(): Popen: ['which', ''] 2014-01-17 23:17:44,310 DEBUG inflater.precache(): Precaching layout ajenti_org:main 2014-01-17 23:17:44,313 DEBUG inflater.precache(): Precaching layout ajenti_org:config 2014-01-17 23:17:44,313 DEBUG inflater.precache(): Precaching layout db_common:main 2014-01-17 23:17:44,317 DEBUG inflater.precache(): Precaching layout sensors:value-widget 2014-01-17 23:17:44,318 DEBUG inflater.precache(): Precaching layout sensors:cpu-widget 2014-01-17 23:17:44,319 DEBUG inflater.precache(): Precaching layout sensors:cpu-line 2014-01-17 23:17:44,320 DEBUG inflater.precache(): Precaching layout sensors:progressbar-widget 2014-01-17 23:17:44,321 DEBUG inflater.precache(): Precaching layout logs:main 2014-01-17 23:17:44,322 DEBUG inflater.precache(): Precaching layout webserver_common:main 2014-01-17 23:17:44,324 DEBUG inflater.precache(): Precaching layout cron:main 2014-01-17 23:17:44,331 DEBUG inflater.precache(): Precaching layout tasks:main 2014-01-17 23:17:44,343 DEBUG inflater.precache(): Precaching layout tasks:params-rsync 2014-01-17 23:17:44,345 DEBUG inflater.precache(): Precaching layout tasks:params-copydir 2014-01-17 23:17:44,347 DEBUG inflater.precache(): Precaching layout tasks:params-execute 2014-01-17 23:17:44,347 DEBUG inflater.precache(): Precaching layout terminal:main 2014-01-17 23:17:44,348 DEBUG inflater.precache(): Precaching layout terminal:config 2014-01-17 23:17:44,349 DEBUG inflater.precache(): Precaching layout packages:row 2014-01-17 23:17:44,350 DEBUG inflater.precache(): Precaching layout packages:main 2014-01-17 23:17:44,355 DEBUG inflater.precache(): Precaching layout packages:installer 2014-01-17 23:17:44,355 DEBUG inflater.precache(): Precaching layout packages:headers 2014-01-17 23:17:44,355 DEBUG inflater.precache(): Precaching layout scripts:widget 2014-01-17 23:17:44,357 DEBUG inflater.precache(): Precaching layout resolv:main 2014-01-17 23:17:44,358 DEBUG inflater.precache(): Precaching layout configurator:main 2014-01-17 23:17:44,365 DEBUG inflater.precache(): Precaching layout configurator:ldap-sync-config 2014-01-17 23:17:44,366 DEBUG inflater.precache(): Precaching layout configurator:ad-sync-config 2014-01-17 23:17:44,367 DEBUG inflater.precache(): Precaching layout users:main 2014-01-17 23:17:44,374 DEBUG inflater.precache(): Precaching layout users:user-list 2014-01-17 23:17:44,375 DEBUG inflater.precache(): Precaching layout fm:main 2014-01-17 23:17:44,385 DEBUG inflater.precache(): Precaching layout fm:config 2014-01-17 23:17:44,386 DEBUG inflater.precache(): Precaching layout fstab:widget 2014-01-17 23:17:44,387 DEBUG inflater.precache(): Precaching layout fstab:main 2014-01-17 23:17:44,391 DEBUG inflater.precache(): Precaching layout fstab:free-widget 2014-01-17 23:17:44,392 DEBUG inflater.precache(): Precaching layout fstab:iio-widget 2014-01-17 23:17:44,393 DEBUG inflater.precache(): Precaching layout notepad:main 2014-01-17 23:17:44,395 DEBUG inflater.precache(): Precaching layout notepad:config 2014-01-17 23:17:44,396 DEBUG inflater.precache(): Precaching layout notepad:listitem 2014-01-17 23:17:44,396 DEBUG inflater.precache(): Precaching layout power:widget 2014-01-17 23:17:44,398 DEBUG inflater.precache(): Precaching layout iptables:main 2014-01-17 23:17:44,401 DEBUG inflater.precache(): Precaching layout iptables:option-interface 2014-01-17 23:17:44,402 DEBUG inflater.precache(): Precaching layout iptables:option-match 2014-01-17 23:17:44,403 DEBUG inflater.precache(): Precaching layout iptables:option-protocol 2014-01-17 23:17:44,403 DEBUG inflater.precache(): Precaching layout iptables:option-ports 2014-01-17 23:17:44,404 DEBUG inflater.precache(): Precaching layout iptables:option-custom 2014-01-17 23:17:44,405 DEBUG inflater.precache(): Precaching layout iptables:option-state 2014-01-17 23:17:44,405 DEBUG inflater.precache(): Precaching layout iptables:option-address 2014-01-17 23:17:44,406 DEBUG inflater.precache(): Precaching layout iptables:option-port 2014-01-17 23:17:44,406 DEBUG inflater.precache(): Precaching layout iptables:option 2014-01-17 23:17:44,407 DEBUG inflater.precache(): Precaching layout iptables:option-reject-with 2014-01-17 23:17:44,408 DEBUG inflater.precache(): Precaching layout network:bit-linux-basic 2014-01-17 23:17:44,408 DEBUG inflater.precache(): Precaching layout network:widget 2014-01-17 23:17:44,409 DEBUG inflater.precache(): Precaching layout network:main 2014-01-17 23:17:44,412 DEBUG inflater.precache(): Precaching layout network:bit-linux-ifupdown 2014-01-17 23:17:44,413 DEBUG inflater.precache(): Precaching layout network:bit-linux-dhcp 2014-01-17 23:17:44,414 DEBUG inflater.precache(): Precaching layout network:bit-linux-ipv4 2014-01-17 23:17:44,415 DEBUG inflater.precache(): Precaching layout hosts:main 2014-01-17 23:17:44,498 DEBUG feedback.send(): Feedback >> ping ({'edition': 'vanilla', 'version': '1.2.14.1', 'os': 'debian', 'id': 22197}) 2014-01-17 23:17:44,728 DEBUG feedback.send(): Feedback << {"status": "ok"} 2014-01-17 23:18:14,561 DEBUG compat.Popen(): Popen: ['df', '-P'] 2014-01-17 23:18:14,585 DEBUG compat.Popen(): Popen: ['ifconfig', 'lo'] 2014-01-17 23:18:14,589 DEBUG compat.Popen(): Popen: ['ifconfig', 'eth0'] 2014-01-17 23:18:14,624 DEBUG compat.Popen(): Popen: ['which', 'pm-suspend'] 2014-01-17 23:18:14,628 DEBUG compat.Popen(): Popen: ['which', 'pm-hibernate'] 2014-01-17 23:18:39,565 DEBUG compat.Popen(): Popen: ['/etc/init.d/nginx', 'status'] 2014-01-17 23:18:39,572 DEBUG compat.Popen(): Popen: ['/etc/init.d/nginx', 'status'] 2014-01-17 23:18:39,584 DEBUG compat.Popen(): Popen: ['/etc/init.d/nginx', 'status'] 2014-01-17 23:18:39,591 DEBUG compat.Popen(): Popen: ['/etc/init.d/nginx', 'status'] 2014-01-18 08:53:34,028 DEBUG compat.Popen(): Popen: ['df', '-P'] 2014-01-18 08:53:34,063 DEBUG compat.Popen(): Popen: ['ifconfig', 'lo'] 2014-01-18 08:53:34,070 DEBUG compat.Popen(): Popen: ['ifconfig', 'eth0'] 2014-01-18 08:53:34,113 DEBUG compat.Popen(): Popen: ['which', 'pm-suspend'] 2014-01-18 08:53:34,118 DEBUG compat.Popen(): Popen: ['which', 'pm-hibernate'] 2014-01-18 08:55:52,828 DEBUG compat.Popen(): Popen: ['/etc/init.d/nginx', 'status'] 2014-01-18 08:55:52,844 DEBUG compat.Popen(): Popen: ['/etc/init.d/nginx', 'status'] 2014-01-18 08:55:52,853 DEBUG compat.Popen(): Popen: ['/etc/init.d/nginx', 'status'] 2014-01-18 08:55:52,862 DEBUG compat.Popen(): Popen: ['/etc/init.d/nginx', 'status'] 2014-01-18 08:58:50,402 DEBUG compat.Popen(): Popen: ['/etc/init.d/nginx', 'status'] 2014-01-18 08:58:50,412 DEBUG compat.Popen(): Popen: ['/etc/init.d/nginx', 'status'] 2014-01-18 08:58:58,407 DEBUG compat.Popen(): Popen: ['/etc/init.d/nginx', 'status'] 2014-01-18 08:58:58,416 DEBUG compat.Popen(): Popen: ['/etc/init.d/nginx', 'status'] 2014-01-18 08:59:00,438 DEBUG compat.Popen(): Popen: ['/etc/init.d/nginx', 'restart'] 2014-01-18 08:59:01,523 DEBUG compat.Popen(): Popen: ['/etc/init.d/nginx', 'status'] 2014-01-18 08:59:01,537 DEBUG compat.Popen(): Popen: ['/etc/init.d/nginx', 'status']
Fixed in 1.2.15.