Bug 501858 - SmoltSendProfile: Variable referenced before assignment
SmoltSendProfile: Variable referenced before assignment
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: smolt (Show other bugs)
10
All Linux
low Severity medium
: ---
: ---
Assigned To: Mike McGrath
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-21 01:30 EDT by Egon Kastelijn
Modified: 2009-06-22 16:28 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-06-22 16:28:21 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Egon Kastelijn 2009-05-21 01:30:49 EDT
Description of problem:
SmoltSendProfile gives an error while trying to send the profile.

Version-Release number of selected component (if applicable):
smolt-1.1.1.1-9.fc10.noarch

How reproducible:
# smoltSendProfile -ar

Steps to Reproduce:
1. smoltSendProfile -ar
2.
3.
  
Actual results:
Error contacting Server: [Errno 14] HTTP Error 502: Bad Gateway
Retry Enabled - Retrying                                       
Error contacting Server: [Errno 14] HTTP Error 502: Bad Gateway
Retry Enabled - Retrying                                       
Something went wrong fetching a token                          
Traceback (most recent call last):                             
  File "/usr/bin/smoltSendProfile", line 167, in <module>      
    timeout=opts.timeout)                                      
  File "/usr/share/smolt/client/smolt.py", line 455, in send   
    send_host_obj = self.get_sendable_host(prefered_protocol)  
UnboundLocalError: local variable 'prefered_protocol' referenced before assignment

Expected results:
A normal Smolt upload

Additional info:
Comment 1 Mike McGrath 2009-06-22 16:28:21 EDT
This should be working now.

Note You need to log in before you can comment on or make changes to this bug.