- using kickstart: http://10.0.0.100/cblr/kickstarts/f8_min_pv/ks.cfg
libvirtd (pid 2322) is running...
downloading initrd initrd.img to /var/lib/xen/initrd.img
url=http://server.internal.net/cobbler/images/fedora8/initrd.img
- using kickstart:
http://server.internal.net/cobbler/images/fedora8/initrd.img
downloading kernel vmlinuz to /var/lib/xen/vmlinuz
url=http://server.internal.net/cobbler/images/fedora8/vmlinuz
- using kickstart: http://server.internal.net/cobbler/images/fedora8/vmlinuz
libvir: Xen Daemon error : GET operation failed:
libvir: Xen Daemon error : GET operation failed:
libvir: Xen Daemon error : POST operation failed: (xend.err "Error
creating domain: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader
found
')")
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/koan/app.py", line 192, in main
k.run()
File "/usr/lib/python2.5/site-packages/koan/app.py", line 402, in run
self.virt()
File "/usr/lib/python2.5/site-packages/koan/app.py", line 670, in virt
return self.net_install(after_download)
File "/usr/lib/python2.5/site-packages/koan/app.py", line 624, in
net_install
after_download(self, profile_data)
File "/usr/lib/python2.5/site-packages/koan/app.py", line 668, in
after_download
self.virt_net_install(profile_data)
File "/usr/lib/python2.5/site-packages/koan/app.py", line 1243,
in virt_net_install
fullvirt = fullvirt
File "/usr/lib/python2.5/site-packages/koan/xencreate.py", line
128, in start_install
guest.start_install()
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line
813, in start_install
return self._do_install(consolecb, meter)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line
834, in _do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.5/site-packages/libvirt.py", line 585,
in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux()
failed', conn=self)
libvirtError: virDomainCreateLinux() failed POST operation failed:
(xend.err "Error creating domain: (2, 'Invalid kernel',
'xc_dom_find_loader: no loader found
')")
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
Instead use the HTTPS scheme to access this URL, please.<br />
<blockquote>Hint: <a
href="https://server.internal.net/"><b>https://server.internal.net/</b></a></blockquote></p>
<hr>
<address>Apache/2.2.6 (Fedora) Server at <a
href="mailto:root@localhost">server.internal.net</a> Port
443</address>
</body></html>
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
Reason: You're speaking plain HTTP to an SSL-enabled server port.<br />
Instead use the HTTPS scheme to access this URL, please.<br />
<blockquote>Hint: <a
href="https://server.internal.net/"><b>https://server.internal.net/</b></a></blockquote></p>
<hr>
<address>Apache/2.2.6 (Fedora) Server at <a
href="mailto:root@localhost">server.internal.net</a> Port
443</address>
</body></html>
This is happening, I believe because koan's DL'ing from:
Your browser sent a request that this server could not
understand.
Reason: You're speaking plain HTTP to an SSL-enabled server
port.
Instead use the HTTPS scheme to access this URL, please.
So to summarize, you have port 80 configured to be HTTPS and you have
shut http:// off?
To get things going you'll need to turn it back on in the Cobbler
server. The address of the cobbler server and the port is configured
in settings, but the URLs
generated will be http://. It does not need to be port 80, but if
it's not, you need to change the port value in /var/lib/cobbler/settings.
This probably explains both your transfer error and the XMLRPC messages.
It would be possible to allow cobbler to generate https:// URLs, though
there is not much point in doing so -- Anaconda itself does not support
authentication.
I decided to step away from it myself, and have someone else here
setup a new/clean box. again, vanilla f8 + apache.
They've pulled latest git heads of cobbler/koan.
Now, @ their "koan ...",
koan --virt --virt-name=test --server=http://server3.internal.net
--profile=f8test
--virt-path=/dev/VG03/test --autonet --nogfx
Could not communicate with http://server3.internal.net:25151
checking @ server3
service iptables status
iptables: Firewall is not running.
service ip6tables status
ip6tables: Firewall is not running.
and,
telnet server3.internal.net 25151
Trying 10.0.0.203...
Connected to server3.internal.net.
Escape character is '^]'.
cobbler check
No setup problems found
Manual review and editing of /var/lib/cobbler/settings is recommended
to tailor cobbler to your particular configuration.
Good luck.
service cobblerd status
cobblerd (pid 7761 7760 7759 7758) is running...
- using kickstart: http://10.0.0.100/cblr/kickstarts/f8_min_pv/ks.cfg
libvirtd (pid 2322) is running...
downloading initrd initrd.img to /var/lib/xen/initrd.img
url=http://server.internal.net/cobbler/images/fedora8/initrd.img
- using kickstart:
http://server.internal.net/cobbler/images/fedora8/initrd.img
downloading kernel vmlinuz to /var/lib/xen/vmlinuz
url=http://server.internal.net/cobbler/images/fedora8/vmlinuz
- using kickstart: http://server.internal.net/cobbler/images/fedora8/vmlinuz
libvir: Xen Daemon error : GET operation failed:
libvir: Xen Daemon error : GET operation failed:
libvir: Xen Daemon error : POST operation failed: (xend.err "Error
creating domain: (2, 'Invalid kernel', 'xc_dom_find_loader: no loader
found
')")
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/koan/app.py", line 192, in main
k.run()
File "/usr/lib/python2.5/site-packages/koan/app.py", line 402, in run
self.virt()
File "/usr/lib/python2.5/site-packages/koan/app.py", line 670, in virt
return self.net_install(after_download)
File "/usr/lib/python2.5/site-packages/koan/app.py", line 624, in
net_install
after_download(self, profile_data)
File "/usr/lib/python2.5/site-packages/koan/app.py", line 668, in
after_download
self.virt_net_install(profile_data)
File "/usr/lib/python2.5/site-packages/koan/app.py", line 1243,
in virt_net_install
fullvirt = fullvirt
File "/usr/lib/python2.5/site-packages/koan/xencreate.py", line
128, in start_install
guest.start_install()
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line
813, in start_install
return self._do_install(consolecb, meter)
File "/usr/lib/python2.5/site-packages/virtinst/Guest.py", line
834, in _do_install
self.domain = self.conn.createLinux(install_xml, 0)
File "/usr/lib64/python2.5/site-packages/libvirt.py", line 585,
in createLinux
if ret is None:raise libvirtError('virDomainCreateLinux()
failed', conn=self)
libvirtError: virDomainCreateLinux() failed POST operation failed:
(xend.err "Error creating domain: (2, 'Invalid kernel',
'xc_dom_find_loader: no loader found
')")
Your browser sent a request that this server could not
understand.
Reason: You're speaking plain HTTP to an SSL-enabled server
port.
Instead use the HTTPS scheme to access this URL, please.
Hint: https://server.internal.net/
This seems to indicate you have HTTPS running on port 80. This would
be bad.
This seems to be an Apache/site configuration issue which probably was
also indiciate of
the error you were seeing earlier -- namely that Apache Reverse proxying
of your XMLRPC
connection was not working, but seems to work for all other installs.
Bottom line ... koan's NOT getting files via the required https://....
There is no reason why https:// should be required.
... snip ...
If your Apache configuration is still http/https confused, koan is
trying to contact the Apache proxy of the XMLRPC connection
so that will still fail.
I'm putting my money on the Apache config and port 80 not being plaintext.
--Michael
_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools