Hello,

 I am attempting to create a vm with koan on a centos 5.8 system. I am able
to list the profiles and systems on the cobbler server like so:

[root@LCENT01:~] #koan --server=cobbler --list profiles
- looking for Cobbler at http://cobbler:80/cobbler_api
deb605-gtk-i386
rhel62-i386
deb605-i386
ubuntu12-i386
xen32


[root@LCENT01:~] #koan --server=cobbler --list systems
- looking for Cobbler at http://cobbler:80/cobbler_api
virtcent01.example.com

When I go to create the virtual machine this is the response I get -


[root@LCENT01:~] #koan --server cobbler --virt --profile xen32 --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/xen32
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/koan/utils.py", line 130, in
urlread
    fd = urllib2.urlopen(url)
  File "/usr/lib/python2.4/urllib2.py", line 130, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.4/urllib2.py", line 364, in open
    response = meth(req, response)
  File "/usr/lib/python2.4/urllib2.py", line 471, in http_response
    response = self.parent.error(
  File "/usr/lib/python2.4/urllib2.py", line 402, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.4/urllib2.py", line 337, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.4/urllib2.py", line 480, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
libvirtd (pid  2801) is running...
downloading initrd initrd.img to /var/lib/xen/initrd.img_koan
url=http://192.168.1.36/cobbler/images/rhel62-i386/initrd.img
- reading URL: http://192.168.1.36/cobbler/images/rhel62-i386/initrd.img
downloading kernel vmlinuz to /var/lib/xen/vmlinuz_koan
url=http://192.168.1.36/cobbler/images/rhel62-i386/vmlinuz
- reading URL: http://192.168.1.36/cobbler/images/rhel62-i386/vmlinuz
- warning: old python-virtinst detected, a lot of features will be disabled
- adding disk: /mnt/xen//vm01-disk0 of size 10 (driver type=raw)
- ['virt-install', '--connect', 'xen:///', '--name', 'vm01', '--ram',
'512', '--vcpus', '1', '--uuid', '70543513-b885-ac08-ea41-03ea600beafc',
'--autostart', '--nographics', '--paravirt', '--boot',
'kernel=/var/lib/xen/vmlinuz_koan,initrd=/var/lib/xen/initrd.img_koan,kernel_args=ks=
http://192.168.1.36/cblr/svc/op/ks/profile/xen32 ksdevice=link kssendmac
lang= text ', '--os-variant', 'generic26', '--disk',
'path=/mnt/xen//vm01-disk0,size=10', '--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)


I can hit all of URL's listed in the output so I'm not sure why it's
complaining about a 404. But I think the problem may be related to the
"virt-install: error: no such option: --autostart" error message. I was
hoping to get some advice on how to get around this problem.


Thanks in advance
Tim

-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to