[Spacewalk-list] Error on provisioning of VM on kvm system

James Hogarth james.hogarth at gmail.com
Fri May 21 09:25:26 UTC 2010


On 21 May 2010 10:21, Milan Zazrivec <mzazrivec at redhat.com> wrote:
> On Friday 21 May 2010 11:05:08 James Hogarth wrote:
>> On 20 May 2010 10:32, James Hogarth <james.hogarth at gmail.com> wrote:
>> > On 20 May 2010 09:50, Milan Zazrivec <mzazrivec at redhat.com> wrote:
>> >> On Wednesday 19 May 2010 23:32:06 James Hogarth wrote:
>> >>> KVM host is fully updated Centos 5.5
>> >>>
>> >>> Spacewalk instance is a fully updated spacewalk 1.0 (with cobbler
>> >>> 1.6.6 not 2.0.3) on centos 5.5 with epel.
>> >>>
>> >>> On an attempt at a remote provisioning I get:
>> >>>
>> >>> libvirtd (pid  4266) is running...
>> >>> exceptions.AttributeError
>> >>> Koan instance has no attribute 'virt_auto_boot'
>> >>>   File "/usr/share/rhn/spacewalkkoan/spacewalkkoan.py", line 191, in
>> >>> initiate_gu
>> >>>                                                          est
>> >>>     k.run()
>> >>>    File "/usr/lib/python2.4/site-packages/koan/app.py", line 329, in
>> >>> run self.virt()
>> >>>    File "/usr/lib/python2.4/site-packages/koan/app.py", line 652, in
>> >>> virt return self.net_install(after_download)
>> >>>    File "/usr/lib/python2.4/site-packages/koan/app.py", line 571, in
>> >>> net_install after_download(self, profile_data)
>> >>>    File "/usr/lib/python2.4/site-packages/koan/app.py", line 650, in
>> >>> after_downl
>> >>>                                                          oad
>> >>>     self.virt_net_install(profile_data)
>> >>>    File "/usr/lib/python2.4/site-packages/koan/app.py", line 1113, in
>> >>> virt_net_i
>> >>>                                                         nstall
>> >>>     virt_auto_boot      = self.calc_virt_autoboot(pd,
>> >>> self.virt_auto_boot)
>> >>>
>> >>> Any ideas? Would be nice to get that as functionality rather than
>> >>> booting from ISOs to use a kickstart...
>> >>
>> >> What koan version do you use on your kvm host? Does the error show with
>> >> both 1.6.6 and 2.0.3.1? (currently available at EPEL)
>> >>
>> >> -Milan Zázrivec
>> >>
>> >> _______________________________________________
>> >> Spacewalk-list mailing list
>> >> Spacewalk-list at redhat.com
>> >> https://www.redhat.com/mailman/listinfo/spacewalk-list
>> >
>> > I'm at home today not in the office... when I'm back in tomorrow
>> > morning I'll double check and post results.
>> >
>> > James
>>
>> /facepalm
>>
>> ...
>>
>> [admin at spacewalk ~]$ rpm -q koan
>> package koan is not installed
>>
>> ...
>>
>> That could explain a lot - wasn't it a dependency of spacewalk like
>> cobbler?
>
> cobbler is supposed to run on server (Spacewalk), koan on the client
> (the virt. host in your case).
>
> -MZ
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>

Ah sorry - too early and not enough coffee yet ;)

The kvm guest of course hadn't existed by that point as it was just
creating it - but I guess that would just mean I'd need to make sure
koan was included in the package manifest for the kickstart?

James




More information about the Spacewalk-list mailing list