From: beaker-devel-bounces@lists.fedorahosted.org [mailto:beaker-devel-bounces@lists.fedorahosted.org] On Behalf Of Raymond Mancy
Sent: Wednesday, April 27, 2011 5:34 PM
To: List for the development of the Beaker project
Subject: Re: [Beaker-devel] error messages

 

 


From: "Sunil Gupta2" <Sunil_Gupta2@Dell.com>
To: beaker-devel@lists.fedorahosted.org
Sent: Wednesday, April 27, 2011 4:44:41 PM
Subject: Re: [Beaker-devel] error messages


Hello Raymond,

 

As you suggested I changed the directory permission of file /usr/lib/python2.4/site-packages/turbogears/widgets/static/spinnerstopped.png to

I didn't mean to infer that you should change the permissions. I just wanted to make sure that nothing insane had happened
where apache couldn't read the file (which I assume was not the case anyway..).

 apache,root and restarted the beakerd and

Got the below message

 

Stopping beakerd: [FAILED]

Starting beakerd: Traceback (most recent call last):

  File "/usr/bin/beakerd", line 8, in ?

    sys.exit(

  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 236, in load_entry_point

    return get_distribution(dist).load_entry_point(group, name)

  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 2097, in load_entry_point

    return ep.load()

  File "/usr/lib/python2.4/site-packages/pkg_resources.py", line 1830, in load

    entry = __import__(self.module_name, globals(),globals(), ['__name__'])

  File "/usr/lib/python2.4/site-packages/bkr/server/tools/beakerd.py", line 32, in ?

    from turbomail.control import interface

ImportError: No module named control

[FAILED]

 

After that I revert back to original permission set but got no luck starting the server.  The control module is present in place

 

/usr/lib/python2.4/site-packages/turbomail/control.py

/usr/lib/python2.4/site-packages/turbomail/control.pyc

/usr/lib/python2.4/site-packages/turbomail/control.pyo

 

I have no idea what is breaking now . I understand the TurboMail

What version of TurboMail do you have ?

>>Python-TurboMail-3.0-1.el5 is the version installed

 

is for setting the infra to send the mail from server , the other error in pkg_resources.py is related entry point which I am not aware of. Further I am implementing the beaker on rhel5.6 is the server suitable for beaker?

 

It should be fine, as long as you are getting the supporting packages from our repo and not from somewhere else (i.e epel)

It will be very helpful if you can send the bullet points which are must to run the server and successfully run the jobs.  I am attaching the ks-script-xxx.log as well.

 

 

If you take a look at that log you will see it's littered with 404. Can you double check the repos that it's referring to.

I have corrected the dns lookup and now it works. I have disabled the beaker-distro1.repo cause it points to a repo which does not exist…there are other links mentioned in httpd/conf.d/beaker-server.conf  which do not work

#yum repolist

Loaded plugins: rhnplugin

This system is not registered with RHN.

RHN support will be disabled.

repo id                                                              repo name                                                                         status

core-0                                                               core-0                                                                            20,352

core-1                                                               core-1                                                                             3,392

core-2                                                               core-2                                                                             3,392

core-3                                                               core-3                                                                             3,392

core-4                                                               core-4                                                                             3,392

rhel6                                                                RHEL 6Server x86_64                                                                3,391

repolist: 37,311

--Sunil

 

 

From: beaker-devel-bounces@lists.fedorahosted.org [mailto:beaker-devel-bounces@lists.fedorahosted.org] On Behalf Of Raymond Mancy
Sent: Wednesday, April 27, 2011 6:21 AM
To: List for the development of the Beaker project
Subject: Re: [Beaker-devel] error messages

 

 


From: "Sunil Gupta2" <Sunil_Gupta2@Dell.com>
To: beaker-devel@lists.fedorahosted.org
Sent: Tuesday, April 26, 2011 2:20:53 PM
Subject: [Beaker-devel] error messages

Hello List,

 

I have couple of problems implementing beaker. When I submit the job It always remains in queue I am able to provision the server and submit the jobs I am attaching the jobs xml file and the ks-xxx file

 

Further I am getting the errors in server.log file is it the cause of the problem?

 

Unable to read motd

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/bkr/server/motd.py", line 11, in ?

    the_motd = etree.tostring(tree.getroot())

  File "lxml.etree.pyx", line 2469, in lxml.etree.tostring (src/lxml/lxml.etree.c:24304)

TypeError: Type '<type 'NoneType'>' cannot be serialized.

Unable to read motd

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/bkr/server/motd.py", line 11, in ?

    the_motd = etree.tostring(tree.getroot())

  File "lxml.etree.pyx", line 2469, in lxml.etree.tostring (src/lxml/lxml.etree.c:24304)

TypeError: Type '' cannot be serialized.

Hmm, did you populate the motd.txt file? If you have, you don't need to, You can just delete it. It's only there if you want a 'message of the day'.
If you did want to use it, you need to put markup in there, like <span>this is my motd</span>. I've created a BZ to remind myself
to change the name from .txt to .xml in an effort to avoid confusion https://bugzilla.redhat.com/show_bug.cgi?id=699935

This shouldn't be causing a problem though as it's being caught in the code and merely logging the error.

26/Apr/2011:14:50:03 HTTP INFO Page handler: "The path '/bkr/tg_widgets/turbogears.widgets/spinnerstopped.png' was not found."

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 121, in _run

    self.main()

  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line 256, in main


 


That directory I think it's looking for this file /usr/lib/python2.4/site-packages/turbogears/widgets/static/spinnerstopped.png
I'm assuming that the apache user has read access to that file?
What's your webpath set to in server.cfg?
Either way, that should have nothing to do with your running jobs problem.


Are you able to get the .log version of the attached ks-script ?

--Sunil


_______________________________________________
Beaker-devel mailing list
Beaker-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/beaker-devel

 


_______________________________________________
Beaker-devel mailing list
Beaker-devel@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/beaker-devel