Bug 493389 - smoltSendProfile fails: Could not contact server: Invalid token
Summary: smoltSendProfile fails: Could not contact server: Invalid token
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: smolt
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Mike McGrath
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-01 16:11 UTC by John Reiser
Modified: 2009-06-22 20:10 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-06-22 20:10:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description John Reiser 2009-04-01 16:11:26 UTC
Description of problem: python traceback when invoking smoltSendProfile


Version-Release number of selected component (if applicable):
smolt-1.2-4.1.fc11.noarch


How reproducible: Haven't tried.


Steps to Reproduce:
1. Install Fedora 11 alpha, decline to send smolt profile during firstboot. "yum update" to just before beta.
2. Follow directions for participating in Radeon test day: invoke smoltSendProfile without superuser privileges.
3. Try again with superuser privileges.
  
Actual results: First time (not superuser): 
	Your pub_uuid file  could not be cached: [Errno 13] Permission denied: '/etc/sysconfig/pub-uuid-www.smolts.org'
	Maybe re-run as root?
second time (as superuser):
Server Message: "Critical [20]: Invalid Token"
Traceback (most recent call last):
  File "/usr/bin/smoltSendProfile", line 176, in <module>
    timeout=opts.timeout)
  File "/usr/share/smolt/client/smolt.py", line 505, in send
    pub_uuid = serverMessage(o.read())
  File "/usr/share/smolt/client/smolt.py", line 309, in serverMessage
    raise ServerError, _('Could not contact server: %s') % line.split('ServerMessage: ')[1]
smolt.ServerError: 'Could not contact server: Critical [20]: Invalid Token'

Expected results: successful operation with no complaints


Additional info: I edited the Radeon test day wiki page to show that smoltSendProfile might require superuser privileges.  The contents of /etc/sysconfig/hw-uuid did not match the uuid displayed by the first smoltSendProfile, perhaps because I added a network interface card after installing F11-alpha but before Radeon test day.  All in all, not a good day for smolt package.

Comment 1 Bug Zapper 2009-06-09 12:58:50 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Mike McGrath 2009-06-22 20:10:29 UTC
The invalid token error is actually a timeout thing I've been fighting with.  I'm working on different ways to fix it, I've made incremental fixes to it.  But we'll continue to get them when the db is locked during a backup, or re-indexing.

I've put a better error message in, as well as added more smolt server instances.


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