You may want to apply fix from this bug as well. +++ This bug was initially created as a clone of Bug #543509 +++ Created an attachment (id=375451) Traceback Description of problem: When you try to rhn_register qemu machine, which do not have uuid. You get traceback on server and registration will fail. Version-Release number of selected component (if applicable): How reproducible: several time Steps to Reproduce: 1. lshal |grep smbios.system.uuid smbios.system.uuid = 'Not Settable' (string) If you have there some number, grab another virtual machine, this is prerequisity. 2. rhn_register Actual results: error Expected results: you will be registered Additional info: --- Additional comment from msuchy on 2009-12-02 10:16:24 EST --- Solution is to replace: uuid_as_number = string.atol(uuid, 16) with: if uuid == 'Not Settable': uuid_as_number = 0 else: uuid_as_number = string.atol(uuid, 16) --- Additional comment from msuchy on 2009-12-07 07:52:40 EST --- commited as 7cdd2dd93f7fe05da6aab3e8b104bb3aa0d23801
Scratch this. We should catch this case in client tools and not send it at all.