[Freeipa-devel] SkipPluginModule error raised during new code installation
Tomas Babej
tbabej at redhat.com
Thu Jun 4 14:14:47 UTC 2015
On 06/04/2015 03:55 PM, Oleg Fayans wrote:
> Hi everybody
>
> The following error was raised during the installation of the freeipa
> packages built from the current master branch:
>
> ofayans at f22master:~/freeipa/dist/rpms]$ sudo rpm -ihv *.rpm
> Preparing... ################################# [100%]
> Updating / installing...
> 1:freeipa-python-4.1.99.20150604133################################# [ 14%]
> 2:freeipa-client-4.1.99.20150604133################################# [ 29%]
> 3:freeipa-admintools-4.1.99.2015060################################# [ 43%]
> 4:freeipa-server-4.1.99.20150604133################################# [ 57%]
> 5:freeipa-server-trust-ad-4.1.99.20################################# [ 71%]
> 6:freeipa-tests-4.1.99.201506041338################################# [ 86%]
> 7:freeipa-debuginfo-4.1.99.20150604################################# [100%]
> Unexpected error - see /var/log/ipaupgrade.log for details:
> SkipPluginModule: dogtag not selected as RA plugin
>
> The corresponding part of the ipaupgrade.log is as follows:
>
> 2015-06-04T13:48:36Z DEBUG File
> "/usr/lib/python2.7/site-packages/ipapython/admintool.py", line 171, in
> execute
> return_value = self.run()
> File
> "/usr/lib/python2.7/site-packages/ipaserver/install/ipa_server_upgrade.py",
> line 44, in run
> import ipaserver.plugins.dogtag # ensure profile backend gets loaded
> File "/usr/lib/python2.7/site-packages/ipaserver/plugins/dogtag.py",
> line 1273, in <module>
> raise SkipPluginModule(reason='dogtag not selected as RA plugin')
>
> 2015-06-04T13:48:36Z DEBUG The ipa-server-upgrade command failed,
> exception: SkipPluginModule: dogtag not selected as RA plugin
>
> This error is observed both on f22 and f21 machines.
>
> the only patch that I applied on top of the master branch is this:
> freeipa-lkrispen-0011-check-for-existing-and-self-referential-segments.patch
>
>
Hi Oleg,
please make sure the values in the .ipa/default.conf and
/etc/ipa/default.conf are valid. The exception you encountered is raised
in this part of the code:
if api.env.ra_plugin != 'dogtag':
# In this case, abort loading this plugin module...
raise SkipPluginModule(reason='dogtag not selected as RA plugin')
For a newly installed IPA master, I am not hitting this issue. I can see
that /etc/ipa/default.conf does contain correct value on my machine:
[global]
...
ra_plugin=dogtag
...
Additionally, you can try running:
$ ipa console
(Custom IPA interactive Python console)
>>> from ipalib import api
>>> api.env.ra_plugin
u'dogtag'
>>>
HTH,
Tomas
More information about the Freeipa-devel
mailing list