
This is a multi-part message in MIME format. --------------7B762674A4B02C3B895B9538 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable I recently installed oVirt 4.2 on centos 7 and it turns out that it gave=20 me the following error when trying to execute the command engine-setup [root@localhost ~]# engine-setup [ INFO=C2=A0 ] Stage: Initializing [ INFO=C2=A0 ] Stage: Environment setup =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Configuration fil= es:=20 ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf',=20 '/etc/ovirt-engine-setup.conf.d/10-packaging.conf'] =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Log file:=20 /var/log/ovirt-engine/setup/ovirt-engine-setup-20180320051815-eon9vg.log =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Version: otopi-1.= 7.7 (otopi-1.7.7-1.el7) [ ERROR ] "before" parameter of method=20 otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Pl= ugin._misc_configure_ovn_pki=20 is a string, should probably be a tuple. Perhaps a missing comma? =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 methodinfo: {'pri= ority': 5000, 'name': None, 'before':=20 'osetup.ovn.provider.service.restart', 'after':=20 ('osetup.pki.ca.available', 'osetup.ovn.services.restart'), 'method':=20 <bound method ?._misc_configure_ovn_pki of=20 <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.P= lugin=20 object at 0x1592790>>, 'condition': <bound method ?.<lambda> of=20 <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.P= lugin=20 object at 0x1592790>>, 'stage': 11} [ ERROR ] "before" parameter of method=20 otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Pl= ugin._misc_configure_provider=20 is a string, should probably be a tuple. Perhaps a missing comma? =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 methodinfo: {'pri= ority': 5000, 'name': None, 'before':=20 'osetup.ovn.provider.service.restart', 'after':=20 ('osetup.pki.ca.available', 'osetup.ovn.services.restart'), 'method':=20 <bound method ?._misc_configure_provider of=20 <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.P= lugin=20 object at 0x1592790>>, 'condition': <bound method ?.<lambda> of=20 <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.P= lugin=20 object at 0x1592790>>, 'stage': 11} [ ERROR ] Failed to execute stage 'Environment setup': Found bad=20 "before" or "after" parameters [ INFO=C2=A0 ] Stage: Clean up =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Log file is locat= ed at=20 /var/log/ovirt-engine/setup/ovirt-engine-setup-20180320051815-eon9vg.log [ ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no=20 attribute 'cleanup' [ INFO=C2=A0 ] Generating answer file=20 '/var/lib/ovirt-engine/setup/answers/20180320051817-setup.conf' [ INFO=C2=A0 ] Stage: Pre-termination [ INFO=C2=A0 ] Stage: Termination [ ERROR ] Execution of setup failed UCIENCIA 2018: III Conferencia Cient=C3=ADfica Internacional de la Universidad de las Ciencias Inform=C3=A1ticas. =0ADel 24-26 de septiembre, 2018 http://uciencia.uci.cu http://eventos.uci.cu=0A --------------7B762674A4B02C3B895B9538 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"content-type" content=3D"text/html; charset=3Dutf= -8"> </head> <body text=3D"#000000" bgcolor=3D"#FFFFFF"> <p><span id=3D"result_box" class=3D"" lang=3D"en"><span class=3D"">I recently installed oVirt 4.2 on centos 7 and it turns out that it gave me the following error when trying to execute the command engine-setup</span></span></p> <p><br> </p> <p>[root@localhost ~]# engine-setup<br> [ INFO=C2=A0 ] Stage: Initializing<br> [ INFO=C2=A0 ] Stage: Environment setup<br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Configuratio= n files: ['/etc/ovirt-engine-setup.conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf.d/10-packaging.conf']<br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup-20180320051815-eon9v= g.log<br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Version: oto= pi-1.7.7 (otopi-1.7.7-1.el7)<br> [ ERROR ] "before" parameter of method otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Pl= ugin._misc_configure_ovn_pki is a string, should probably be a tuple. Perhaps a missing comma?<b= r> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 methodinfo: = {'priority': 5000, 'name': None, 'before': 'osetup.ovn.provider.service.restart', 'after': ('osetup.pki.ca.available', 'osetup.ovn.services.restart'), 'method': <bound method ?._misc_configure_ovn_pki of <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderov= n.Plugin object at 0x1592790>>, 'condition': <bound method ?.<lambda> of <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderov= n.Plugin object at 0x1592790>>, 'stage': 11}<br> [ ERROR ] "before" parameter of method otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderovn.Pl= ugin._misc_configure_provider is a string, should probably be a tuple. Perhaps a missing comma?<b= r> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 methodinfo: = {'priority': 5000, 'name': None, 'before': 'osetup.ovn.provider.service.restart', 'after': ('osetup.pki.ca.available', 'osetup.ovn.services.restart'), 'method': <bound method ?._misc_configure_provider of <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderov= n.Plugin object at 0x1592790>>, 'condition': <bound method ?.<lambda> of <otopi.plugins.ovirt_engine_setup.ovirt_engine.network.ovirtproviderov= n.Plugin object at 0x1592790>>, 'stage': 11}<br> [ ERROR ] Failed to execute stage 'Environment setup': Found bad "before" or "after" parameters<br> [ INFO=C2=A0 ] Stage: Clean up<br> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Log file is = located at /var/log/ovirt-engine/setup/ovirt-engine-setup-20180320051815-eon9v= g.log<br> [ ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no attribute 'cleanup'<br> [ INFO=C2=A0 ] Generating answer file '/var/lib/ovirt-engine/setup/answers/20180320051817-setup.conf'<br> [ INFO=C2=A0 ] Stage: Pre-termination<br> [ INFO=C2=A0 ] Stage: Termination<br> [ ERROR ] Execution of setup failed<br> </p> <br>= <html>=0A<body>=0A<div>=0A<img src=3D"https://www.uci.cu/sites/default/files/uciencia.jpg" >=0A</div>=0A</body>=0A</html>=0A <br>= </body> </html> --------------7B762674A4B02C3B895B9538--

