Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (187 - 189 of 894)

Ticket Owner Reporter Resolution Summary
#437 desai lueningh fixed Inconsistent wording in client messages
Description

Inconsistent wording when running client with '-I':

Install Package gperf-3.0.1-150.2? (y/N) y
Would you like to install Package: gpg-pubkey? (y/N): 
Install Package heartbeat-2.0.5-7.10? (y/N) 
#438 desai [email protected] fixed bcfg2-info doesn't respect -c option
Description

I am trying to test out my config spec by running bcfg2-info and specifying a config file on the command line using the -c parameter as described in the manual page. I get the following error:

$ /usr/sbin/bcfg2-info -c test.conf
Creating new statistics file ./etc/statistics.xml
Failed to read properties file; TCheetah properties disabled
Unexpected initiantiation failure for plugin Metadata
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Core.py", line 240, in __init__
    self.plugins[plugin] = struct(self, self.datastore)
  File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Plugins/Metadata.py", line 72, in __init__
    self.password = CP.get('communication', 'password')
  File "ConfigParser.py", line 511, in get
    raise NoSectionError(section)
NoSectionError: No section: 'communication'
Traceback (most recent call last):
  File "/usr/sbin/bcfg2-info", line 187, in ?
    bcore = Bcfg2.Server.Core.Core({}, cfile)
  File "/usr/lib/python2.4/site-packages/Bcfg2/Server/Core.py", line 246, in __init__
    self.metadata = self.plugins['Metadata']
KeyError: 'Metadata'
>>>
KeyboardInterrupt
>>>

In investigating the code for Metadata.py around line 68, it appears to use a capital -C argument instead of a lowercase -c argument for specifying the config file. When I run bcfg2-info -c test.conf -C test.conf, the correct config file seems to be used and the program behaves as I would have expected using just bcfg2-info -c test.conf.

I'm running bcfg2 version 0.9.3 using a self-built Debian package created from a local working copy of https://svn.mcs.anl.gov/repos/bcfg/tags/bcfg2_0_9_3/bcfg2.

#439 desai leggett fixed traceback with PEM key after upgrading to 0.9.3
Description

I just tried upgrading to 0.9.3 and am getting this now:

May 10 11:25:03 www bcfg2-server[10034]: Failed to load ssl key /usr/share/ssl/bcfg2/www-key.pem
 Traceback (most recent call last):
   File "/usr/lib/python2.3/site-packages/Bcfg2/Server/Component.py", line 131, in __init__
     TLSServer.__init__(self, location, keyfile, CobaltXMLRPCRequestHandler)
   File "/usr/lib/python2.3/site-packages/Bcfg2/Server/Component.py", line 64, in __init__
     self.key = Bcfg2.tlslite.api.parsePEMKey(s, private=True)
   File "/usr/lib/python2.3/site-packages/Bcfg2/tlslite/utils/keyfactory.py", line 146, in parsePEMKey
     key = OpenSSL_RSAKey.parse(s, passwordCallback)
   File "/usr/lib/python2.3/site-packages/Bcfg2/tlslite/utils/OpenSSL_RSAKey.py", line 146, in parse
     raise SyntaxError() SyntaxError
Note: See TracQuery for help on using queries.