Hi All,
I have been playing around with our cobbler install and the web interface now says "no mode specified" to all files at /cblr/svc/ and below.
I suspect this was due to a upgrade but we don't use the web interface much so did not notice. However, unfortunately, /cblr/svc/opt/ks/system/hostname also does not work so I can't kickstart anything! I am running two different servers (master/slave) on cobbler 1.6.6 on RHEL5.
The RPM --verify shows that everything is as expected (we remove the snippets we don't use):
[root@gcisvlin-cobbler cobbler]# rpm --verify cobbler S.5....T c /etc/cobbler/dhcp.template S.5....T c /etc/cobbler/settings S.5....T c /etc/cobbler/users.digest S.5....T c /etc/httpd/conf.d/cobbler.conf missing c /var/lib/cobbler/snippets/cobbler_register missing c /var/lib/cobbler/snippets/download_config_files missing c /var/lib/cobbler/snippets/func_install_if_enabled missing c /var/lib/cobbler/snippets/func_register_if_enabled missing c /var/lib/cobbler/snippets/keep_ssh_host_keys missing c /var/lib/cobbler/snippets/koan_environment missing c /var/lib/cobbler/snippets/main_partition_select missing c /var/lib/cobbler/snippets/network_config missing c /var/lib/cobbler/snippets/partition_select missing c /var/lib/cobbler/snippets/post_anamon missing c /var/lib/cobbler/snippets/post_install_kernel_options missing c /var/lib/cobbler/snippets/post_install_network_config missing c /var/lib/cobbler/snippets/post_s390_reboot missing c /var/lib/cobbler/snippets/pre_anamon missing c /var/lib/cobbler/snippets/pre_install_network_config missing c /var/lib/cobbler/snippets/pre_partition_select missing c /var/lib/cobbler/snippets/redhat_register
A brief google indicated something about templates missing (which would make complete sense), but I would expect that to appear in rpm --verify. There is nothing of relevance in cobblerd, cobbler or apache error logs. Any guesses?
Many thanks,
Alex
I'll buy anyone with an idea a beer next week at the Summit :)
On 08/27/2009 11:28 AM, Alex Davies wrote:
Hi All,
I have been playing around with our cobbler install and the web interface now says "no mode specified" to all files at /cblr/svc/ and below.
The /cblr/svc URL is not meant for humans, so if you visit that directly, that is intended behavior. The way of viewing the kickstart for humans quickly and easily is:
cobbler system getks --name=$systemName
OR
cobbler system getks --name=$systemName
Still, let's see if you have a URL problem.
Though URLs as documented on https://fedorahosted.org/cobbler/wiki/ModPythonDetails are visitable, but only in /exactly/ those formats, and not partial versions thereof.
I suspect this was due to a upgrade but we don't use the web interface much so did not notice. However, unfortunately, /cblr/svc/opt/ks/system/hostname also does not work so I can't kickstart anything! I am running two different servers (master/slave) on cobbler 1.6.6 on RHEL5.
The URL is http://$server/cblr/svc/op/ks/system/$systemRecordName
So it's not hostname, and it's not "opt".
That may be the problem?
I'll buy anyone with an idea a beer next week at the Summit :)
Beer is largely free at Summit, but we'll get you squared away just the same :)
If you recently enabled Apache vhosts, that may be the first guess... that would require changes in the Apache config.
cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
Hi Michael,
Thank you for your quick reply!
I was using that URL to pass as ks=http://xxx for a machine that I can't PXE - what is the correct URL to pass in this case?
However, it turns out that I was being a dumbass and s/opt/op/ fixes the problem. Thanks for spotting it so fast.
Cheers,
Alex
On 08/27/2009 04:09 PM, Alex Davies wrote:
Hi Michael,
Thank you for your quick reply!
I was using that URL to pass as ks=http://xxx for a machine that I can't PXE - what is the correct URL to pass in this case?
Did you still have a question with the above? It seems like with what you have below you figured it out. That's the URL you should use.
However, it turns out that I was being a dumbass and s/opt/op/ fixes the problem. Thanks for spotting it so fast.
No problem!
Cheers,
Alex _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler
cobbler@lists.fedorahosted.org