On Tue, Mar 20, 2018 at 3:21 PM, Marcos Michel Martinez Perez < mmartinezp@uci.cu> wrote:
I recently installed oVirt 4.2 on centos 7 and it turns out that it gave me the following error when trying to execute the command engine-setup
Which version? What's the output of: rpm -qi ovirt-engine-setup-plugin-ovirt-engine
[root@localhost ~]# engine-setup [ INFO ] Stage: Initializing [ INFO ] Stage: Environment setup Configuration files: ['/etc/ovirt-engine-setup. conf.d/10-packaging-jboss.conf', '/etc/ovirt-engine-setup.conf. d/10-packaging.conf'] Log file: /var/log/ovirt-engine/setup/ovirt-engine-setup- 20180320051815-eon9vg.log Version: otopi-1.7.7 (otopi-1.7.7-1.el7) [ ERROR ] "before" parameter of method otopi.plugins.ovirt_engine_ setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_ovn_pki is a string, should probably be a tuple. Perhaps a missing comma?
This error was fixed in 4.2.1, by this patch: https://gerrit.ovirt.org/#/q/Id4e0e621624efff0ff0e8a9fd6f23f53f2aa54d2,n,z The bug existed for some time, but was only exposed by this patch: https://gerrit.ovirt.org/#/c/86679/ which was included in otopi-1.7.7, which was released as part of 4.2.1. So it seems like you somehow have 4.2 repos, updated otopi, but didn't update engine setup packages.
methodinfo: {'priority': 5000, 'name': None, 'before': 'osetup.ovn.provider.service.restart', 'after': ('osetup.pki.ca.available', 'osetup.ovn.services.restart'), 'method': <bound method ?._misc_configure_ovn_pki of <otopi.plugins.ovirt_engine_ setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x1592790>>, 'condition': <bound method ?.<lambda> of <otopi.plugins.ovirt_engine_ setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x1592790>>, 'stage': 11} [ ERROR ] "before" parameter of method otopi.plugins.ovirt_engine_ setup.ovirt_engine.network.ovirtproviderovn.Plugin._misc_configure_provider is a string, should probably be a tuple. Perhaps a missing comma? methodinfo: {'priority': 5000, 'name': None, 'before': 'osetup.ovn.provider.service.restart', 'after': ('osetup.pki.ca.available', 'osetup.ovn.services.restart'), 'method': <bound method ?._misc_configure_provider of <otopi.plugins.ovirt_engine_ setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x1592790>>, 'condition': <bound method ?.<lambda> of <otopi.plugins.ovirt_engine_ setup.ovirt_engine.network.ovirtproviderovn.Plugin object at 0x1592790>>, 'stage': 11} [ ERROR ] Failed to execute stage 'Environment setup': Found bad "before" or "after" parameters [ INFO ] Stage: Clean up Log file is located at /var/log/ovirt-engine/setup/ ovirt-engine-setup-20180320051815-eon9vg.log [ ERROR ] Failed to execute stage 'Clean up': 'NoneType' object has no attribute 'cleanup' [ INFO ] Generating answer file '/var/lib/ovirt-engine/setup/ answers/20180320051817-setup.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [ ERROR ] Execution of setup failed
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
-- Didi
participants (2)
-
Marcos Michel Martinez Perez
-
Yedidyah Bar David