oVirt 4.0 Host install fail cause of dnf api

--_000_c9bbad56edaa4f53be9de7805b8be891EX13nconzolocal_ Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Hi all, iam trying to install host from oVirt Engine Web Admin, but with no success= so far. Everything dies on sigCheckPkg bug from dnf (https://bugzilla.redh= at.com/show_bug.cgi?id=3D1344270). 2016-06-25 19:36:22 INFO otopi.plugins.otopi.packagers.dnfpackager dnfpacka= ger.info:79 DNF Downloaded libselinux-python-2.4-4.fc23.x86_64.rpm The 'sigCheckPkg' function is not a part of DNF API and will be removed in = the upcoming DNF release. Please use only officially supported API function= s. DNF API documentation is available at https://dnf.readthedocs.org/en/lat= est/api.html. 2016-06-25 19:36:22 ERROR otopi.plugins.otopi.packagers.dnfpackager dnfpack= ager.error:84 DNF 'NoneType' object is not iterable 2016-06-25 19:36:22 DEBUG otopi.plugins.otopi.packagers.dnfpackager dnfpack= ager.verbose:75 DNF Closing transaction with rollback Is there any workaround? I see no way to deploy hosts. (Fedora 23, oVirt 4.0) Thank you for help --_000_c9bbad56edaa4f53be9de7805b8be891EX13nconzolocal_ Content-Type: text/html; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-= 2"> <style type=3D"text/css" style=3D"display:none"><!--P{margin-top:0;margin-b= ottom:0;} .ms-cui-menu {background-color:#ffffff;border:1px rgb(171, 171, 1= 71) solid;font-family:"Segoe UI WPC","Segoe UI",Tahoma,"Microsoft Sans Seri= f",Verdana,sans-serif;font-size:10pt;color:rgb(51, 51, 51);} .ms-cui-menuse= ction-title {display:none;} .ms-cui-ctl {vertical-align:text-top;text-decor= ation:none;color:rgb(51, 51, 51);} .ms-cui-ctl-on {background-color:rgb(223= , 237, 250);opacity: 0.8;} .ms-cui-img-cont-float {display:inline-block;mar= gin-top:2px} .ms-cui-smenu-inner {padding-top:0px;} .ms-owa-paste-option-ic= on {margin: 2px 4px 0px 4px;vertical-align:sub;padding-bottom: 2px;display:= inline-block;} .ms-rtePasteFlyout-option:hover {background-color:rgb(223, 2= 37, 250) !important;opacity:1 !important;} .ms-rtePasteFlyout-option {paddi= ng:8px 4px 8px 4px;outline:none;} .ms-cui-menusection {float:left; width:85= px;height:24px;overflow:hidden}--></style> </head> <body> <div style=3D"font-size:12pt;color:#000000;background-color:#FFFFFF;font-fa= mily:Calibri,Arial,Helvetica,sans-serif;"> <p><br> </p> <p>Hi all,<br> <br> iam trying to install host from oVirt Engine Web Admin, but with no success= so far. Everything dies on sigCheckPkg bug from dnf (https://bugzilla.redh= at.com/show_bug.cgi?id=3D1344270).<br> <br> <span style=3D"font-size: 10pt;">2016-06-25 19:36:22 INFO otopi.plugins.oto= pi.packagers.dnfpackager dnfpackager.info:79 DNF Downloaded libselinux-pyth= on-2.4-4.fc23.x86_64.rpm</span><br style=3D"font-size: 10pt;"> <span style=3D"font-size: 10pt;">The 'sigCheckPkg' function is not a part o= f DNF API and will be removed in the upcoming DNF release. Please use only = officially supported API functions. DNF API documentation is available at h= ttps://dnf.readthedocs.org/en/latest/api.html.</span><br style=3D"font-size= : 10pt;"> <span style=3D"font-size: 10pt;">2016-06-25 19:36:22 ERROR otopi.plugins.ot= opi.packagers.dnfpackager dnfpackager.error:84 DNF 'NoneType' object is not= iterable</span><br style=3D"font-size: 10pt;"> <span style=3D"font-size: 10pt;">2016-06-25 19:36:22 DEBUG otopi.plugins.ot= opi.packagers.dnfpackager dnfpackager.verbose:75 DNF Closing transaction wi= th rollback</span><br> <br> Is there any workaround? I see no way to deploy hosts.<br> <br> (Fedora 23, oVirt 4.0)<br> <br> Thank you for help<br> </p> </div> </body> </html> --_000_c9bbad56edaa4f53be9de7805b8be891EX13nconzolocal_--

On Sat, Jun 25, 2016 at 9:22 PM, Pilař Vojtěch <pilar@nconzo.cz> wrote:
Hi all,
iam trying to install host from oVirt Engine Web Admin, but with no success so far. Everything dies on sigCheckPkg bug from dnf (https://bugzilla.redhat.com/show_bug.cgi?id=1344270).
Indeed. Above bug can only be fixed once dnf publishes an official api for checking signatures. For now we just dropped the check, see this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1343382 which is targeted to 4.0.1.
2016-06-25 19:36:22 INFO otopi.plugins.otopi.packagers.dnfpackager dnfpackager.info:79 DNF Downloaded libselinux-python-2.4-4.fc23.x86_64.rpm The 'sigCheckPkg' function is not a part of DNF API and will be removed in the upcoming DNF release. Please use only officially supported API functions. DNF API documentation is available at https://dnf.readthedocs.org/en/latest/api.html. 2016-06-25 19:36:22 ERROR otopi.plugins.otopi.packagers.dnfpackager dnfpackager.error:84 DNF 'NoneType' object is not iterable 2016-06-25 19:36:22 DEBUG otopi.plugins.otopi.packagers.dnfpackager dnfpackager.verbose:75 DNF Closing transaction with rollback
Is there any workaround? I see no way to deploy hosts.
For now the only workaround I am aware of is to use a fixed build, which you can get from jenkins [1] or from the nightly snapshots [2]. [1] http://jenkins.ovirt.org/job/otopi_4.0_build-artifacts-el7-x86_64/ [2] https://www.ovirt.org/develop/dev-process/install-nightly-snapshot/#from-40-... Best, -- Didi

Thank you for confirming my thoughts. There is an easier way, than to use completely different build - i used gerrit [1] repo and found the minidnf.py file, where the signture checking is and simply removed it for the time being. If anyone is interested you can "fix" it in: /usr/lib/python2.7/site-packages/otopi/minidnf.py and remove L:626-638 [1] https://gerrit.ovirt.org/#/c/59494/1/src/otopi/minidnf.py Best Regards, Vojtech ________________________________________ Od: Yedidyah Bar David <didi@redhat.com> Odesláno: 26. června 2016 8:50 Komu: Pilař Vojtěch Kopie: users@ovirt.org Předmět: Re: [ovirt-users] oVirt 4.0 Host install fail cause of dnf api On Sat, Jun 25, 2016 at 9:22 PM, Pilař Vojtěch <pilar@nconzo.cz> wrote:
Hi all,
iam trying to install host from oVirt Engine Web Admin, but with no success so far. Everything dies on sigCheckPkg bug from dnf (https://bugzilla.redhat.com/show_bug.cgi?id=1344270).
Indeed. Above bug can only be fixed once dnf publishes an official api for checking signatures. For now we just dropped the check, see this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1343382 which is targeted to 4.0.1.
2016-06-25 19:36:22 INFO otopi.plugins.otopi.packagers.dnfpackager dnfpackager.info:79 DNF Downloaded libselinux-python-2.4-4.fc23.x86_64.rpm The 'sigCheckPkg' function is not a part of DNF API and will be removed in the upcoming DNF release. Please use only officially supported API functions. DNF API documentation is available at https://dnf.readthedocs.org/en/latest/api.html. 2016-06-25 19:36:22 ERROR otopi.plugins.otopi.packagers.dnfpackager dnfpackager.error:84 DNF 'NoneType' object is not iterable 2016-06-25 19:36:22 DEBUG otopi.plugins.otopi.packagers.dnfpackager dnfpackager.verbose:75 DNF Closing transaction with rollback
Is there any workaround? I see no way to deploy hosts.
For now the only workaround I am aware of is to use a fixed build, which you can get from jenkins [1] or from the nightly snapshots [2]. [1] http://jenkins.ovirt.org/job/otopi_4.0_build-artifacts-el7-x86_64/ [2] https://www.ovirt.org/develop/dev-process/install-nightly-snapshot/#from-40-... Best, -- Didi

On Sun, Jun 26, 2016 at 11:47 AM, Pilař Vojtěch <pilar@nconzo.cz> wrote:
Thank you for confirming my thoughts.
There is an easier way, than to use completely different build - i used gerrit [1] repo and found the minidnf.py file, where the signture checking is and simply removed it for the time being.
If anyone is interested you can "fix" it in:
/usr/lib/python2.7/site-packages/otopi/minidnf.py and remove L:626-638
[1] https://gerrit.ovirt.org/#/c/59494/1/src/otopi/minidnf.py
Well, some people might disagree about what's "easier", but thanks for your report anyway! You can also check the git log of otopi-1.5 branch in [1], to see other changes you get from the nightly snapshot: [1] https://gerrit.ovirt.org/gitweb?p=otopi.git;a=shortlog;h=refs/heads/otopi-1.... Best,
Best Regards, Vojtech
________________________________________ Od: Yedidyah Bar David <didi@redhat.com> Odesláno: 26. června 2016 8:50 Komu: Pilař Vojtěch Kopie: users@ovirt.org Předmět: Re: [ovirt-users] oVirt 4.0 Host install fail cause of dnf api
On Sat, Jun 25, 2016 at 9:22 PM, Pilař Vojtěch <pilar@nconzo.cz> wrote:
Hi all,
iam trying to install host from oVirt Engine Web Admin, but with no success so far. Everything dies on sigCheckPkg bug from dnf (https://bugzilla.redhat.com/show_bug.cgi?id=1344270).
Indeed.
Above bug can only be fixed once dnf publishes an official api for checking signatures. For now we just dropped the check, see this bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1343382
which is targeted to 4.0.1.
2016-06-25 19:36:22 INFO otopi.plugins.otopi.packagers.dnfpackager dnfpackager.info:79 DNF Downloaded libselinux-python-2.4-4.fc23.x86_64.rpm The 'sigCheckPkg' function is not a part of DNF API and will be removed in the upcoming DNF release. Please use only officially supported API functions. DNF API documentation is available at https://dnf.readthedocs.org/en/latest/api.html. 2016-06-25 19:36:22 ERROR otopi.plugins.otopi.packagers.dnfpackager dnfpackager.error:84 DNF 'NoneType' object is not iterable 2016-06-25 19:36:22 DEBUG otopi.plugins.otopi.packagers.dnfpackager dnfpackager.verbose:75 DNF Closing transaction with rollback
Is there any workaround? I see no way to deploy hosts.
For now the only workaround I am aware of is to use a fixed build, which you can get from jenkins [1] or from the nightly snapshots [2].
[1] http://jenkins.ovirt.org/job/otopi_4.0_build-artifacts-el7-x86_64/ [2] https://www.ovirt.org/develop/dev-process/install-nightly-snapshot/#from-40-...
Best, -- Didi
-- Didi
participants (2)
-
Pilař Vojtěch
-
Yedidyah Bar David