Re: [ovirt-users] oVirt 4.0 Host install fail cause of dnf api

2016-06-26 Thread Yedidyah Bar David
On Sun, Jun 26, 2016 at 11:47 AM, Pilař Vojtěch  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.5

Best,

>
> Best Regards,
> Vojtech
>
>
> 
> Od: Yedidyah Bar David 
> 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  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-branches
>
> Best,
> --
> Didi



-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.0 Host install fail cause of dnf api

2016-06-26 Thread Pilař Vojtěch
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 
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  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-branches

Best,
--
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt 4.0 Host install fail cause of dnf api

2016-06-25 Thread Yedidyah Bar David
On Sat, Jun 25, 2016 at 9:22 PM, Pilař Vojtěch  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-branches

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] oVirt 4.0 Host install fail cause of dnf api

2016-06-25 Thread Pilař Vojtěch

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).

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.

(Fedora 23, oVirt 4.0)

Thank you for help
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users