Bug 246720
Summary: | Cannot register guest on old host | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Miroslav Suchý <msuchy> | ||||||
Component: | Virtualization | Assignee: | Miroslav Suchý <msuchy> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Milan Zázrivec <mzazrivec> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 500 | CC: | bperkins, cperry, jbrownin | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | sat530 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2009-09-10 18:29:23 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 456985, 507280 | ||||||||
Attachments: |
|
Description
Miroslav Suchý
2007-07-04 12:46:18 UTC
Created attachment 158517 [details]
Traceback
Created attachment 160402 [details]
Traceback from 421 upgraded to 500
I installed satellite 4.2.1, register host, upgraded sat to 5.0.0, register
guest on the same host. And still got traceback (but registration proceed ok
from client side).
Due to BZ 245311 I need to post another comment to change status back from NEEDINFO. With this patch it works: --- /usr/share/rhn/server/rhnVirtualization.py.orig 2007-08-01 14:14:45.000000000 +0200 +++ /usr/share/rhn/server/rhnVirtualization.py 2007-08-01 14:18:26.000000000 +0200 @@ -594,7 +594,7 @@ new_values_array = [] bindings = {} - if not existing_row['confirmed']: + if not existing_row.has_key('confirmed'): new_values_array.append('confirmed=1') if existing_row['host_system_id'] != host_id: system-config-firewall-1.0.12-4.fc8 has been submitted as an update for Fedora 8 system-config-firewall-1.0.12-4.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update system-config-firewall'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-1200 Changed status to ASSIGNED as Fedora Update System should not have changed this. note that the following syntax: if not existing_row['confirmed']: is used a few times, not just here. We should really check the code throughout as this is a python coding error. Should be: if not existing_row.has_key('confirmed'): -or- if not existing_row.get('confirmed'): Fixed in Spacewlk bug 459254. Removing bug 459254 blocks bug 246720. Registered host, upgraded satellite, registered guest, no traceback, verified. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-1434.html |