>Did you upgrade recently? If so, check for .rpmnew files in
/etc/httpd/conf.d/.
Nope, this was a fresh install.
>If you upgraded from 2.0, uninstall mod_python and
>make sure mod_wsgi is installed and enabled in the
>/etc/httpd/conf.d/wsgi.conf config file.
It looks like mod_python isnt' installed
[root@VIRTCENT14 ~]# rpm -qa | grep mod_python
[root@VIRTCENT14 ~]#
It looks like mod_wsgi is enabled and installed
[root@VIRTCENT14 conf.d]# cat wsgi.conf
LoadModule wsgi_module modules/mod_wsgi.so
[root@VIRTCENT14 conf.d]# rpm -qa | grep mod_wsgi
mod_wsgi-3.2-1.el6.i686
This is my cobbler apache config.. as you can see it's pretty stock
[root@VIRTCENT14 conf.d]# cat cobbler.conf
# This configuration file allows cobbler data
# to be accessed over HTTP.
#
#
ServerName cobbler.example.com
AliasMatch ^/cblr(?!/svc/)(.*)?$ "/var/www/cobbler$1"
AliasMatch ^/cobbler_track(.*)?$ "/var/www/cobbler$1"
#AliasMatch ^/cobbler(.*)?$ "/var/www/cobbler$1"
Alias /cobbler /var/www/cobbler
Alias /cobbler_webui_content /var/www/cobbler/web
WSGIScriptAliasMatch ^/cblr/svc/([^/]*) /var/www/cobbler/svc/services.py
<Directory "/var/www/cobbler">
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
ProxyRequests off
ProxyPass /cobbler_api http://localhost:25151/
ProxyPassReverse /cobbler_api http://localhost:25151/
BrowserMatch "MSIE" AuthDigestEnableQueryStringHack=On
# the webui is now part of the "cobbler-web" package
# and is visited at http://.../cobbler_web not this URL.
# this is only a pointer to the new page.
<Directory "/var/www/cobbler/web/">
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
</Directory>
And lastly, I must be invoking that option that you gave me incorrectly
because the command still seems to be failing when I try it -
[root@LCENT01:~] #koan --virt --server=cobbler --profile=rhel62-i386
--virt-name=vm01 --virt-auto-boot=0
usage: koan [options]
koan: error: --virt-auto-boot option does not take a value
Thanks
Tim
On Sun, Jul 8, 2012 at 9:55 AM, James Cammarata <[email protected]> wrote:
> On Sun, Jul 8, 2012 at 7:19 AM, Tim Dunphy <[email protected]> wrote:
> > Hey guys,
> >
> > In the course of my experimenting I tried using a default profile
> (rhel62)
> > that was created when I imported my centOS distro.
> >
> > That almost worked! :)
> >
> > [root@LCENT01:~] #koan --virt --server cobbler --profile rhel62-i386
> > --virt-name vm01 --nogfx
> > - looking for Cobbler at http://cobbler:80/cobbler_api
> > - reading URL: http://192.168.1.36/cblr/svc/op/ks/profile/rhel62-i386
> > install_tree: http://192.168.1.36/cblr/links/rhel62-i386
> > libvirtd (pid 2801) is running...
> > - warning: old python-virtinst detected, a lot of features will be
> disabled
> > - adding disk: /var/lib/libvirt/images//vm01-disk0 of size 5 (driver
> > type=raw)
> > - ['virt-install', '--connect', 'qemu:///system', '--name', 'vm01',
> '--ram',
> > '512', '--vcpus', '1', '--autostart', '--nographics', '--hvm',
> '--location',
> > 'http://192.168.1.36/cblr/links/rhel62-i386/', '--arch', 'i386',
> > '--os-variant', 'rhel6', '--disk',
> > 'path=/var/lib/libvirt/images//vm01-disk0,size=5', '--network',
> > 'bridge=xenbr0', '--wait', '0', '--noautoconsole']
> > usage: virt-install --name NAME --ram RAM STORAGE INSTALL [options]
> >
> > virt-install: error: no such option: --autostart
> > command failed (2)
> >
> >
> > Now I'm not 404'ing (thank god) but I am still getting hung up on the
> > --autostart 'bug'. James gave me a line in IRC last night on how to work
> > around this but sadly I've closed my IRC client and I don't remember
> what it
> > is.
> >
> > Could I please get a reminder on that? I'll be sure to stick it in my
> notes
> > (aka wiki) this time.
>
> Sorry, meant to mention that in my last email. The option is
> --virt-auto-boot=0.
>
>
> > Here's the line I used to create the profile that I was having a problem
> > with by the way:
> >
> > cobbler profile add --name=xen32 --distro=rhel62-i386
> > --kickstart=/var/lib/cobbler/kickstarts/xen.ks --virt-file-size=10
> > --virt-ram=256 --virt-type=xenpv --virt-cpus=1
> --virt-path=/mnt/store/xen/
> > --repos="Centos6-UPDATES Centos6-EPEL Centos6-REMI"
> >
> > Not sure if how I created the profile might have been adding to the
> troubles
> > I was experiencing last night.
> >
> > Also speaking to Bob's point I also manage DNS separately from cobbler
> and
> > have a bind9 setup with forward and reverse zones that never seems to
> give
> > me trouble. It's one of the most reliable setups in this environment,
> > thankfully!
>
> I don't see anything wrong there. The 404 to me indicates an apache
> issue - it's failing before it gets to cobbler.
>
> Did you upgrade recently? If so, check for .rpmnew files in
> /etc/httpd/conf.d/. If you upgraded from 2.0, uninstall mod_python and
> make sure mod_wsgi is installed and enabled in the
> /etc/httpd/conf.d/wsgi.conf config file.
> _______________________________________________
> cobbler mailing list
> [email protected]
> https://fedorahosted.org/mailman/listinfo/cobbler
>
--
GPG me!!
gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler