Modify

Ticket #1154 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

bcfg2-admin pull fails and generates traceback on CentOS6 system

Reported by: https://www.google.com/accounts/o8/id?id=AItOawmiRmRnCNnjFn-6jLzoa9WbEwOlvgEuWUs Owned by: desai
Priority: major Milestone: Bcfg2 1.3.5 Release (Bugfix)
Component: bcfg2-server Version: 1.0
Keywords: bcfg2-admin, pull, traceback Cc: [email protected]

Description

Platform: CentOS6 - Python 2.6

When attempting to pull a file from a client, bcfg2-admin fails to pull the data and generates a traceback similar to the one below. A similar event occurs with bcfg2 version 1.3.2. We tried upgrading to 1.3.4, hoping the problem would be resolved in the newer version, but it is not. I have classified this problem as 'major' because this is a basic functionality of bcfg2 in our environment and one of the reasons we chose bcfg2 over other configuration management tools.

Thank you for your attention to this matter.

Traceback Text:

Traceback (most recent call last):

File "/usr/bin/bcfg2-admin", line 5, in <module>

pkg_resources.run_script('Bcfg2==1.3.4', 'bcfg2-admin')

File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 461, in run_script

self.require(requires)[0].run_script(script_name, ns)

File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1194, in run_script

execfile(script_filename, namespace, namespace)

File "/usr/lib/python2.6/site-packages/Bcfg2-1.3.4-py2.6.egg/EGG-INFO/scripts/bcfg2-admin", line 96, in <module>

sys.exit(main())

File "/usr/lib/python2.6/site-packages/Bcfg2-1.3.4-py2.6.egg/EGG-INFO/scripts/bcfg2-admin", line 86, in main

return mode(setupargs?[1:])

File "/usr/lib/python2.6/site-packages/Bcfg2-1.3.4-py2.6.egg/Bcfg2/Server/Admin/Pull.py", line 58, in call

self.PullEntry?(gargs[0], gargs[1], gargs[2])

File "/usr/lib/python2.6/site-packages/Bcfg2-1.3.4-py2.6.egg/Bcfg2/Server/Admin/Pull.py", line 121, in PullEntry?

new_entry = self.BuildNewEntry?(client, etype, ename)

File "/usr/lib/python2.6/site-packages/Bcfg2-1.3.4-py2.6.egg/Bcfg2/Server/Admin/Pull.py", line 69, in BuildNewEntry?

plugin.GetCurrentEntry?(client, etype, ename)

File "/usr/lib/python2.6/site-packages/Bcfg2-1.3.4-py2.6.egg/Bcfg2/Server/Plugins/Reporting.py", line 28, in _real_rpc_call

return self.transport.rpc(method, *args, kwargs)

AttributeError?: 'NoneType?' object has no attribute 'rpc'

Attachments

Change History

comment:1 Changed 8 years ago by https://www.google.com/accounts/o8/id?id=AItOawmiRmRnCNnjFn-6jLzoa9WbEwOlvgEuWUs

comment:2 Changed 8 years ago by solj

  • Status changed from new 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.

View

Add a comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.