Feedback on installation

Jesus M. Rodriguez jmrodri at gmail.com
Mon Aug 29 18:39:55 UTC 2011


Thanks for the feedback Cliff. I've created the following bugzilla to
resolve the issue:

https://bugzilla.redhat.com/show_bug.cgi?id=734214

jesus

On Mon, Aug 29, 2011 at 2:28 PM, Cliff Perry <cperry at redhat.com> wrote:
> During install running:
>
> /usr/share/candlepin/cpsetup
>
> I hit an error state (message no longer in my terminal buffer).
>
>    tsetup.restart()
>
>    print("Waiting for tomcat to restart...")
>    time.sleep(5)
>
>    run_command("wget -qO- http://localhost:8080/candlepin/admin/init")
>
> In short, tomcat was not ready by the time the count of 5 completed and
> the wget failed. I manually ran the command and it worked and finished
> off the install.
>
> Take a look at the wait_for_tomcat routine used in spacewalk as an
> example implementation of polling tomcat and once it is up do stuff, vs
> blindly hitting it:
>
> http://git.fedorahosted.org/git/?p=spacewalk.git;a=blob;f=spacewalk/setup/bin/spacewalk-setup;h=114817f6155637164dc04e8ea203c413de745e24;hb=28be9373d18952ef29b938175ac465a6e7d21b63#l1385
>
>
> Cliff
> _______________________________________________
> candlepin mailing list
> candlepin at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/candlepin
>



More information about the candlepin mailing list