Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iptables bug on CentOS 6.4 #110

Closed
amq opened this issue Aug 16, 2013 · 1 comment
Closed

iptables bug on CentOS 6.4 #110

amq opened this issue Aug 16, 2013 · 1 comment

Comments

@amq
Copy link

amq commented Aug 16, 2013

Ajenti 0.99.34 bug report

Detected platform: centos / centos / Linux 2.6.32-358.14.1.el6.x86_64 x86_64

Architecture: x86_64 x86_64

Python: 2.6.6
Installation: 11293911
Debug: False
Locale: ('en_US', 'UTF8')
Loaded plugins:
main dashboard services users terminal scripts webserver_common logs packages cron fm hosts db_common smartctl resolv codemirror notepad taskmgr sensors resources iptables configurator network nginx ajenti_org fstab mysql munin raid power plugins

Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/ajenti/plugins/main/main.py", line 102, in on_message
self.ui.dispatch_event(update['uid'], update['event'], update['params'])
File "/usr/lib/python2.6/site-packages/ajenti/ui/init.py", line 64, in dispatch_event
self.root.dispatch_event(uid, event, params)
File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 315, in dispatch_event
if child.dispatch_event(uid, event, params):
File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 315, in dispatch_event
if child.dispatch_event(uid, event, params):
File "/usr/lib/python2.6/site-packages/ajenti/ui/element.py", line 321, in dispatch_event
getattr(self, k)(**(params or {}))
File "/usr/lib/python2.6/site-packages/ajenti/plugins/iptables/main.py", line 180, in apply
self.save()
File "/usr/lib/python2.6/site-packages/ajenti/plugins/iptables/main.py", line 171, in save
self.config.save()
File "/usr/lib/python2.6/site-packages/reconfigure/configs/base.py", line 55, in save
result[k or self.origin] = self.parser.stringify(nodetree[k])
File "/usr/lib/python2.6/site-packages/reconfigure/parsers/iptables.py", line 66, in stringify
for o in item.children
File "/usr/lib/python2.6/site-packages/reconfigure/parsers/iptables.py", line 67, in
if o.name == 'option'
AttributeError: 'NoneType' object has no attribute 'value'

http://ajenti.org/catcher/view/1535

Log content:
2013-08-16 21:36:31,310 INFO registry.register_crypt_handler(): registered crypt handler 'sha512_crypt': <class 'passlib.handlers.sha2_crypt.sha512_crypt'>
2013-08-16 21:36:31,337 INFO core.run(): Ajenti 0.99.34 running on platform: centos
2013-08-16 21:36:31,337 DEBUG init.load(): Loading plugin megaraid
2013-08-16 21:36:31,338 DEBUG init.load_recursive(): Preloading plugin dependency: main
2013-08-16 21:36:31,338 DEBUG init.load(): Loading plugin main
2013-08-16 21:36:31,356 DEBUG init.load(): Loading plugin megaraid
2013-08-16 21:36:31,356 WARNING init.load(): *** [megaraid] skipping due to FileDependency (/opt/MegaRAID/MegaCli/MegaCli)
2013-08-16 21:36:31,357 DEBUG init.load(): Loading plugin supervisor
2013-08-16 21:36:31,357 DEBUG init.load_recursive(): Preloading plugin dependency: services
2013-08-16 21:36:31,357 DEBUG init.load(): Loading plugin services
2013-08-16 21:36:31,358 DEBUG init.load_recursive(): Preloading plugin dependency: dashboard
2013-08-16 21:36:31,358 DEBUG init.load(): Loading plugin dashboard
2013-08-16 21:36:31,360 DEBUG init.load(): Loading plugin services
2013-08-16 21:36:31,382 DEBUG init.load(): Loading plugin supervisor
2013-08-16 21:36:31,397 WARNING init.load(): *** [supervisor] skipping due to BinaryDependency (supervisord)
2013-08-16 21:36:31,399 DEBUG init.load(): Loading plugin ctdb
2013-08-16 21:36:31,412 WARNING init.load(): *** [ctdb] skipping due to BinaryDependency (ctdb)
2013-08-16 21:36:31,412 DEBUG init.load(): Loading plugin users
2013-08-16 21:36:31,414 DEBUG init.load(): Loading plugin exports
2013-08-16 21:36:31,425 WARNING init.load(): *** [exports] skipping due to BinaryDependency (nfsstat)
2013-08-16 21:36:31,425 DEBUG init.load(): Loading plugin netatalk
2013-08-16 21:36:31,436 WARNING init.load(): *** [netatalk] skipping due to BinaryDependency (afpd)
2013-08-16 21:36:31,437 DEBUG init.load(): Loading plugin dhcpd
2013-08-16 21:36:31,448 WARNING init.load(): *** [dhcpd] skipping due to BinaryDependency (dhcpd)
2013-08-16 21:36:31,448 DEBUG init.load(): Loading plugin scripts
2013-08-16 21:36:31,449 DEBUG init.load_recursive(): Preloading plugin dependency: terminal
2013-08-16 21:36:31,449 DEBUG init.load(): Loading plugin terminal
2013-08-16 21:36:31,462 DEBUG init.load(): Loading plugin scripts
2013-08-16 21:36:31,463 DEBUG init.load(): Loading plugin squid
2013-08-16 21:36:31,474 WARNING init.load(): *** [squid] skipping due to BinaryDependency (squid3)
2013-08-16 21:36:31,475 DEBUG init.load(): Loading plugin apache
2013-08-16 21:36:31,476 DEBUG init.load_recursive(): Preloading plugin dependency: webserver_common
2013-08-16 21:36:31,476 DEBUG init.load(): Loading plugin webserver_common
2013-08-16 21:36:31,477 DEBUG init.load(): Loading plugin apache
2013-08-16 21:36:31,487 WARNING init.load(): *** [apache] skipping due to BinaryDependency (apache2)
2013-08-16 21:36:31,488 DEBUG init.load(): Loading plugin lm-sensors
2013-08-16 21:36:31,498 WARNING init.load(): *** [lm-sensors] skipping due to BinaryDependency (sensors)
2013-08-16 21:36:31,499 DEBUG init.load(): Loading plugin logs
2013-08-16 21:36:31,500 DEBUG init.load(): Loading plugin packages
2013-08-16 21:36:31,503 DEBUG init.load(): Loading plugin bind9
2013-08-16 21:36:31,514 WARNING init.load(): *** [bind9] skipping due to BinaryDependency (named)
2013-08-16 21:36:31,515 DEBUG init.load(): Loading plugin cron
2013-08-16 21:36:31,527 DEBUG init.load(): Loading plugin fm
2013-08-16 21:36:31,530 DEBUG init.load(): Loading plugin hosts
2013-08-16 21:36:31,535 DEBUG init.load(): Loading plugin psql
2013-08-16 21:36:31,535 DEBUG init.load_recursive(): Preloading plugin dependency: db_common
2013-08-16 21:36:31,536 DEBUG init.load(): Loading plugin db_common
2013-08-16 21:36:31,536 DEBUG init.load(): Loading plugin psql
2013-08-16 21:36:31,547 WARNING init.load(): *** [psql] skipping due to BinaryDependency (psql)
2013-08-16 21:36:31,547 DEBUG init.load(): Loading plugin smartctl
2013-08-16 21:36:31,560 DEBUG init.load(): Loading plugin resolv
2013-08-16 21:36:31,561 DEBUG init.load(): Loading plugin samba
2013-08-16 21:36:31,572 WARNING init.load(): *** [samba] skipping due to BinaryDependency (smbd)
2013-08-16 21:36:31,573 DEBUG init.load(): Loading plugin notepad
2013-08-16 21:36:31,573 DEBUG init.load_recursive(): Preloading plugin dependency: codemirror
2013-08-16 21:36:31,574 DEBUG init.load(): Loading plugin codemirror
2013-08-16 21:36:31,574 DEBUG init.load(): Loading plugin notepad
2013-08-16 21:36:31,575 DEBUG init.load(): Loading plugin taskmgr
2013-08-16 21:36:31,600 DEBUG init.load(): Loading plugin sensors
2013-08-16 21:36:31,602 DEBUG init.load(): Loading plugin openvpn
2013-08-16 21:36:31,614 WARNING init.load(): *** [openvpn] skipping due to BinaryDependency (openvpn)
2013-08-16 21:36:31,614 DEBUG init.load(): Loading plugin resources
2013-08-16 21:36:31,616 DEBUG init.load(): Loading plugin iptables
2013-08-16 21:36:31,619 DEBUG init.load(): Loading plugin memcache
2013-08-16 21:36:31,633 WARNING init.load(): *** [memcache] skipping due to BinaryDependency (memcached)
2013-08-16 21:36:31,634 DEBUG init.load(): Loading plugin nsd
2013-08-16 21:36:31,647 WARNING init.load(): *** [nsd] skipping due to BinaryDependency (nsd)
2013-08-16 21:36:31,648 DEBUG init.load(): Loading plugin configurator
2013-08-16 21:36:31,650 DEBUG init.load(): Loading plugin hddtemp
2013-08-16 21:36:31,661 WARNING init.load(): *** [hddtemp] skipping due to BinaryDependency (hddtemp)
2013-08-16 21:36:31,661 DEBUG init.load(): Loading plugin network
2013-08-16 21:36:31,665 DEBUG init.load(): Loading plugin nginx
2013-08-16 21:36:31,678 DEBUG init.load(): Loading plugin ajenti_org
2013-08-16 21:36:31,680 DEBUG init.load(): Loading plugin fstab
2013-08-16 21:36:31,682 DEBUG init.load(): Loading plugin mysql
2013-08-16 21:36:31,694 DEBUG init.load(): Loading plugin munin
2013-08-16 21:36:31,720 DEBUG init.load(): Loading plugin raid
2013-08-16 21:36:31,735 DEBUG init.load(): Loading plugin power
2013-08-16 21:36:31,736 DEBUG init.load(): Loading plugin plugins
2013-08-16 21:36:31,758 INFO core.start(): Starting SSL tunnel for port 55100
2013-08-16 21:36:32,287 INFO core.run(): SSL tunnel running fine
2013-08-16 21:36:32,287 INFO core.run(): Starting server on (u'127.0.0.1', 55100)
2013-08-16 21:36:32,290 DEBUG feedback.send(): Feedback >> ping ({'id': 3990})
2013-08-16 21:36:32,294 INFO connectionpool._new_conn(): Starting new HTTP connection (1): meta.ajenti.org
2013-08-16 21:36:33,484 DEBUG connectionpool._make_request(): "POST /api/v2/ping HTTP/1.1" 200 36
2013-08-16 21:36:33,485 DEBUG feedback.send(): Feedback << {"status": "ok"}

@Eugeny
Copy link
Member

Eugeny commented Aug 16, 2013

Fixed in Reconfigure 0.1.20 (please update that package)

@Eugeny Eugeny closed this as completed Aug 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants