Bug 656861

Summary: cannot sync from dump, local variable 'relevant' referenced before assignment
Product: [Community] Spacewalk Reporter: Petr Sklenar <psklenar>
Component: ServerAssignee: Michael Mráka <mmraka>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: high    
Version: 1.2Keywords: Regression
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-08 08:41:10 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: 653453    

Description Petr Sklenar 2010-11-24 11:59:53 UTC
Description of problem:
I cannot sync from dump

Version-Release number of selected component (if applicable):
spacewalk12.nightly
spacewalk-backend-1.2.74-1.fc13.noarch

How reproducible:
always

Steps to Reproduce:
1. try to  sync from dump
2.
3.
  
Actual results:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: sync from dump and register machine into this dump
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

16:41:26 Red Hat Network Satellite - file-system synchronization
16:41:26    mp:  /mnt/tests/CoreOS/RHN-Satellite/satellite-sync/connect-machine-into-synced-channel/dump
16:41:26    db:  spaceuser/<password>@dbname=spaceschema;host=localhost;port=5432
16:41:26 
16:41:26 Retrieving / parsing channel-families data
16:41:26 channel-families data complete
16:41:26 
16:41:26 Retrieving / parsing arches data
16:41:27 arches data complete
16:41:27 
16:41:27 Retrieving / parsing additional arches data
16:41:27 additional arches data complete
16:41:27 
16:41:27 Retrieving / parsing channel data
16:41:27    p = previously imported/synced channel
16:41:27    . = channel not yet imported/synced
16:41:27    base-channels:
16:41:27       . psklenar_test_signed-channel                3       full import from Wed Nov  3 12:43:47 2010
16:41:27 
16:41:27 Channel data complete
16:41:27 
16:41:27 Retrieving / parsing blacklists data
16:41:27 blacklists data complete
16:41:27 
16:41:27 Retrieving / parsing product names data
16:41:27 
16:41:27 Retrieving short package metadata (used for indexing)

SYNC ERROR: unhandled exception occurred:

(Check logs/email for potentially more detail)

local variable 'relevant' referenced before assignment

+++ sending log as an email +++
:: [   FAIL   ] :: Running 'satellite-sync -m dump -c psklenar_test_signed-channel' (Expected 0, got 6)


Expected results:
I can sync

Additional info:

Comment 1 Michael Mráka 2010-11-24 12:19:13 UTC
It has been introduced and fixed as a part of https://bugzilla.redhat.com/show_bug.cgi?id=653163#c3.

Comment 2 Tomas Lestach 2011-02-03 12:21:24 UTC
Moving ON_QA ...

Comment 3 Tomas Lestach 2011-02-08 08:41:10 UTC
This bug has been fixed in Spacewalk 1.3.