On 01/15/2016 10:31 AM, o haya wrote:
Hi,
I think that this was because I tried to edit one of the files in the
profiles.d directory using VI/VIM, but after I did that, Cobbler would no
longer start. When I try to start it, I now get this:
[root@cobbler config]# service cobblerd start
Starting cobbler daemon: Traceback (most recent call last):
File "/usr/bin/cobblerd", line 20, in <module>
import cobbler.cobblerd as app
File "/usr/lib/python2.6/site-packages/cobbler/cobblerd.py", line 35, in
<module>
import api as cobbler_api
File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 29, in <module>
import action_sync
File "/usr/lib/python2.6/site-packages/cobbler/action_sync.py", line 35, in
<module>
import templar
File "/usr/lib/python2.6/site-packages/cobbler/templar.py", line 209
data_out = t.respond()
^
IndentationError: unindent does not match any outer indentation level
[FAILED]
I've tried to restore the file I had edited to it's original condition but
still get this error.
Is the fact that there is this file in the profiles.d recorded somewhere else
in Cobbler? The reason I asked is that I even tried to remove the file from
the profiles.d directory completely and still got the same error.
Thanks in advance!
Jim
This looks like the /usr/lib/python2.6/site-packages/cobbler/templar.py
file has the problem
--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA Division FAX: 303-415-9702
3380 Mitchell Lane or...@cora.nwra.com
Boulder, CO 80301 http://www.cora.nwra.com
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org