Hello,
I am running cobbler on a CentOS 5.2 and after upgrading from 1.4.1.1 (latest
epel version) to a source-rebuilt 1.4.2.1 I get this when running "cobbler
sync".
Any idea what is going on?
2009-02-18 11:15:36,830 - api - sync; user(cobbler)
2009-02-18 11:15:36,831 - api - calling authorize for resource ['sync', None,
None]; user(cobbler)
2009-02-18 11:15:36,831 - api - authorization result: True; user(?)
2009-02-18 11:15:36,831 - api - sync
2009-02-18 11:15:38,542 - api - Exception occured: exceptions.NameError
2009-02-18 11:15:38,542 - api - Exception value: global name 'subprocess' is
not defined
2009-02-18 11:15:38,546 - api - Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 792, in
_dispatch
return method_handle(*params)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line 1025, in sync
return self.api.sync()
File "/usr/lib/python2.4/site-packages/cobbler/api.py", line 523, in sync
return sync.run()
File "/usr/lib/python2.4/site-packages/cobbler/action_sync.py", line 128, in
run
self.dhcp.write_dhcp_file()
File "/usr/lib/python2.4/site-packages/cobbler/modules/manage_isc.py", line
169, in write_dhcp_file
self.remove_dhcp_lease(self.settings.omapi_port,hostremove)
File "/usr/lib/python2.4/site-packages/cobbler/modules/manage_isc.py", line
114, in remove_dhcp_lease
fromchild, tochild = popen2([self.settings.omshell_bin])
File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line 1338, in
popen2
p = sub_process.Popen(args, stdout=subprocess.PIPE, stdin=subprocess.PIPE,
**kwargs)
Thank you!
Adrian
________________________________
The information in this e-mail is intended only for the person or entity to
which it is addressed.
It may contain confidential and /or privileged material. If someone other than
the intended recipient should receive this e-mail, he / she shall not be
entitled to read, disseminate, disclose or duplicate it.
If you receive this e-mail unintentionally, please inform us immediately by
"reply" and then delete it from your system. Although this information has been
compiled with great care, neither IMC B.V. nor any of its related entities
shall accept any responsibility for any errors, omissions or other inaccuracies
in this information or for the consequences thereof, nor shall it be bound in
any way by the contents of this e-mail or its attachments. In the event of
incomplete or incorrect transmission, please return the e-mail to the sender
and permanently delete this message and any attachments.
Messages and attachments are scanned for all known viruses. Always scan
attachments before opening them.
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler