Hi, i have two systems with fc6: shutdown.ece.uprm.edu (with updates) -> Linux shutdown 2.6.20-1.2952.fc6xen #1 SMP Wed May 16 19:19:04 EDT 2007 i686 i686 i386 GNU/Linux init.ece.uprm.edu (no recent updates) -> Linux init 2.6.19-1.2911.6.5.fc6xen #1 SMP Sun Mar 4 16:59:41 EST 2007 i686 i686 i386 GNU/Linux my problems appear when i decide update packages in shutdown machine. When execute the next command: cobbler enchant --virt=yes --address=shutdown.ece.uprm.edu --profile="base-box" i got the message at the end of this e-mail. However, everything works properly when execute this command: cobbler enchant --virt=yes --address=init.ece.uprm.edu --profile="base-box" What probably udpate crash the shutdown system? Do you need some specific details of the system in order to give a suggestion? thanks a lot for your attention, regards. +-------------+ |message error| +-------------+ - url=http://136.145.116.11libvir: error : configuration file syntax error: expecting a name Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/koan/app.py", line 97, in main k.run() File "/usr/lib/python2.4/site-packages/koan/app.py", line 152, in run self.do_virt() File "/usr/lib/python2.4/site-packages/koan/app.py", line 297, in do_virt return self.do_net_install("/tmp",after_download) File "/usr/lib/python2.4/site-packages/koan/app.py", line 253, in do_net_install after_download(self, distro_data, profile_data) File "/usr/lib/python2.4/site-packages/koan/app.py", line 296, in after_download self.do_virt_net_install(profile_data, distro_data) File "/usr/lib/python2.4/site-packages/koan/app.py", line 600, in do_virt_net_install extra=kextra File "/usr/lib/python2.4/site-packages/koan/virtcreate.py", line 102, in start_paravirt_install guest.start_install() File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 643, in start_install meter = progress.BaseMeter() 4/cobbler/images/xentemplate/vmlinuz - kernel saved = /tmp/vmlinuz - initrd saved = /tmp/initrd.img NameError: global name ''progress'' is not defined returns: 3 Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/cobbler/action_enchant.py", line 101, in run self.ssh_exec("koan %s --profile=%s --server=%s" % (operation, self.profile, self.settings.server)) File "/usr/lib/python2.4/site-packages/cobbler/action_enchant.py", line 57, in ssh_exec raise cexceptions.CobblerException("enchant_failed","ssh failure") CobblerException: ''enchant failed (ssh failure)'' enchant failed (exception) http://ece.uprm.edu/~s047267 http://del.icio.us/josanabr http://blog-grid.blogspot.com
Michael DeHaan
2007-Jun-19 14:20 UTC
[Fedora-xen] Re: [et-mgmt-tools] problem doing provision...
"NameError: global name ''progress'' is not defined" What versions of virtinst does this machine have? This was fixed in virtinst some time ago, as I recall. John Sanabria wrote:> Hi, > > i have two systems with fc6: > > shutdown.ece.uprm.edu (with updates) -> Linux shutdown > 2.6.20-1.2952.fc6xen #1 SMP Wed May 16 19:19:04 EDT 2007 i686 i686 i386 > GNU/Linux > > init.ece.uprm.edu (no recent updates) -> Linux init > 2.6.19-1.2911.6.5.fc6xen #1 SMP Sun Mar 4 16:59:41 EST 2007 i686 i686 i386 > GNU/Linux > > > my problems appear when i decide update packages in shutdown machine. When > execute the next command: > > cobbler enchant --virt=yes --address=shutdown.ece.uprm.edu > --profile="base-box" > > i got the message at the end of this e-mail. However, everything works > properly when execute this command: > > cobbler enchant --virt=yes --address=init.ece.uprm.edu --profile="base-box" > > What probably udpate crash the shutdown system? Do you need some specific > details of the system in order to give a suggestion? > > thanks a lot for your attention, regards. > > +-------------+ > |message error| > +-------------+ > - url=http://136.145.116.11libvir: error : configuration file syntax > error: expecting a name > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/koan/app.py", line 97, in main > k.run() > File "/usr/lib/python2.4/site-packages/koan/app.py", line 152, in run > self.do_virt() > File "/usr/lib/python2.4/site-packages/koan/app.py", line 297, in do_virt > return self.do_net_install("/tmp",after_download) > File "/usr/lib/python2.4/site-packages/koan/app.py", line 253, in > do_net_install > after_download(self, distro_data, profile_data) > File "/usr/lib/python2.4/site-packages/koan/app.py", line 296, in > after_download > self.do_virt_net_install(profile_data, distro_data) > File "/usr/lib/python2.4/site-packages/koan/app.py", line 600, in > do_virt_net_install > extra=kextra > File "/usr/lib/python2.4/site-packages/koan/virtcreate.py", line 102, in > start_paravirt_install > guest.start_install() > File "/usr/lib/python2.4/site-packages/virtinst/Guest.py", line 643, in > start_install > meter = progress.BaseMeter() > 4/cobbler/images/xentemplate/vmlinuz > - kernel saved = /tmp/vmlinuz > - initrd saved = /tmp/initrd.img > NameError: global name ''progress'' is not defined > returns: 3 > Traceback (most recent call last): > File "/usr/lib/python2.4/site-packages/cobbler/action_enchant.py", line > 101, in run > self.ssh_exec("koan %s --profile=%s --server=%s" % (operation, > self.profile, self.settings.server)) > File "/usr/lib/python2.4/site-packages/cobbler/action_enchant.py", line > 57, in ssh_exec > raise cexceptions.CobblerException("enchant_failed","ssh failure") > CobblerException: ''enchant failed (ssh failure)'' > enchant failed (exception) > > > http://ece.uprm.edu/~s047267 > http://del.icio.us/josanabr > http://blog-grid.blogspot.com > > _______________________________________________ > et-mgmt-tools mailing list > et-mgmt-tools@redhat.com > https://www.redhat.com/mailman/listinfo/et-mgmt-tools >