[ovirt-devel] Failed to execute stage 'Misc configuration': Command '/usr/bin/ovirt-aaa-jdbc-tool' failed to execute

Sandro Bonazzola sbonazzo at redhat.com
Tue Apr 11 14:10:49 UTC 2017


On Tue, Apr 11, 2017 at 4:06 PM, Martin Perina <mperina at redhat.com> wrote:

> Hi Sandro,
>
> I remember we already had this error when improperly built slf4j package
> was included in our repositories [1]. What is the version of your slf4j
> package? Is it the correct version 1.7.4 [2]?
>
>
sorry, it was slf4j-1.7.10-1.el7.1.noarch on my system. removed.
thanks.




> Thanks
>
> Martin
>
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1394656
> [2] http://download.eng.brq.redhat.com/released/CentOS/7/
> os/x86_64/Packages/slf4j-1.7.4-3.el7.noarch.rpm
>
>
> On Tue, Apr 11, 2017 at 3:51 PM, Sandro Bonazzola <sbonazzo at redhat.com>
> wrote:
>
>> engine-setup:
>> 2017-04-11 09:43:29,659-0400 DEBUG otopi.context
>> context._executeMethod:142 method exception
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in
>> _executeMethod
>>     method['method']()
>>   File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-
>> setup/ovirt-engine/config/aaajdbc.py", line 384, in _misc
>>     self._setupAdminUser()
>>   File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-
>> setup/ovirt-engine/config/aaajdbc.py", line 284, in _setupAdminUser
>>     name=adminUser,
>>   File "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-
>> setup/ovirt-engine/config/aaajdbc.py", line 64, in _userExists
>>     envAppend=toolEnv,
>>   File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 931, in
>> execute
>>     command=args[0],
>> RuntimeError: Command '/usr/bin/ovirt-aaa-jdbc-tool' failed to execute
>>
>>
>>
>> /usr/bin/ovirt-aaa-jdbc-tool:
>>
>> 2017-04-11 09:43:29,659-0400 DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.config.aaajdbc
>> plugin.execute:926 execute-output: ('/usr/bin/ovirt-aaa-jdbc-tool',
>> '--db-config=/etc/ovirt-engine/aaa/internal.pro
>> perties', 'query', '--what=user', '--pattern=name=admin') stderr:
>> Exception in thread "main" org.jboss.modules.ModuleLoadError: Error
>> loading module from /usr/share/ovirt-engine/module
>> s/tools/org/slf4j/main/module.xml
>>         at org.jboss.modules.ModuleLoadException.toError(ModuleLoadExce
>> ption.java:74)
>>         at org.jboss.modules.Module.getPathsUnchecked(Module.java:1435)
>>         at org.jboss.modules.Module.loadModuleClass(Module.java:601)
>>         at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoa
>> der.java:190)
>>         at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnch
>> ecked(ConcurrentClassLoader.java:363)
>>         at org.jboss.modules.ConcurrentClassLoader.performLoadClass(Con
>> currentClassLoader.java:351)
>>         at org.jboss.modules.ConcurrentClassLoader.loadClass(Concurrent
>> ClassLoader.java:93)
>>         at org.ovirt.engine.extension.aaa.jdbc.binding.cli.Cli.<clinit>
>> (Cli.java:87)
>>         at java.lang.Class.forName0(Native Method)
>>         at java.lang.Class.forName(Class.java:348)
>>         at org.jboss.modules.Module.run(Module.java:320)
>>         at org.jboss.modules.Main.main(Main.java:505)
>> Caused by: org.jboss.modules.xml.XmlPullParserException: Failed to add
>> resource root 'slf4j-jdk14.jar' at path 'slf4j-jdk14.jar' (position:
>> END_TAG seen ...path="slf4j-api.jar"/>\n    <resource-root path="slf4j-
>> jdk14.jar"/>... @11:44) caused by: java.io.FileNotFoundException:
>> /usr/share/ovirt-engine/modules/tools/org/slf4j/main/slf4j-jdk14.jar
>> (File o directory non esistente)
>>         at org.jboss.modules.xml.ModuleXmlParser.parseResourceRoot(Modu
>> leXmlParser.java:891)
>>         at org.jboss.modules.xml.ModuleXmlParser.parseResources(ModuleX
>> mlParser.java:735)
>>         at org.jboss.modules.xml.ModuleXmlParser.parseModuleContents(Mo
>> duleXmlParser.java:535)
>>         at org.jboss.modules.xml.ModuleXmlParser.parseDocument(ModuleXm
>> lParser.java:340)
>>         at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleX
>> mlParser.java:226)
>>         at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleX
>> mlParser.java:204)
>>         at org.jboss.modules.xml.ModuleXmlParser.parseModuleXml(ModuleX
>> mlParser.java:170)
>>         at org.jboss.modules.LocalModuleFinder.lambda$findModule$0(Loca
>> lModuleFinder.java:149)
>>         at java.security.AccessController.doPrivileged(Native Method)
>>         at org.jboss.modules.LocalModuleFinder.findModule(LocalModuleFi
>> nder.java:144)
>>         at org.jboss.modules.ModuleLoader.findModule(ModuleLoader.java:
>> 439)
>>         at org.jboss.modules.ModuleLoader.loadModuleLocal(ModuleLoader.
>> java:342)
>>         at org.jboss.modules.ModuleLoader.preloadModule(ModuleLoader.
>> java:289)
>>         at org.jboss.modules.Module.addPaths(Module.java:1079)
>>         at org.jboss.modules.Module.link(Module.java:1449)
>>         at org.jboss.modules.Module.getPaths(Module.java:1410)
>>         at org.jboss.modules.Module.getPathsUnchecked(Module.java:1433)
>>         ... 10 more
>>
>> # rpm -qf /usr/bin/ovirt-aaa-jdbc-tool
>> ovirt-engine-extension-aaa-jdbc-1.1.5-0.0.master.git2a03d42.
>> el7.centos.noarch
>>
>> # rpm -qv ovirt-engine
>> ovirt-engine-4.2.0-0.0.master.20170408115943.gitea6bd62.el7.centos.noarch
>>
>>
>>
>>
>> --
>>
>> SANDRO BONAZZOLA
>>
>> ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D
>>
>> Red Hat EMEA <https://www.redhat.com/>
>> <https://red.ht/sig>
>> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>>
>
>


-- 

SANDRO BONAZZOLA

ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA ENG VIRTUALIZATION R&D

Red Hat EMEA <https://www.redhat.com/>
<https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20170411/c0a7fc3a/attachment.html>


More information about the Devel mailing list