Scott Henson wrote:
At Mon, 14 Dec 2009 11:27:55 +0100,
Jonas Hagberg wrote:
> Scott Henson wrote:
>
>> I'm not sure where to go from here. According to the code paths, if you
>> hit that URL, there should be log output saying that cobbler is going to
>> run your install triggers. What are the outputs of those pages? I
>> believe you should get a simple text file that says "True". What do
you
>> actually see?
>>
> I see "True"
>
>> Also can you check your httpd access and error logs to
>> make sure that the cobbler mod_python script is getting run and not
>> erroring in some way?
>>
>>
> No errors.
> And No mail that the system is installed and so on. So something is not
> working..
>
So if you see "True" in the output, you should see a log entry that
run_install_triggers has been called. The only possible problem I can
see is if you have possibly turned down logging? According to the
code path, you can't possibly see "True" as the output of the http
call without getting something in the log file. I am at a loss to see
how you can get one with out the other, sorry.
--
I just updated cobbler.
When I runt the wget command I got True
and in the log I now got
Thu Dec 17 13:24:13 2009 - INFO | REMOTE run_install_triggers; user(?)
But the scripts in /var/lib/cobbler/triggers/install/post dont run. (But
I got install mail at least)
I have a simple bash script like this in post.
#!/bin/bash
echo "Hi, my name is $1 and I'm a newly added system, my ip is $2, and
deg is $3" >/tmp/triggerDEG.log
But nothing happens.
Scott Henson
Red Hat CIS Operator
WVU Alum BSAE/BSME
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
--
-------------------------------------------
Systemexpert jonas.hagberg(a)it.uu.se
Jonas Hagberg tel 018 - 471 1026
UPPMAX fax: 018 - 51 19 25
Uppsala universitet
Box 337, Lägerhyddsv 2E, Hus 4, room 4111
751 05 Uppsala
www.uppmax.uu.se
-------------------------------------------