On 21 May 2010 10:45, Milan Zazrivec <[email protected]> wrote: > On Friday 21 May 2010 11:25:26 James Hogarth wrote: >> On 21 May 2010 10:21, Milan Zazrivec <[email protected]> wrote: >> > On Friday 21 May 2010 11:05:08 James Hogarth wrote: >> >> On 20 May 2010 10:32, James Hogarth <[email protected]> wrote: >> >> > On 20 May 2010 09:50, Milan Zazrivec <[email protected]> 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 >> >> >> [email protected] >> >> >> 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 >> >> >> >> ... >> >> >> >> [ad...@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 >> > [email protected] >> > 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? > > I don't think koan on the guest is what matters here. > > If I understand the problem correctly, you're getting a traceback > when provisioning a kvm guest from Spacewalk. > > To be able to achieve that, you need to have several packages installed > on your virt. *host* (not guest), one of these packages being koan. > > Judging by the traceback you showed in the initial email, you already > have koan installed on your host, but since there are currently > two versions of koan available in EPEL-5 (which is where I guess you > installed the package from), I was wondering which koan version > it is :-) (and whether or not both of them give you the same traceback) > > -MZ > > _______________________________________________ > Spacewalk-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/spacewalk-list >
I did say I didn't have enough coffee yet.... sorry for sounding a bit thick headed ^^ I get what you are saying now... [ad...@virtualserver01 ~]$ rpm -q koan koan-2.0.3.1-3.el5 So I've got 2.0.3 koan on the KVM host server... James _______________________________________________ Spacewalk-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/spacewalk-list
