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
