Ticket #686 (closed defect: fixed)

Opened 14 years ago

Last modified 14 years ago

1.0pre4 client traceback when server disallows connection

Reported by: lueningh Owned by: desai
Priority: major Milestone: Bcfg2 1.0.0 Release
Component: bcfg2-client Version: 1.0
Keywords: Cc:


I added aliases to all of my machines in clients.xml, giving me an entry for one particular machine that looked like:

  <Client profile='bgp-mgt8' name='' address=''>
    <Alias name='' address=''/>

When running the client, it tracebacked:

mgt8:/var/lib/bcfg2/Metadata # bcfg2 -v -I -b ssh -S -C /tmp/bcfg2.conf 
Unknown failure
Traceback (most recent call last):
  File "/usr/lib64/python2.4/site-packages/Bcfg2/", line 41, in __call__
    return _Method.__call__(self, *args)
  File "/usr/lib64/python2.4/", line 1096, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.4/", line 1383, in __request
  File "/usr/lib64/python2.4/site-packages/Bcfg2/", line 132, in request
    msglen = int(headers.dict['content-length'])
KeyError: 'content-length'
Failed to download probes from bcfg2
Server Failure

and the server (running in debug mode) complained:

Address has multiple reverse assignments; a uuid must be used
Client failed to authenticate due to metadata problem
Authentication Failure - - [09/Jul/2009 09:30:58] code 401, message Unauthorized

Two thoughts here:

  1. The client shouldn't traceback, of course
  1. Does the use of aliases for CNAMES _really_ count as having multiple reverse assignments?


Change History

comment:1 Changed 14 years ago by desai

  • Priority changed from minor to major
  • Status changed from new to assigned

OK, the address issue appears to be due to using the same address multiple times. This shouldn't be required. (and removing the dup fixes the problem)

The traceback appears to be due to the permission denied. We need to track this one down.

comment:2 Changed 14 years ago by desai

  • Summary changed from 1.0pre4 traceback to 1.0pre4 client traceback when server disallows connection

comment:3 Changed 14 years ago by desai

  • Status changed from assigned to closed
  • Resolution set to fixed

WARNING! You need to establish a session before you can create or edit tickets. Otherwise the ticket will get treated as spam.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.