Red Hat Bugzilla – Bug 670912
Unable to provision system. Web UI throws "500 Internal error"
Last modified: 2012-09-13 10:56:42 EDT
Description of problem:
I've tried to provision an system https://beaker.engineering.redhat.com/action_provision?prov_install=41755&ks_meta=&koptions=&koptions_post=&reboot=on&id=2875
what I've created day ago (propably everything should be setup, but it still doesn't work)
I'm not sure if everything is set up properly, but is isn't a problem.
Problem is, that it throws only:
<h2>500 Internal error</h2>
<p>The server encountered an unexpected condition which prevented it from fulfilling the request.</p>
<span>Powered by <a href="http://www.cherrypy.org">CherryPy 2.3.0</a></span>
Version-Release number of selected component (if applicable):
system x86-64-m01.lab.eng.brq.redhat.com in inventory
Steps to Reproduce:
1. try to provision with any distro
only general error message
some useful error (if anything is not set up, show what's wrong) in other case install system without problem.
It was caused by duplicate system profiles on cobbler after renaming a system in beaker.
Can be reproduced like that:
1. Pick any system in beaker, provision it
2. Change its name in DNS and rename it in beaker
3. Provision the system again after it was renamed
Beaker should let cobbler know to delete the system profile for a system which has been renamed.
I'll reopen this bug.
I didn't know what exactly caused a problem, it sounds logically, after seeing that there is exception with dual ip adresses.
Also "500 Internal error" isn't good result, I suggest in similar cases put there somethig like "else/finally" option to show something like:
" unable to provision the system, please send ticket to beaker queue. " instead of http server internal error.
Thanks Vadim, I'll take a look.
*** Bug 573131 has been marked as a duplicate of this bug. ***
Beaker 0.6.4 has been released.