[et-mgmt-tools] problem doing provision...

Michael DeHaan mdehaan at redhat.com
Fri Jun 22 20:52:13 UTC 2007


John,

We've confirmed virtinst is currently broken in FC6 and we are going to 
push a fix next week (hopefully Monday).

Until then, you can edit 
/usr/lib/python2.4/site-packages/virtinst/Guest.py and add

"import urlgrabber.progress as progress"  to the top of the file.

--Michael
 

John Sanabria wrote:
>> "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.
>>
>>     
>
> sorry, is highly probably that i had create a mix of incompatible versions
> between virtualization components (xen, virtinst, libvirt, kernel with
> xen, and so on).
>
> however, thanks, i learn that is not convenient update the Dom0 machines :-D
>
> regards.
>
>   
>> 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 at redhat.com
>>> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>>>
>>>       
>> _______________________________________________
>> et-mgmt-tools mailing list
>> et-mgmt-tools at redhat.com
>> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>>
>>     
>
>
> http://ece.uprm.edu/~s047267
> http://del.icio.us/josanabr
> http://blog-grid.blogspot.com
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>   




More information about the et-mgmt-tools mailing list