Bug 454886 - AttributeError: 'CMConfig' object has no attribute 'cert_extension'
AttributeError: 'CMConfig' object has no attribute 'cert_extension'
Product: Fedora
Classification: Fedora
Component: func (Show other bugs)
All Linux
low Severity high
: ---
: ---
Assigned To: Michael DeHaan
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-07-10 11:26 EDT by Edouard Bourguignon
Modified: 2014-01-21 18:03 EST (History)
1 user (show)

See Also:
Fixed In Version: 0.20-2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-07-11 14:29:46 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Edouard Bourguignon 2008-07-10 11:26:40 EDT
Description of problem:
func master can't connect anymore to func minions, seems func overlord client is
missing something in the config file of the certmaster (about a cert_extension
key). Parsing the config file seems incomplete.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. install func on master and clients
2. run funcd on clients and sign the certs on the master
3. try to run func
Actual results:
[root@Toutatis func]# func dom0-ref0* call process list
Traceback (most recent call last):
  File "/usr/bin/func", line 12, in <module>
  File "/usr/lib/python2.5/site-packages/func/overlord/command.py", line 224, in
  File "/usr/lib/python2.5/site-packages/func/overlord/func_command.py", line
64, in handleArguments
    if client.is_minion(minion_string) or self._isGlob(minion_string):
  File "/usr/lib/python2.5/site-packages/func/overlord/client.py", line 153, in
    return minions.is_minion()
  File "/usr/lib/python2.5/site-packages/func/overlord/client.py", line 143, in
  File "/usr/lib/python2.5/site-packages/func/overlord/client.py", line 129, in
  File "/usr/lib/python2.5/site-packages/func/overlord/client.py", line 114, in
    actual_gloob = "%s/%s.%s" % (self.config.certroot, each_gloob,
AttributeError: 'CMConfig' object has no attribute 'cert_extension'

Expected results:
should work

Additional info:
Comment 1 Michael DeHaan 2008-07-10 12:46:15 EDT
Look for an .rpmnew file and add that new setting to the config file.

I agree that if this is not provided this should not be an error, thanks for the

Comment 2 Michael DeHaan 2008-07-10 12:53:24 EDT
I've filed a Trac ticket here so it shows up in our Trac list.  


Comment 3 Edouard Bourguignon 2008-07-11 03:11:55 EDT
no .rpmnew file. Even if I add the cert_extension to the certmaster minion.conf
it doesn't work. But it works if I take the latest git version.
Comment 4 Michael DeHaan 2008-07-11 08:59:53 EDT
It does not look to be a problem with a minion side config file as this is
coming from the ovelord.

Can you please try this and report the results:

find /etc/func -name "*.rpmnew" 
find /etc/certmaster -name "*.rpmnew" 

It would be working from git because if you install from there with "make
install" it would overwrite your old config file.  Or are you saying you are
rebuilding the RPM from git and installing it on the same system without
changing config files and that works?
Comment 5 Michael DeHaan 2008-07-11 14:29:46 EDT
You can ignore the above.

We failed to push the new certmaster 0.20-2 to Fedora 8/9 updates.  If you got
your update via yum, this explains it.

It is pushed now and should be on mirrors shortly.

Comment 6 Edouard Bourguignon 2008-07-13 06:12:39 EDT
great, I will try this asap.

Thanks :)

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