Adding Fedora 28 host to engine 4.2 (NotImplementedError: Packager install not implemented)

I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with: 2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemented Do we have a way to workaround this? I must have a host when I can build and test virt-v2v upstream from source, and virt-v2v requires python 3. So I need some workaround to get the host connected to engine. Nir

On Wed, Jun 20, 2018 at 1:21 AM, Nir Soffer <nsoffer@redhat.com> wrote:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemented
Do we have a way to workaround this?
Which version of otopi? Gal (added) is currently working on fedora/python3 support for the stuff we (integration-development team) maintain, including otopi. Several relevant patches were merged in recent weeks, please update. That said, I still do not consider fedora 28/python 3 "supported" - in particular, I have no idea what the status of host-deploy is.
I must have a host when I can build and test virt-v2v upstream from source, and virt-v2v requires python 3.
Must it have /usr/bin/python be python3?
So I need some workaround to get the host connected to engine.
Must this be on fedora? You can have python 3(.4) on el7 from epel. You can have even newer ones from SCL. If you do want/need fedora, please update to latest otopi on your engine machine, make sure the bundle is updated, e.g. by removing it: rm /var/cache/ovirt-engine/ovirt-host-deploy.tar Then try to add the host, and share the host-deploy log. Thanks. -- Didi

On Wed, Jun 20, 2018 at 9:53 AM, Yedidyah Bar David <didi@redhat.com> wrote:
On Wed, Jun 20, 2018 at 1:21 AM, Nir Soffer <nsoffer@redhat.com> wrote:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemented
Do we have a way to workaround this?
Which version of otopi?
Gal (added) is currently working on fedora/python3 support for the stuff we (integration-development team) maintain, including otopi. Several relevant patches were merged in recent weeks, please update.
That said, I still do not consider fedora 28/python 3 "supported" - in particular, I have no idea what the status of host-deploy is.
I must have a host when I can build and test virt-v2v upstream from source, and virt-v2v requires python 3.
Must it have /usr/bin/python be python3?
So I need some workaround to get the host connected to engine.
Must this be on fedora?
You can have python 3(.4) on el7 from epel.
You can have even newer ones from SCL.
If you do want/need fedora, please update to latest otopi on your engine machine, make sure the bundle is updated, e.g. by removing it: rm /var/cache/ovirt-engine/ovirt-host-deploy.tar Then try to add the host, and share the host-deploy log. Thanks.
Only after replying noticed you mention "4.2". Sorry. We have no plans to support fedora/python3 in 4.2. You can try master, see above. Best regards, -- Didi

On Wed, Jun 20, 2018 at 9:55 AM Yedidyah Bar David <didi@redhat.com> wrote:
On Wed, Jun 20, 2018 at 1:21 AM, Nir Soffer <nsoffer@redhat.com> wrote:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py",
On Wed, Jun 20, 2018 at 9:53 AM, Yedidyah Bar David <didi@redhat.com> wrote: line
84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemented
Do we have a way to workaround this?
Which version of otopi?
The version found on Fedora 28, using ovirt-release-master repos.
Gal (added) is currently working on fedora/python3 support for the stuff we (integration-development team) maintain, including otopi. Several relevant patches were merged in recent weeks, please update.
That said, I still do not consider fedora 28/python 3 "supported" - in particular, I have no idea what the status of host-deploy is.
I don't need supported version, its for development.
I must have a host when I can build and test virt-v2v upstream from
source,
and virt-v2v requires python 3.
Must it have /usr/bin/python be python3?
No, /usr/bin/python should be python 2.
So I need some workaround to get the host connected to engine.
Must this be on fedora?
You can have python 3(.4) on el7 from epel.
virt-v2v requires python 3.6.
You can have even newer ones from SCL.
Do you have more details on this?
If you do want/need fedora, please update to latest otopi on your engine machine, make sure the bundle is updated, e.g. by
removing it:
rm /var/cache/ovirt-engine/ovirt-host-deploy.tar Then try to add the host, and share the host-deploy log. Thanks.
Only after replying noticed you mention "4.2". Sorry.
We have no plans to support fedora/python3 in 4.2.
You can try master, see above.
Ok, thanks, will try with master. Nir

On Wed, Jun 20, 2018 at 10:29 AM, Nir Soffer <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 9:55 AM Yedidyah Bar David <didi@redhat.com> wrote:
On Wed, Jun 20, 2018 at 9:53 AM, Yedidyah Bar David <didi@redhat.com> wrote:
On Wed, Jun 20, 2018 at 1:21 AM, Nir Soffer <nsoffer@redhat.com> wrote:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemented
Do we have a way to workaround this?
Which version of otopi?
The version found on Fedora 28, using ovirt-release-master repos.
Gal (added) is currently working on fedora/python3 support for the stuff we (integration-development team) maintain, including otopi. Several relevant patches were merged in recent weeks, please update.
That said, I still do not consider fedora 28/python 3 "supported" - in particular, I have no idea what the status of host-deploy is.
I don't need supported version, its for development.
I must have a host when I can build and test virt-v2v upstream from source, and virt-v2v requires python 3.
Must it have /usr/bin/python be python3?
No, /usr/bin/python should be python 2.
So I need some workaround to get the host connected to engine.
Must this be on fedora?
You can have python 3(.4) on el7 from epel.
virt-v2v requires python 3.6.
You can have even newer ones from SCL.
Do you have more details on this?
https://www.softwarecollections.org/en/scls/rhscl/rh-python36/ It's the same place we take PostgreSQL 9.5 from, on el7. No idea how hard/easy it is to make virt-v2v use it.
If you do want/need fedora, please update to latest otopi on your engine machine, make sure the bundle is updated, e.g. by removing it: rm /var/cache/ovirt-engine/ovirt-host-deploy.tar Then try to add the host, and share the host-deploy log. Thanks.
Only after replying noticed you mention "4.2". Sorry.
We have no plans to support fedora/python3 in 4.2.
You can try master, see above.
Ok, thanks, will try with master.
Good luck, thanks. -- Didi

I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemented
Do we have a way to workaround this? Not sure whether this is the same issue, but I had to install the 'yum'
On 20.06.2018 00:21, Nir Soffer wrote: package manually on the host (even on F27) to be able to add it to 4.2 engine. However, on F28 the ansible task to configure the firewall will fail since there seems to be no python-2 binding for it.
I must have a host when I can build and test virt-v2v upstream from source, and virt-v2v requires python 3. So I need some workaround to get the host connected to engine.
Nir
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/AJRHHOSCNGUO3V...
-- Regards, Viktor Mihajlovski

On Wed, Jun 20, 2018 at 10:31 AM, Viktor VM Mihajlovski <mihajlov@linux.vnet.ibm.com> wrote:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemented
Do we have a way to workaround this? Not sure whether this is the same issue, but I had to install the 'yum'
On 20.06.2018 00:21, Nir Soffer wrote: package manually on the host (even on F27)
Indeed. But this wasn't good, and only happened by an accident, if you ask me. You then entered a state that you had both dnf and yum installed, each having its own db etc (e.g. check 'yum history' and 'dnf history'). I emailed about this some time ago.
to be able to add it to 4.2 engine. However, on F28 the ansible task to configure the firewall will fail since there seems to be no python-2 binding for it.
Didn't check the details, but we made a decision to stop going this path, of trying to use python2 on fedora. We currently (on master branch) do build for both 2 and 3, and I don't mind adding minimal testing to make sure 2 continues to work, but default to 3 on fedora, and working on making all the relevant tools work with 3 as well. The code itself will remain compatible with 2, of course, as we use it also on el7. So if anyone wants to try and make otopi/host-deploy/etc use (optionally!) python2 on fedora and make it work this way, I don't mind getting patches. But the future seems to be python3, no reason to fight that...
I must have a host when I can build and test virt-v2v upstream from source, and virt-v2v requires python 3. So I need some workaround to get the host connected to engine.
Nir
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/AJRHHOSCNGUO3V...
-- Regards, Viktor Mihajlovski _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/ZBLGMDJNLB77K7...
-- Didi

On Wed, Jun 20, 2018 at 10:31 AM, Viktor VM Mihajlovski <mihajlov@linux.vnet.ibm.com> wrote:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemente
Do we have a way to workaround this? Not sure whether this is the same issue, but I had to install the 'yum'
On 20.06.2018 00:21, Nir Soffer wrote: package manually on the host (even on F27)
Indeed.
But this wasn't good, and only happened by an accident, if you ask me. You then entered a state that you had both dnf and yum installed, each having its own db etc (e.g. check 'yum history' and 'dnf history'). At least on F27 and F28, the yum package more or less only adds the
On 20.06.2018 10:02, Yedidyah Bar David wrote: python API and yum is just a wrapper for dnf and thus only the dn [...] -- Regards, Viktor Mihajlovski

On Wed, Jun 20, 2018 at 10:31 AM, Viktor VM Mihajlovski <mihajlov@linux.vnet.ibm.com> wrote:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemente
Do we have a way to workaround this? Not sure whether this is the same issue, but I had to install the 'yum'
On 20.06.2018 00:21, Nir Soffer wrote: package manually on the host (even on F27)
Indeed.
But this wasn't good, and only happened by an accident, if you ask me. You then entered a state that you had both dnf and yum installed, each having its own db etc (e.g. check 'yum history' and 'dnf history'). At least on F27 and F28, the yum package more or less only adds the argh ... those clumsy fingers, sorry
On 20.06.2018 10:02, Yedidyah Bar David wrote: python API and yum is just a wrapper for dnf and thus only the dn
On 20.06.2018 14:40, Viktor VM Mihajlovski wrote: python API and yum is just a wrapper for dnf and thus only the dnf database is maintained, as can be seen by calling both yum & dnf history.
[...]
-- Regards, Viktor Mihajlovski

On Wed, Jun 20, 2018 at 4:32 PM, Viktor VM Mihajlovski <mihajlov@linux.vnet.ibm.com> wrote:
On Wed, Jun 20, 2018 at 10:31 AM, Viktor VM Mihajlovski <mihajlov@linux.vnet.ibm.com> wrote:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemente
Do we have a way to workaround this? Not sure whether this is the same issue, but I had to install the 'yum'
On 20.06.2018 00:21, Nir Soffer wrote: package manually on the host (even on F27)
Indeed.
But this wasn't good, and only happened by an accident, if you ask me. You then entered a state that you had both dnf and yum installed, each having its own db etc (e.g. check 'yum history' and 'dnf history'). At least on F27 and F28, the yum package more or less only adds the argh ... those clumsy fingers, sorry
On 20.06.2018 10:02, Yedidyah Bar David wrote: python API and yum is just a wrapper for dnf and thus only the dn
On 20.06.2018 14:40, Viktor VM Mihajlovski wrote: python API and yum is just a wrapper for dnf and thus only the dnf database is maintained, as can be seen by calling both yum & dnf history.
I admit I didn't test this for some time now. What you wrote above definitely used to be correct for something like 23/24, probably 25, then definitely was broken somewhere around 26. Glad it was fixed later on, but at that point I decided it's not the way to go, for the project, and that we better do the support properly, using python3.
[...]
-- Regards, Viktor Mihajlovski _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/72CIPAY5AWFAVN...
-- Didi

On 21.06.2018 08:10, Yedidyah Bar David wrote:
On Wed, Jun 20, 2018 at 4:32 PM, Viktor VM Mihajlovski <mihajlov@linux.vnet.ibm.com> wrote:
On Wed, Jun 20, 2018 at 10:31 AM, Viktor VM Mihajlovski <mihajlov@linux.vnet.ibm.com> wrote:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemente
Do we have a way to workaround this? Not sure whether this is the same issue, but I had to install the 'yum'
On 20.06.2018 00:21, Nir Soffer wrote: package manually on the host (even on F27)
Indeed.
But this wasn't good, and only happened by an accident, if you ask me. You then entered a state that you had both dnf and yum installed, each having its own db etc (e.g. check 'yum history' and 'dnf history'). At least on F27 and F28, the yum package more or less only adds the argh ... those clumsy fingers, sorry
On 20.06.2018 10:02, Yedidyah Bar David wrote: python API and yum is just a wrapper for dnf and thus only the dn
On 20.06.2018 14:40, Viktor VM Mihajlovski wrote: python API and yum is just a wrapper for dnf and thus only the dnf database is maintained, as can be seen by calling both yum & dnf history.
I admit I didn't test this for some time now.
What you wrote above definitely used to be correct for something like 23/24, probably 25, then definitely was broken somewhere around 26. Glad it was fixed later on, but at that point I decided it's not the way to go, for the project, and that we better do the support properly, using python3. I do agree 100%. Anyway I'm glad there's a way to install on Fedora since we don't have EL repositories (yet) for s390x.
[...]
-- Regards, Viktor Mihajlovski _______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/72CIPAY5AWFAVN...
-- Regards, Viktor Mihajlovski

2018-06-20 0:21 GMT+02:00 Nir Soffer <nsoffer@redhat.com>:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemented
Can you please send output of "rpm -qa|grep otopi" ? Please note that otopi and ovirt-host-deploy are installed on the 4.2 engine host and executed with ssh on the fedora 28 host. So you'll need otopi and ovirt-host-deploy from master installed on the 4.2 engine host. I need to check if engine master on el7 works with fedroa 28 hosts. On a clean ovirt-engine master running on Fedora 28, trying to add a Fedora 28 host fails for me, see https://bugzilla.redhat.com/show_bug.cgi?id=1591801
Do we have a way to workaround this?
I must have a host when I can build and test virt-v2v upstream from source, and virt-v2v requires python 3. So I need some workaround to get the host connected to engine.
Nir
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community- guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/ message/AJRHHOSCNGUO3V5EJ6VCQSBIND4NHJ6N/
-- SANDRO BONAZZOLA ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://red.ht/sig>

On Wed, Jun 20, 2018 at 11:06 AM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
2018-06-20 0:21 GMT+02:00 Nir Soffer <nsoffer@redhat.com>:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemented
Can you please send output of "rpm -qa|grep otopi" ? Please note that otopi and ovirt-host-deploy are installed on the 4.2 engine host and executed with ssh on the fedora 28 host. So you'll need otopi and ovirt-host-deploy from master installed on the 4.2 engine host.
On the 4.2 engine host I'm using latest 4.2 release and repos.
I need to check if engine master on el7 works with fedroa 28 hosts. On a clean ovirt-engine master running on Fedora 28, trying to add a Fedora 28 host fails for me, see https://bugzilla.redhat.com/show_bug.cgi?id=1591801
It would be nice if we can document how to add a host manually so we can test stuff on Fedora 28 before these issue are fixed. Nir

On Wed, Jun 20, 2018 at 9:25 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 11:06 AM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
2018-06-20 0:21 GMT+02:00 Nir Soffer <nsoffer@redhat.com>:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemented
Can you please send output of "rpm -qa|grep otopi" ? Please note that otopi and ovirt-host-deploy are installed on the 4.2 engine host and executed with ssh on the fedora 28 host. So you'll need otopi and ovirt-host-deploy from master installed on the 4.2 engine host.
On the 4.2 engine host I'm using latest 4.2 release and repos.
Tried again with engine master (2e3a05ffc83611a2cb18c2ca7268be2d489834f9) on CentOS 7.5 (1804). $ rpm -qa | egrep 'otopi|ovit-host' otopi-common-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch python2-otopi-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch $ rpm -qa | egrep 'ovirt-release' ovirt-release-master-4.3.0-0.1.master.20180620000053.git025660e.el7.noarch Building and installing engine was great pain. Developer documentation is in the same poor state it was 5 years ago. Thanks Daniel for the help! Adding Fedora 28 host fails with (in host deploy log): AttributeError: 'str' object has no attribute 'decode' 2018-06-21 02:12:18,864+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Initializing': 'str' object has no attribute 'decode' After fixing this we fail with (in host deploy log): TypeError: a bytes-like object is required, not 'str' 2018-06-21 02:21:50,148+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Setup validation': a bytes-like object is required, not 'str' Both issues fixed in https://gerrit.ovirt.org/#/c/92437/ With this patch we reach the next failure in otopi, fixed in https://gerrit.ovirt.org/#/c/92435/ Next failure is in TASK [ovirt-provider-ovn-driver : Install ovirt-provider-ovn-driver]: The conditional check 'ovn_central | ipaddr' failed. The error was: The ipaddr filter requires python-netaddr be installed on the ansible controller After installing python-netaddr on the engine host, we passed this step. I don't know why this ansible playbook is running, I answered NO when engine-setup asked about OVN. I'm not sure where the dependency on python-netaddr should be. Next failure is in TASK [ovirt-host-deploy-firewalld : Enable SSH port] unsupported version of firewalld, requires >= 0.2.11 # rpm -q firewalld firewalld-0.5.2-2.fc28.noarch Obviously the complain is incorrect, "0.5.2" > "0.2.11". I worked around this by disabling firewall configuration when adding a host. The host was added but was not reachable. To fix this, I disabled the firewall on the host using: iptables -F The next issue is missing ovirtmgmt bridge on the host, using setup networks fixed the issue - and the host became UP. I tried to add storage, and found that: - engine "New Domain" dialog is very broken now. See attached screenshots. - block storage is broken because of lvm bug, caused by GCC bug see https://bugzilla.redhat.com/1593836 - file storage is broken because sanlock fail to write to its lockfile - selinux again. see https://bugzilla.redhat.com/1593853 To work around this, I switch to permissive mode: setenforce 0 At this point I could upload and download images from engine UI! So in summary, to add Fedora 28 host: - patch ovirt-host-deploy: https://gerrit.ovirt.org/#/c/92437/ and install on engine host - patch otopi: https://gerrit.ovirt.org/#/c/92435/ and install on engine host - install python-netaddr on engine host - need to file a bug - disable firewall setup in engine "Add host" dialog - need to file a bug - disable firewall on the host - use setup networks to add ovirtmgmt network to the host - forget about block storage for now https://bugzilla.redhat.com/1593836 - change selinux to permissive mode https://bugzilla.redhat.com/1593853 - we need a tracker bug for fedora 28 issues Nir

Regarding the screenshots, did you clear the cache? Is this FF or Chrome? On Thu, 21 Jun 2018, 22:43 Nir Soffer, <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 9:25 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 11:06 AM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
2018-06-20 0:21 GMT+02:00 Nir Soffer <nsoffer@redhat.com>:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemented
Can you please send output of "rpm -qa|grep otopi" ? Please note that otopi and ovirt-host-deploy are installed on the 4.2 engine host and executed with ssh on the fedora 28 host. So you'll need otopi and ovirt-host-deploy from master installed on the 4.2 engine host.
On the 4.2 engine host I'm using latest 4.2 release and repos.
Tried again with engine master (2e3a05ffc83611a2cb18c2ca7268be2d489834f9) on CentOS 7.5 (1804).
$ rpm -qa | egrep 'otopi|ovit-host' otopi-common-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch python2-otopi-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch
$ rpm -qa | egrep 'ovirt-release' ovirt-release-master-4.3.0-0.1.master.20180620000053.git025660e.el7.noarch
Building and installing engine was great pain. Developer documentation is in the same poor state it was 5 years ago. Thanks Daniel for the help!
Adding Fedora 28 host fails with (in host deploy log):
AttributeError: 'str' object has no attribute 'decode' 2018-06-21 02:12:18,864+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Initializing': 'str' object has no attribute 'decode'
After fixing this we fail with (in host deploy log):
TypeError: a bytes-like object is required, not 'str' 2018-06-21 02:21:50,148+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Setup validation': a bytes-like object is required, not 'str'
Both issues fixed in https://gerrit.ovirt.org/#/c/92437/
With this patch we reach the next failure in otopi, fixed in https://gerrit.ovirt.org/#/c/92435/
Next failure is in TASK [ovirt-provider-ovn-driver : Install ovirt-provider-ovn-driver]: The conditional check 'ovn_central | ipaddr' failed. The error was: The ipaddr filter requires python-netaddr be installed on the ansible controller
After installing python-netaddr on the engine host, we passed this step.
I don't know why this ansible playbook is running, I answered NO when engine-setup asked about OVN.
I'm not sure where the dependency on python-netaddr should be.
Next failure is in TASK [ovirt-host-deploy-firewalld : Enable SSH port] unsupported version of firewalld, requires >= 0.2.11
# rpm -q firewalld firewalld-0.5.2-2.fc28.noarch
Obviously the complain is incorrect, "0.5.2" > "0.2.11".
I worked around this by disabling firewall configuration when adding a host.
The host was added but was not reachable.
To fix this, I disabled the firewall on the host using: iptables -F
The next issue is missing ovirtmgmt bridge on the host, using setup networks fixed the issue - and the host became UP.
I tried to add storage, and found that:
- engine "New Domain" dialog is very broken now. See attached screenshots.
- block storage is broken because of lvm bug, caused by GCC bug see https://bugzilla.redhat.com/1593836
- file storage is broken because sanlock fail to write to its lockfile - selinux again. see https://bugzilla.redhat.com/1593853
To work around this, I switch to permissive mode: setenforce 0
At this point I could upload and download images from engine UI!
So in summary, to add Fedora 28 host: - patch ovirt-host-deploy: https://gerrit.ovirt.org/#/c/92437/ and install on engine host - patch otopi: https://gerrit.ovirt.org/#/c/92435/ and install on engine host - install python-netaddr on engine host - need to file a bug - disable firewall setup in engine "Add host" dialog - need to file a bug - disable firewall on the host - use setup networks to add ovirtmgmt network to the host - forget about block storage for now https://bugzilla.redhat.com/1593836 - change selinux to permissive mode https://bugzilla.redhat.com/1593853 - we need a tracker bug for fedora 28 issues
Nir
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/OP2EBYDWSKIPFV...

On Thu, Jun 21, 2018, 3:59 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
Regarding the screenshots, did you clear the cache? Is this FF or Chrome?
I suspect a bug I just merged a fix for. dnf update ovirt-js-dependencies You need 1.2.2
On Thu, 21 Jun 2018, 22:43 Nir Soffer, <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 9:25 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 11:06 AM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
2018-06-20 0:21 GMT+02:00 Nir Soffer <nsoffer@redhat.com>:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemented
Can you please send output of "rpm -qa|grep otopi" ? Please note that otopi and ovirt-host-deploy are installed on the 4.2 engine host and executed with ssh on the fedora 28 host. So you'll need otopi and ovirt-host-deploy from master installed on the 4.2 engine host.
On the 4.2 engine host I'm using latest 4.2 release and repos.
Tried again with engine master (2e3a05ffc83611a2cb18c2ca7268be2d489834f9) on CentOS 7.5 (1804).
$ rpm -qa | egrep 'otopi|ovit-host' otopi-common-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch python2-otopi-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch
$ rpm -qa | egrep 'ovirt-release' ovirt-release-master-4.3.0-0.1.master.20180620000053.git025660e.el7.noarch
Building and installing engine was great pain. Developer documentation is in the same poor state it was 5 years ago. Thanks Daniel for the help!
Adding Fedora 28 host fails with (in host deploy log):
AttributeError: 'str' object has no attribute 'decode' 2018-06-21 02:12:18,864+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Initializing': 'str' object has no attribute 'decode'
After fixing this we fail with (in host deploy log):
TypeError: a bytes-like object is required, not 'str' 2018-06-21 02:21:50,148+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Setup validation': a bytes-like object is required, not 'str'
Both issues fixed in https://gerrit.ovirt.org/#/c/92437/
With this patch we reach the next failure in otopi, fixed in https://gerrit.ovirt.org/#/c/92435/
Next failure is in TASK [ovirt-provider-ovn-driver : Install ovirt-provider-ovn-driver]: The conditional check 'ovn_central | ipaddr' failed. The error was: The ipaddr filter requires python-netaddr be installed on the ansible controller
After installing python-netaddr on the engine host, we passed this step.
I don't know why this ansible playbook is running, I answered NO when engine-setup asked about OVN.
I'm not sure where the dependency on python-netaddr should be.
Next failure is in TASK [ovirt-host-deploy-firewalld : Enable SSH port] unsupported version of firewalld, requires >= 0.2.11
# rpm -q firewalld firewalld-0.5.2-2.fc28.noarch
Obviously the complain is incorrect, "0.5.2" > "0.2.11".
I worked around this by disabling firewall configuration when adding a host.
The host was added but was not reachable.
To fix this, I disabled the firewall on the host using: iptables -F
The next issue is missing ovirtmgmt bridge on the host, using setup networks fixed the issue - and the host became UP.
I tried to add storage, and found that:
- engine "New Domain" dialog is very broken now. See attached screenshots.
- block storage is broken because of lvm bug, caused by GCC bug see https://bugzilla.redhat.com/1593836
- file storage is broken because sanlock fail to write to its lockfile - selinux again. see https://bugzilla.redhat.com/1593853
To work around this, I switch to permissive mode: setenforce 0
At this point I could upload and download images from engine UI!
So in summary, to add Fedora 28 host: - patch ovirt-host-deploy: https://gerrit.ovirt.org/#/c/92437/ and install on engine host - patch otopi: https://gerrit.ovirt.org/#/c/92435/ and install on engine host - install python-netaddr on engine host - need to file a bug - disable firewall setup in engine "Add host" dialog - need to file a bug - disable firewall on the host - use setup networks to add ovirtmgmt network to the host - forget about block storage for now https://bugzilla.redhat.com/1593836 - change selinux to permissive mode https://bugzilla.redhat.com/1593853 - we need a tracker bug for fedora 28 issues
Nir
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/OP2EBYDWSKIPFV...
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/GAFQGUK42P5FEI...

On Thu, Jun 21, 2018 at 11:08 PM Greg Sheremeta <gshereme@redhat.com> wrote:
On Thu, Jun 21, 2018, 3:59 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
Regarding the screenshots, did you clear the cache? Is this FF or Chrome?
I suspect a bug I just merged a fix for. dnf update ovirt-js-dependencies You need 1.2.2
Thanks! I'm using centos 7.5 for engine. Would it be easier to get fixes like this if I switch to Fedora 28? How can I test this fix on centos?
On Thu, 21 Jun 2018, 22:43 Nir Soffer, <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 9:25 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 11:06 AM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
2018-06-20 0:21 GMT+02:00 Nir Soffer <nsoffer@redhat.com>:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemented
Can you please send output of "rpm -qa|grep otopi" ? Please note that otopi and ovirt-host-deploy are installed on the 4.2 engine host and executed with ssh on the fedora 28 host. So you'll need otopi and ovirt-host-deploy from master installed on the 4.2 engine host.
On the 4.2 engine host I'm using latest 4.2 release and repos.
Tried again with engine master (2e3a05ffc83611a2cb18c2ca7268be2d489834f9) on CentOS 7.5 (1804).
$ rpm -qa | egrep 'otopi|ovit-host' otopi-common-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch python2-otopi-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch
$ rpm -qa | egrep 'ovirt-release'
ovirt-release-master-4.3.0-0.1.master.20180620000053.git025660e.el7.noarch
Building and installing engine was great pain. Developer documentation is in the same poor state it was 5 years ago. Thanks Daniel for the help!
Adding Fedora 28 host fails with (in host deploy log):
AttributeError: 'str' object has no attribute 'decode' 2018-06-21 02:12:18,864+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Initializing': 'str' object has no attribute 'decode'
After fixing this we fail with (in host deploy log):
TypeError: a bytes-like object is required, not 'str' 2018-06-21 02:21:50,148+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Setup validation': a bytes-like object is required, not 'str'
Both issues fixed in https://gerrit.ovirt.org/#/c/92437/
With this patch we reach the next failure in otopi, fixed in https://gerrit.ovirt.org/#/c/92435/
Next failure is in TASK [ovirt-provider-ovn-driver : Install ovirt-provider-ovn-driver]: The conditional check 'ovn_central | ipaddr' failed. The error was: The ipaddr filter requires python-netaddr be installed on the ansible controller
After installing python-netaddr on the engine host, we passed this step.
I don't know why this ansible playbook is running, I answered NO when engine-setup asked about OVN.
I'm not sure where the dependency on python-netaddr should be.
Next failure is in TASK [ovirt-host-deploy-firewalld : Enable SSH port] unsupported version of firewalld, requires >= 0.2.11
# rpm -q firewalld firewalld-0.5.2-2.fc28.noarch
Obviously the complain is incorrect, "0.5.2" > "0.2.11".
I worked around this by disabling firewall configuration when adding a host.
The host was added but was not reachable.
To fix this, I disabled the firewall on the host using: iptables -F
The next issue is missing ovirtmgmt bridge on the host, using setup networks fixed the issue - and the host became UP.
I tried to add storage, and found that:
- engine "New Domain" dialog is very broken now. See attached screenshots.
- block storage is broken because of lvm bug, caused by GCC bug see https://bugzilla.redhat.com/1593836
- file storage is broken because sanlock fail to write to its lockfile - selinux again. see https://bugzilla.redhat.com/1593853
To work around this, I switch to permissive mode: setenforce 0
At this point I could upload and download images from engine UI!
So in summary, to add Fedora 28 host: - patch ovirt-host-deploy: https://gerrit.ovirt.org/#/c/92437/ and install on engine host - patch otopi: https://gerrit.ovirt.org/#/c/92435/ and install on engine host - install python-netaddr on engine host - need to file a bug - disable firewall setup in engine "Add host" dialog - need to file a bug - disable firewall on the host - use setup networks to add ovirtmgmt network to the host - forget about block storage for now https://bugzilla.redhat.com/1593836 - change selinux to permissive mode https://bugzilla.redhat.com/1593853 - we need a tracker bug for fedora 28 issues
Nir
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/OP2EBYDWSKIPFV...
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/GAFQGUK42P5FEI...

On Thu, Jun 21, 2018 at 11:20 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Thu, Jun 21, 2018 at 11:08 PM Greg Sheremeta <gshereme@redhat.com> wrote:
On Thu, Jun 21, 2018, 3:59 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
Regarding the screenshots, did you clear the cache? Is this FF or Chrome?
I suspect a bug I just merged a fix for. dnf update ovirt-js-dependencies You need 1.2.2
Thanks!
I'm using centos 7.5 for engine. Would it be easier to get fixes like this if I switch to Fedora 28?
How can I test this fix on centos?
Ok, found the package here: https://jenkins.ovirt.org/job/ovirt-js-dependencies_4.2_build-artifacts-el7-... And it works, dialog looks like the 4.2 version now. Thanks for the quick fix! [image: Screenshot from 2018-06-21 23-29-46.png]
On Thu, 21 Jun 2018, 22:43 Nir Soffer, <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 9:25 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 11:06 AM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
2018-06-20 0:21 GMT+02:00 Nir Soffer <nsoffer@redhat.com>:
> I'm trying to add a host running Fedora 28 to engine 4.2, and > installation > fails with: > > 2018-06-20 01:14:26,137+0300 DEBUG otopi.context > context._executeMethod:143 method exception > Traceback (most recent call last): > File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, > in _executeMethod > method['method']() > File > "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", > line 84, in _packages > self.packager.install(('dmidecode',)) > File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line > 102, in install > raise NotImplementedError(_('Packager install not implemented')) > NotImplementedError: Packager install not implemented > 2018-06-20 01:14:26,138+0300 ERROR otopi.context > context._executeMethod:152 Failed to execute stage 'Environment packages > setup': Packager install not implemented > > Can you please send output of "rpm -qa|grep otopi" ? Please note that otopi and ovirt-host-deploy are installed on the 4.2 engine host and executed with ssh on the fedora 28 host. So you'll need otopi and ovirt-host-deploy from master installed on the 4.2 engine host.
On the 4.2 engine host I'm using latest 4.2 release and repos.
Tried again with engine master (2e3a05ffc83611a2cb18c2ca7268be2d489834f9) on CentOS 7.5 (1804).
$ rpm -qa | egrep 'otopi|ovit-host' otopi-common-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch python2-otopi-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch
$ rpm -qa | egrep 'ovirt-release'
ovirt-release-master-4.3.0-0.1.master.20180620000053.git025660e.el7.noarch
Building and installing engine was great pain. Developer documentation is in the same poor state it was 5 years ago. Thanks Daniel for the help!
Adding Fedora 28 host fails with (in host deploy log):
AttributeError: 'str' object has no attribute 'decode' 2018-06-21 02:12:18,864+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Initializing': 'str' object has no attribute 'decode'
After fixing this we fail with (in host deploy log):
TypeError: a bytes-like object is required, not 'str' 2018-06-21 02:21:50,148+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Setup validation': a bytes-like object is required, not 'str'
Both issues fixed in https://gerrit.ovirt.org/#/c/92437/
With this patch we reach the next failure in otopi, fixed in https://gerrit.ovirt.org/#/c/92435/
Next failure is in TASK [ovirt-provider-ovn-driver : Install ovirt-provider-ovn-driver]: The conditional check 'ovn_central | ipaddr' failed. The error was: The ipaddr filter requires python-netaddr be installed on the ansible controller
After installing python-netaddr on the engine host, we passed this step.
I don't know why this ansible playbook is running, I answered NO when engine-setup asked about OVN.
I'm not sure where the dependency on python-netaddr should be.
Next failure is in TASK [ovirt-host-deploy-firewalld : Enable SSH port] unsupported version of firewalld, requires >= 0.2.11
# rpm -q firewalld firewalld-0.5.2-2.fc28.noarch
Obviously the complain is incorrect, "0.5.2" > "0.2.11".
I worked around this by disabling firewall configuration when adding a host.
The host was added but was not reachable.
To fix this, I disabled the firewall on the host using: iptables -F
The next issue is missing ovirtmgmt bridge on the host, using setup networks fixed the issue - and the host became UP.
I tried to add storage, and found that:
- engine "New Domain" dialog is very broken now. See attached screenshots.
- block storage is broken because of lvm bug, caused by GCC bug see https://bugzilla.redhat.com/1593836
- file storage is broken because sanlock fail to write to its lockfile - selinux again. see https://bugzilla.redhat.com/1593853
To work around this, I switch to permissive mode: setenforce 0
At this point I could upload and download images from engine UI!
So in summary, to add Fedora 28 host: - patch ovirt-host-deploy: https://gerrit.ovirt.org/#/c/92437/ and install on engine host - patch otopi: https://gerrit.ovirt.org/#/c/92435/ and install on engine host - install python-netaddr on engine host - need to file a bug - disable firewall setup in engine "Add host" dialog - need to file a bug - disable firewall on the host - use setup networks to add ovirtmgmt network to the host - forget about block storage for now https://bugzilla.redhat.com/1593836 - change selinux to permissive mode https://bugzilla.redhat.com/1593853 - we need a tracker bug for fedora 28 issues
Nir
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/OP2EBYDWSKIPFV...
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/GAFQGUK42P5FEI...

On Thu, Jun 21, 2018, 4:31 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Thu, Jun 21, 2018 at 11:20 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Thu, Jun 21, 2018 at 11:08 PM Greg Sheremeta <gshereme@redhat.com> wrote:
On Thu, Jun 21, 2018, 3:59 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
Regarding the screenshots, did you clear the cache? Is this FF or Chrome?
I suspect a bug I just merged a fix for. dnf update ovirt-js-dependencies You need 1.2.2
Thanks!
I'm using centos 7.5 for engine. Would it be easier to get fixes like this if I switch to Fedora 28?
How can I test this fix on centos?
Ok, found the package here:
https://jenkins.ovirt.org/job/ovirt-js-dependencies_4.2_build-artifacts-el7-...
And it works, dialog looks like the 4.2 version now.
Thanks for the quick fix!
Cool. It was Kaul++ who first noticed and reported.
[image: Screenshot from 2018-06-21 23-29-46.png]
On Thu, 21 Jun 2018, 22:43 Nir Soffer, <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 9:25 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 11:06 AM Sandro Bonazzola < sbonazzo@redhat.com> wrote:
> 2018-06-20 0:21 GMT+02:00 Nir Soffer <nsoffer@redhat.com>: > >> I'm trying to add a host running Fedora 28 to engine 4.2, and >> installation >> fails with: >> >> 2018-06-20 01:14:26,137+0300 DEBUG otopi.context >> context._executeMethod:143 method exception >> Traceback (most recent call last): >> File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line >> 133, in _executeMethod >> method['method']() >> File >> "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", >> line 84, in _packages >> self.packager.install(('dmidecode',)) >> File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line >> 102, in install >> raise NotImplementedError(_('Packager install not implemented')) >> NotImplementedError: Packager install not implemented >> 2018-06-20 01:14:26,138+0300 ERROR otopi.context >> context._executeMethod:152 Failed to execute stage 'Environment packages >> setup': Packager install not implemented >> >> > Can you please send output of "rpm -qa|grep otopi" ? Please note > that otopi and ovirt-host-deploy are installed on the 4.2 engine host and > executed with ssh on the fedora 28 host. So you'll need otopi and > ovirt-host-deploy from master installed on the 4.2 engine host. >
On the 4.2 engine host I'm using latest 4.2 release and repos.
Tried again with engine master (2e3a05ffc83611a2cb18c2ca7268be2d489834f9) on CentOS 7.5 (1804).
$ rpm -qa | egrep 'otopi|ovit-host' otopi-common-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch python2-otopi-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch
$ rpm -qa | egrep 'ovirt-release'
ovirt-release-master-4.3.0-0.1.master.20180620000053.git025660e.el7.noarch
Building and installing engine was great pain. Developer documentation is in the same poor state it was 5 years ago. Thanks Daniel for the help!
Adding Fedora 28 host fails with (in host deploy log):
AttributeError: 'str' object has no attribute 'decode' 2018-06-21 02:12:18,864+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Initializing': 'str' object has no attribute 'decode'
After fixing this we fail with (in host deploy log):
TypeError: a bytes-like object is required, not 'str' 2018-06-21 02:21:50,148+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Setup validation': a bytes-like object is required, not 'str'
Both issues fixed in https://gerrit.ovirt.org/#/c/92437/
With this patch we reach the next failure in otopi, fixed in https://gerrit.ovirt.org/#/c/92435/
Next failure is in TASK [ovirt-provider-ovn-driver : Install ovirt-provider-ovn-driver]: The conditional check 'ovn_central | ipaddr' failed. The error was: The ipaddr filter requires python-netaddr be installed on the ansible controller
After installing python-netaddr on the engine host, we passed this step.
I don't know why this ansible playbook is running, I answered NO when engine-setup asked about OVN.
I'm not sure where the dependency on python-netaddr should be.
Next failure is in TASK [ovirt-host-deploy-firewalld : Enable SSH port] unsupported version of firewalld, requires >= 0.2.11
# rpm -q firewalld firewalld-0.5.2-2.fc28.noarch
Obviously the complain is incorrect, "0.5.2" > "0.2.11".
I worked around this by disabling firewall configuration when adding a host.
The host was added but was not reachable.
To fix this, I disabled the firewall on the host using: iptables -F
The next issue is missing ovirtmgmt bridge on the host, using setup networks fixed the issue - and the host became UP.
I tried to add storage, and found that:
- engine "New Domain" dialog is very broken now. See attached screenshots.
- block storage is broken because of lvm bug, caused by GCC bug see https://bugzilla.redhat.com/1593836
- file storage is broken because sanlock fail to write to its lockfile - selinux again. see https://bugzilla.redhat.com/1593853
To work around this, I switch to permissive mode: setenforce 0
At this point I could upload and download images from engine UI!
So in summary, to add Fedora 28 host: - patch ovirt-host-deploy: https://gerrit.ovirt.org/#/c/92437/ and install on engine host - patch otopi: https://gerrit.ovirt.org/#/c/92435/ and install on engine host - install python-netaddr on engine host - need to file a bug - disable firewall setup in engine "Add host" dialog - need to file a bug - disable firewall on the host - use setup networks to add ovirtmgmt network to the host - forget about block storage for now https://bugzilla.redhat.com/1593836 - change selinux to permissive mode https://bugzilla.redhat.com/1593853 - we need a tracker bug for fedora 28 issues
Nir
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/OP2EBYDWSKIPFV...
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/GAFQGUK42P5FEI...

On Thu, Jun 21, 2018 at 10:57 PM Benny Zlotnik <bzlotnik@redhat.com> wrote:
Regarding the screenshots, did you clear the cache? Is this FF or Chrome?
Chrome, using developer tools with "disable cache" selected does not help.
On Thu, 21 Jun 2018, 22:43 Nir Soffer, <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 9:25 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 11:06 AM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
2018-06-20 0:21 GMT+02:00 Nir Soffer <nsoffer@redhat.com>:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemented
Can you please send output of "rpm -qa|grep otopi" ? Please note that otopi and ovirt-host-deploy are installed on the 4.2 engine host and executed with ssh on the fedora 28 host. So you'll need otopi and ovirt-host-deploy from master installed on the 4.2 engine host.
On the 4.2 engine host I'm using latest 4.2 release and repos.
Tried again with engine master (2e3a05ffc83611a2cb18c2ca7268be2d489834f9) on CentOS 7.5 (1804).
$ rpm -qa | egrep 'otopi|ovit-host' otopi-common-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch python2-otopi-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch
$ rpm -qa | egrep 'ovirt-release' ovirt-release-master-4.3.0-0.1.master.20180620000053.git025660e.el7.noarch
Building and installing engine was great pain. Developer documentation is in the same poor state it was 5 years ago. Thanks Daniel for the help!
Adding Fedora 28 host fails with (in host deploy log):
AttributeError: 'str' object has no attribute 'decode' 2018-06-21 02:12:18,864+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Initializing': 'str' object has no attribute 'decode'
After fixing this we fail with (in host deploy log):
TypeError: a bytes-like object is required, not 'str' 2018-06-21 02:21:50,148+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Setup validation': a bytes-like object is required, not 'str'
Both issues fixed in https://gerrit.ovirt.org/#/c/92437/
With this patch we reach the next failure in otopi, fixed in https://gerrit.ovirt.org/#/c/92435/
Next failure is in TASK [ovirt-provider-ovn-driver : Install ovirt-provider-ovn-driver]: The conditional check 'ovn_central | ipaddr' failed. The error was: The ipaddr filter requires python-netaddr be installed on the ansible controller
After installing python-netaddr on the engine host, we passed this step.
I don't know why this ansible playbook is running, I answered NO when engine-setup asked about OVN.
I'm not sure where the dependency on python-netaddr should be.
Next failure is in TASK [ovirt-host-deploy-firewalld : Enable SSH port] unsupported version of firewalld, requires >= 0.2.11
# rpm -q firewalld firewalld-0.5.2-2.fc28.noarch
Obviously the complain is incorrect, "0.5.2" > "0.2.11".
I worked around this by disabling firewall configuration when adding a host.
The host was added but was not reachable.
To fix this, I disabled the firewall on the host using: iptables -F
The next issue is missing ovirtmgmt bridge on the host, using setup networks fixed the issue - and the host became UP.
I tried to add storage, and found that:
- engine "New Domain" dialog is very broken now. See attached screenshots.
- block storage is broken because of lvm bug, caused by GCC bug see https://bugzilla.redhat.com/1593836
- file storage is broken because sanlock fail to write to its lockfile - selinux again. see https://bugzilla.redhat.com/1593853
To work around this, I switch to permissive mode: setenforce 0
At this point I could upload and download images from engine UI!
So in summary, to add Fedora 28 host: - patch ovirt-host-deploy: https://gerrit.ovirt.org/#/c/92437/ and install on engine host - patch otopi: https://gerrit.ovirt.org/#/c/92435/ and install on engine host - install python-netaddr on engine host - need to file a bug - disable firewall setup in engine "Add host" dialog - need to file a bug - disable firewall on the host - use setup networks to add ovirtmgmt network to the host - forget about block storage for now https://bugzilla.redhat.com/1593836 - change selinux to permissive mode https://bugzilla.redhat.com/1593853 - we need a tracker bug for fedora 28 issues
Nir
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/OP2EBYDWSKIPFV...

2018-06-21 21:42 GMT+02:00 Nir Soffer <nsoffer@redhat.com>:
On Wed, Jun 20, 2018 at 9:25 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 11:06 AM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
2018-06-20 0:21 GMT+02:00 Nir Soffer <nsoffer@redhat.com>:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemented
Can you please send output of "rpm -qa|grep otopi" ? Please note that otopi and ovirt-host-deploy are installed on the 4.2 engine host and executed with ssh on the fedora 28 host. So you'll need otopi and ovirt-host-deploy from master installed on the 4.2 engine host.
On the 4.2 engine host I'm using latest 4.2 release and repos.
Tried again with engine master (2e3a05ffc83611a2cb18c2ca7268be2d489834f9) on CentOS 7.5 (1804).
$ rpm -qa | egrep 'otopi|ovit-host' otopi-common-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch python2-otopi-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch
$ rpm -qa | egrep 'ovirt-release' ovirt-release-master-4.3.0-0.1.master.20180620000053.git025660e.el7.noarch
Building and installing engine was great pain. Developer documentation is in the same poor state it was 5 years ago. Thanks Daniel for the help!
Adding Fedora 28 host fails with (in host deploy log):
AttributeError: 'str' object has no attribute 'decode' 2018-06-21 02:12:18,864+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Initializing': 'str' object has no attribute 'decode'
After fixing this we fail with (in host deploy log):
TypeError: a bytes-like object is required, not 'str' 2018-06-21 02:21:50,148+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Setup validation': a bytes-like object is required, not 'str'
Both issues fixed in https://gerrit.ovirt.org/#/c/92437/
With this patch we reach the next failure in otopi, fixed in https://gerrit.ovirt.org/#/c/92435/
Thanks for the patches, Didi can you please review / merge if good?
Next failure is in TASK [ovirt-provider-ovn-driver : Install ovirt-provider-ovn-driver]: The conditional check 'ovn_central | ipaddr' failed. The error was: The ipaddr filter requires python-netaddr be installed on the ansible controller
After installing python-netaddr on the engine host, we passed this step.
Ondra, is one of the role rpms missing the dependency?
I don't know why this ansible playbook is running, I answered NO when engine-setup asked about OVN.
I'm not sure where the dependency on python-netaddr should be.
Next failure is in TASK [ovirt-host-deploy-firewalld : Enable SSH port] unsupported version of firewalld, requires >= 0.2.11
# rpm -q firewalld firewalld-0.5.2-2.fc28.noarch
Obviously the complain is incorrect, "0.5.2" > "0.2.11".
Reopened https://bugzilla.redhat.com/show_bug.cgi?id=1381135
I worked around this by disabling firewall configuration when adding a host.
The host was added but was not reachable.
To fix this, I disabled the firewall on the host using: iptables -F
The next issue is missing ovirtmgmt bridge on the host, using setup networks fixed the issue - and the host became UP.
This should have been done by ovirt-host-deploy, can you please share the host deploy logs?
I tried to add storage, and found that:
- engine "New Domain" dialog is very broken now. See attached screenshots.
- block storage is broken because of lvm bug, caused by GCC bug see https://bugzilla.redhat.com/1593836
- file storage is broken because sanlock fail to write to its lockfile - selinux again. see https://bugzilla.redhat.com/1593853
To work around this, I switch to permissive mode: setenforce 0
At this point I could upload and download images from engine UI!
So in summary, to add Fedora 28 host: - patch ovirt-host-deploy: https://gerrit.ovirt.org/#/c/92437/ and install on engine host - patch otopi: https://gerrit.ovirt.org/#/c/92435/ and install on engine host - install python-netaddr on engine host - need to file a bug - disable firewall setup in engine "Add host" dialog - need to file a bug
Done
- disable firewall on the host - use setup networks to add ovirtmgmt network to the host - forget about block storage for now https://bugzilla.redhat.com/1593836 - change selinux to permissive mode https://bugzilla.redhat.com/1593853 - we need a tracker bug for fedora 28 issues
here's the tracker https://bugzilla.redhat.com/show_bug.cgi?id=1460625
Nir
-- SANDRO BONAZZOLA ASSOCIATE MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV Red Hat EMEA <https://www.redhat.com/> sbonazzo@redhat.com <https://red.ht/sig>

On Fri, 22 Jun 2018 08:31:16 +0200 Sandro Bonazzola <sbonazzo@redhat.com> wrote:
2018-06-21 21:42 GMT+02:00 Nir Soffer <nsoffer@redhat.com>:
On Wed, Jun 20, 2018 at 9:25 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 11:06 AM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
2018-06-20 0:21 GMT+02:00 Nir Soffer <nsoffer@redhat.com>:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemented
Can you please send output of "rpm -qa|grep otopi" ? Please note that otopi and ovirt-host-deploy are installed on the 4.2 engine host and executed with ssh on the fedora 28 host. So you'll need otopi and ovirt-host-deploy from master installed on the 4.2 engine host.
On the 4.2 engine host I'm using latest 4.2 release and repos.
Tried again with engine master (2e3a05ffc83611a2cb18c2ca7268be2d489834f9) on CentOS 7.5 (1804).
$ rpm -qa | egrep 'otopi|ovit-host' otopi-common-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch python2-otopi-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch
$ rpm -qa | egrep 'ovirt-release' ovirt-release-master-4.3.0-0.1.master.20180620000053.git025660e.el7.noarch
Building and installing engine was great pain. Developer documentation is in the same poor state it was 5 years ago. Thanks Daniel for the help!
Adding Fedora 28 host fails with (in host deploy log):
AttributeError: 'str' object has no attribute 'decode' 2018-06-21 02:12:18,864+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Initializing': 'str' object has no attribute 'decode'
After fixing this we fail with (in host deploy log):
TypeError: a bytes-like object is required, not 'str' 2018-06-21 02:21:50,148+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Setup validation': a bytes-like object is required, not 'str'
Both issues fixed in https://gerrit.ovirt.org/#/c/92437/
With this patch we reach the next failure in otopi, fixed in https://gerrit.ovirt.org/#/c/92435/
Thanks for the patches, Didi can you please review / merge if good?
Next failure is in TASK [ovirt-provider-ovn-driver : Install ovirt-provider-ovn-driver]: The conditional check 'ovn_central | ipaddr' failed. The error was: The ipaddr filter requires python-netaddr be installed on the ansible controller
After installing python-netaddr on the engine host, we passed this step.
Ondra, is one of the role rpms missing the dependency?
I don't know why this ansible playbook is running, I answered NO when engine-setup asked about OVN.
The ansible role is triggered always, the issue comes up during deciding if the role should be executed or skipped.
I'm not sure where the dependency on python-netaddr should be.
The issue is in the file /usr/share/ovirt-engine/playbooks/roles/ovirt-provider-ovn-driver/tasks/main.yml which belongs to the package ovirt-engine-tools. Ondra, can we add the dependency to ovirt-engine-tools?
Next failure is in TASK [ovirt-host-deploy-firewalld : Enable SSH port] unsupported version of firewalld, requires >= 0.2.11
# rpm -q firewalld firewalld-0.5.2-2.fc28.noarch
Obviously the complain is incorrect, "0.5.2" > "0.2.11".
Reopened https://bugzilla.redhat.com/show_bug.cgi?id=1381135
I worked around this by disabling firewall configuration when adding a host.
The host was added but was not reachable.
To fix this, I disabled the firewall on the host using: iptables -F
The next issue is missing ovirtmgmt bridge on the host, using setup networks fixed the issue - and the host became UP.
This should have been done by ovirt-host-deploy, can you please share the host deploy logs?
I tried to add storage, and found that:
- engine "New Domain" dialog is very broken now. See attached screenshots.
- block storage is broken because of lvm bug, caused by GCC bug see https://bugzilla.redhat.com/1593836
- file storage is broken because sanlock fail to write to its lockfile - selinux again. see https://bugzilla.redhat.com/1593853
To work around this, I switch to permissive mode: setenforce 0
At this point I could upload and download images from engine UI!
So in summary, to add Fedora 28 host: - patch ovirt-host-deploy: https://gerrit.ovirt.org/#/c/92437/ and install on engine host - patch otopi: https://gerrit.ovirt.org/#/c/92435/ and install on engine host - install python-netaddr on engine host - need to file a bug - disable firewall setup in engine "Add host" dialog - need to file a bug
Done
- disable firewall on the host - use setup networks to add ovirtmgmt network to the host - forget about block storage for now https://bugzilla.redhat.com/1593836 - change selinux to permissive mode https://bugzilla.redhat.com/1593853 - we need a tracker bug for fedora 28 issues
here's the tracker https://bugzilla.redhat.com/show_bug.cgi?id=1460625
Nir

On Fri, Jun 22, 2018 at 10:26 AM, Dominik Holler <dholler@redhat.com> wrote:
On Fri, 22 Jun 2018 08:31:16 +0200 Sandro Bonazzola <sbonazzo@redhat.com> wrote:
2018-06-21 21:42 GMT+02:00 Nir Soffer <nsoffer@redhat.com>:
On Wed, Jun 20, 2018 at 9:25 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 11:06 AM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
2018-06-20 0:21 GMT+02:00 Nir Soffer <nsoffer@redhat.com>:
I'm trying to add a host running Fedora 28 to engine 4.2, and installation fails with:
2018-06-20 01:14:26,137+0300 DEBUG otopi.context context._executeMethod:143 method exception Traceback (most recent call last): File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line 133, in _executeMethod method['method']() File "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", line 84, in _packages self.packager.install(('dmidecode',)) File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line 102, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Environment packages setup': Packager install not implemented
Can you please send output of "rpm -qa|grep otopi" ? Please note that otopi and ovirt-host-deploy are installed on the 4.2 engine host and executed with ssh on the fedora 28 host. So you'll need otopi and ovirt-host-deploy from master installed on the 4.2 engine host.
On the 4.2 engine host I'm using latest 4.2 release and repos.
Tried again with engine master (2e3a05ffc83611a2cb18c2ca7268be2d489834f9) on CentOS 7.5 (1804).
$ rpm -qa | egrep 'otopi|ovit-host' otopi-common-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch python2-otopi-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch
$ rpm -qa | egrep 'ovirt-release' ovirt-release-master-4.3.0-0.1.master.20180620000053.git025660e.el7.noarch
Building and installing engine was great pain. Developer documentation is in the same poor state it was 5 years ago. Thanks Daniel for the help!
Adding Fedora 28 host fails with (in host deploy log):
AttributeError: 'str' object has no attribute 'decode' 2018-06-21 02:12:18,864+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Initializing': 'str' object has no attribute 'decode'
After fixing this we fail with (in host deploy log):
TypeError: a bytes-like object is required, not 'str' 2018-06-21 02:21:50,148+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Setup validation': a bytes-like object is required, not 'str'
Both issues fixed in https://gerrit.ovirt.org/#/c/92437/
With this patch we reach the next failure in otopi, fixed in https://gerrit.ovirt.org/#/c/92435/
Thanks for the patches, Didi can you please review / merge if good?
Reviewed and merged both of above patches. Thanks.
Next failure is in TASK [ovirt-provider-ovn-driver : Install ovirt-provider-ovn-driver]: The conditional check 'ovn_central | ipaddr' failed. The error was: The ipaddr filter requires python-netaddr be installed on the ansible controller
After installing python-netaddr on the engine host, we passed this step.
Ondra, is one of the role rpms missing the dependency?
I don't know why this ansible playbook is running, I answered NO when engine-setup asked about OVN.
The ansible role is triggered always, the issue comes up during deciding if the role should be executed or skipped.
I'm not sure where the dependency on python-netaddr should be.
The issue is in the file /usr/share/ovirt-engine/playbooks/roles/ovirt-provider-ovn-driver/tasks/main.yml which belongs to the package ovirt-engine-tools.
Ondra, can we add the dependency to ovirt-engine-tools?
Next failure is in TASK [ovirt-host-deploy-firewalld : Enable SSH port] unsupported version of firewalld, requires >= 0.2.11
# rpm -q firewalld firewalld-0.5.2-2.fc28.noarch
Obviously the complain is incorrect, "0.5.2" > "0.2.11".
Reopened https://bugzilla.redhat.com/show_bug.cgi?id=1381135
I worked around this by disabling firewall configuration when adding a host.
The host was added but was not reachable.
To fix this, I disabled the firewall on the host using: iptables -F
The next issue is missing ovirtmgmt bridge on the host, using setup networks fixed the issue - and the host became UP.
This should have been done by ovirt-host-deploy, can you please share the host deploy logs?
I tried to add storage, and found that:
- engine "New Domain" dialog is very broken now. See attached screenshots.
- block storage is broken because of lvm bug, caused by GCC bug see https://bugzilla.redhat.com/1593836
- file storage is broken because sanlock fail to write to its lockfile - selinux again. see https://bugzilla.redhat.com/1593853
To work around this, I switch to permissive mode: setenforce 0
At this point I could upload and download images from engine UI!
So in summary, to add Fedora 28 host: - patch ovirt-host-deploy: https://gerrit.ovirt.org/#/c/92437/ and install on engine host - patch otopi: https://gerrit.ovirt.org/#/c/92435/ and install on engine host - install python-netaddr on engine host - need to file a bug - disable firewall setup in engine "Add host" dialog - need to file a bug
Done
- disable firewall on the host - use setup networks to add ovirtmgmt network to the host - forget about block storage for now https://bugzilla.redhat.com/1593836 - change selinux to permissive mode https://bugzilla.redhat.com/1593853 - we need a tracker bug for fedora 28 issues
here's the tracker https://bugzilla.redhat.com/show_bug.cgi?id=1460625
Nir
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/DMDMEWZG5Z2EFE...
-- Didi

On Sun, Jun 24, 2018 at 12:51 PM, Yedidyah Bar David <didi@redhat.com> wrote:
On Fri, Jun 22, 2018 at 10:26 AM, Dominik Holler <dholler@redhat.com> wrote:
On Fri, 22 Jun 2018 08:31:16 +0200 Sandro Bonazzola <sbonazzo@redhat.com> wrote:
2018-06-21 21:42 GMT+02:00 Nir Soffer <nsoffer@redhat.com>:
On Wed, Jun 20, 2018 at 9:25 PM Nir Soffer <nsoffer@redhat.com> wrote:
On Wed, Jun 20, 2018 at 11:06 AM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
2018-06-20 0:21 GMT+02:00 Nir Soffer <nsoffer@redhat.com>:
> I'm trying to add a host running Fedora 28 to engine 4.2, and > installation > fails with: > > 2018-06-20 01:14:26,137+0300 DEBUG otopi.context > context._executeMethod:143 method exception > Traceback (most recent call last): > File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line > 133, in _executeMethod > method['method']() > File > "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", > line 84, in _packages self.packager.install(('dmidecode',)) > File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line > 102, in install > raise NotImplementedError(_('Packager install not > implemented')) NotImplementedError: Packager install not > implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context > context._executeMethod:152 Failed to execute stage 'Environment > packages setup': Packager install not implemented
How did you handle above failure? Did you fix it? Worked around it? Something else? Thanks,
> > Can you please send output of "rpm -qa|grep otopi" ? Please note that otopi and ovirt-host-deploy are installed on the 4.2 engine host and executed with ssh on the fedora 28 host. So you'll need otopi and ovirt-host-deploy from master installed on the 4.2 engine host.
On the 4.2 engine host I'm using latest 4.2 release and repos.
Tried again with engine master (2e3a05ffc83611a2cb18c2ca7268be2d489834f9) on CentOS 7.5 (1804).
$ rpm -qa | egrep 'otopi|ovit-host' otopi-common-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch python2-otopi-1.8.0-0.0.master.20180614102257.git6c66781.el7.noarch
$ rpm -qa | egrep 'ovirt-release' ovirt-release-master-4.3.0-0.1.master.20180620000053.git025660e.el7.noarch
Building and installing engine was great pain. Developer documentation is in the same poor state it was 5 years ago. Thanks Daniel for the help!
Adding Fedora 28 host fails with (in host deploy log):
AttributeError: 'str' object has no attribute 'decode' 2018-06-21 02:12:18,864+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Initializing': 'str' object has no attribute 'decode'
After fixing this we fail with (in host deploy log):
TypeError: a bytes-like object is required, not 'str' 2018-06-21 02:21:50,148+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Setup validation': a bytes-like object is required, not 'str'
Both issues fixed in https://gerrit.ovirt.org/#/c/92437/
With this patch we reach the next failure in otopi, fixed in https://gerrit.ovirt.org/#/c/92435/
Thanks for the patches, Didi can you please review / merge if good?
Reviewed and merged both of above patches. Thanks.
Next failure is in TASK [ovirt-provider-ovn-driver : Install ovirt-provider-ovn-driver]: The conditional check 'ovn_central | ipaddr' failed. The error was: The ipaddr filter requires python-netaddr be installed on the ansible controller
After installing python-netaddr on the engine host, we passed this step.
Ondra, is one of the role rpms missing the dependency?
I don't know why this ansible playbook is running, I answered NO when engine-setup asked about OVN.
The ansible role is triggered always, the issue comes up during deciding if the role should be executed or skipped.
I'm not sure where the dependency on python-netaddr should be.
The issue is in the file /usr/share/ovirt-engine/playbooks/roles/ovirt-provider-ovn-driver/tasks/main.yml which belongs to the package ovirt-engine-tools.
Ondra, can we add the dependency to ovirt-engine-tools?
Next failure is in TASK [ovirt-host-deploy-firewalld : Enable SSH port] unsupported version of firewalld, requires >= 0.2.11
# rpm -q firewalld firewalld-0.5.2-2.fc28.noarch
Obviously the complain is incorrect, "0.5.2" > "0.2.11".
Reopened https://bugzilla.redhat.com/show_bug.cgi?id=1381135
I worked around this by disabling firewall configuration when adding a host.
The host was added but was not reachable.
To fix this, I disabled the firewall on the host using: iptables -F
The next issue is missing ovirtmgmt bridge on the host, using setup networks fixed the issue - and the host became UP.
This should have been done by ovirt-host-deploy, can you please share the host deploy logs?
I tried to add storage, and found that:
- engine "New Domain" dialog is very broken now. See attached screenshots.
- block storage is broken because of lvm bug, caused by GCC bug see https://bugzilla.redhat.com/1593836
- file storage is broken because sanlock fail to write to its lockfile - selinux again. see https://bugzilla.redhat.com/1593853
To work around this, I switch to permissive mode: setenforce 0
At this point I could upload and download images from engine UI!
So in summary, to add Fedora 28 host: - patch ovirt-host-deploy: https://gerrit.ovirt.org/#/c/92437/ and install on engine host - patch otopi: https://gerrit.ovirt.org/#/c/92435/ and install on engine host - install python-netaddr on engine host - need to file a bug - disable firewall setup in engine "Add host" dialog - need to file a bug
Done
- disable firewall on the host - use setup networks to add ovirtmgmt network to the host - forget about block storage for now https://bugzilla.redhat.com/1593836 - change selinux to permissive mode https://bugzilla.redhat.com/1593853 - we need a tracker bug for fedora 28 issues
here's the tracker https://bugzilla.redhat.com/show_bug.cgi?id=1460625
Nir
_______________________________________________ Devel mailing list -- devel@ovirt.org To unsubscribe send an email to devel-leave@ovirt.org Privacy Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/DMDMEWZG5Z2EFE...
-- Didi
-- Didi

On Sun, Jun 24, 2018 at 12:54 PM Yedidyah Bar David <didi@redhat.com> wrote:
>> I'm trying to add a host running Fedora 28 to engine 4.2, and >> installation >> fails with: >> >> 2018-06-20 01:14:26,137+0300 DEBUG otopi.context >> context._executeMethod:143 method exception >> Traceback (most recent call last): >> File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/context.py", line >> 133, in _executeMethod >> method['method']() >> File >> "/tmp/ovirt-Z5BGYej3Qa/otopi-plugins/ovirt-host-deploy/vdsm/vdsmid.py", >> line 84, in _packages self.packager.install(('dmidecode',)) >> File "/tmp/ovirt-Z5BGYej3Qa/pythonlib/otopi/packager.py", line >> 102, in install >> raise NotImplementedError(_('Packager install not >> implemented')) NotImplementedError: Packager install not >> implemented 2018-06-20 01:14:26,138+0300 ERROR otopi.context >> context._executeMethod:152 Failed to execute stage 'Environment >> packages setup': Packager install not implemented
How did you handle above failure?
Did you fix it? Worked around it? Something else?
This happens with engine 4.2, using ovirt-release42 rpm. Issue was fixed in 4.3 with ovirt-release-master rpm.

On Sun, Jun 24, 2018 at 12:52 PM Yedidyah Bar David <didi@redhat.com> wrote:
Adding Fedora 28 host fails with (in host deploy log):
AttributeError: 'str' object has no attribute 'decode' 2018-06-21 02:12:18,864+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Initializing': 'str' object has no attribute 'decode'
After fixing this we fail with (in host deploy log):
TypeError: a bytes-like object is required, not 'str' 2018-06-21 02:21:50,148+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Setup validation': a bytes-like object is required, not 'str'
Both issues fixed in https://gerrit.ovirt.org/#/c/92437/
With this patch we reach the next failure in otopi, fixed in https://gerrit.ovirt.org/#/c/92435/
Thanks for the patches, Didi can you please review / merge if good?
Reviewed and merged both of above patches. Thanks.
The fix should be available now if using ovirt-release-master repo, right?

On Sun, Jun 24, 2018 at 8:11 PM, Nir Soffer <nsoffer@redhat.com> wrote:
On Sun, Jun 24, 2018 at 12:52 PM Yedidyah Bar David <didi@redhat.com> wrote:
Adding Fedora 28 host fails with (in host deploy log):
AttributeError: 'str' object has no attribute 'decode' 2018-06-21 02:12:18,864+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Initializing': 'str' object has no attribute 'decode'
After fixing this we fail with (in host deploy log):
TypeError: a bytes-like object is required, not 'str' 2018-06-21 02:21:50,148+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Setup validation': a bytes-like object is required, not 'str'
Both issues fixed in https://gerrit.ovirt.org/#/c/92437/
With this patch we reach the next failure in otopi, fixed in https://gerrit.ovirt.org/#/c/92435/
Thanks for the patches, Didi can you please review / merge if good?
Reviewed and merged both of above patches. Thanks.
The fix should be available now if using ovirt-release-master repo, right?
By now, I hope it should. I replied almost immediately after merging, and propagation through build-artifacts and the change-queue does take some time. If it's still missing, you can use the build from jenkins - it's linked from your patch: https://gerrit.ovirt.org/92435 https://jenkins.ovirt.org/job/otopi_master_build-artifacts-fc28-x86_64/6/ Best regards, -- Didi

On Mon, Jun 25, 2018 at 8:38 AM Yedidyah Bar David <didi@redhat.com> wrote:
On Sun, Jun 24, 2018 at 8:11 PM, Nir Soffer <nsoffer@redhat.com> wrote:
On Sun, Jun 24, 2018 at 12:52 PM Yedidyah Bar David <didi@redhat.com> wrote:
Adding Fedora 28 host fails with (in host deploy log):
AttributeError: 'str' object has no attribute 'decode' 2018-06-21 02:12:18,864+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Initializing': 'str' object has no attribute 'decode'
After fixing this we fail with (in host deploy log):
TypeError: a bytes-like object is required, not 'str' 2018-06-21 02:21:50,148+0300 ERROR otopi.context context._executeMethod:152 Failed to execute stage 'Setup validation': a bytes-like object is required, not 'str'
Both issues fixed in https://gerrit.ovirt.org/#/c/92437/
With this patch we reach the next failure in otopi, fixed in https://gerrit.ovirt.org/#/c/92435/
Thanks for the patches, Didi can you please review / merge if good?
Reviewed and merged both of above patches. Thanks.
The fix should be available now if using ovirt-release-master repo, right?
By now, I hope it should. I replied almost immediately after merging, and propagation through build-artifacts and the change-queue does take some time. If it's still missing, you can use the build from jenkins - it's linked from your patch:
https://gerrit.ovirt.org/92435 https://jenkins.ovirt.org/job/otopi_master_build-artifacts-fc28-x86_64/6/
I updated engine today, and added another fc28 host, there was no failure during install. I reproduce again the issue of host no having the ovirtmgmt bridge after installing. Configuring host network in engine fixes this issue. Attaching the host-deploy logs. And update for block storage - lvm2 was fixed, it works now we will require this lvm version once it is available in updates.

On Fri, Jun 22, 2018 at 9:31 AM Sandro Bonazzola <sbonazzo@redhat.com> wrote:
Next failure is in TASK [ovirt-host-deploy-firewalld : Enable SSH port]
unsupported version of firewalld, requires >= 0.2.11
# rpm -q firewalld firewalld-0.5.2-2.fc28.noarch
Obviously the complain is incorrect, "0.5.2" > "0.2.11".
Reopened https://bugzilla.redhat.com/show_bug.cgi?id=1381135
I added there the host deploy log for this run.
I worked around this by disabling firewall configuration when adding
a host.
The host was added but was not reachable.
To fix this, I disabled the firewall on the host using: iptables -F
The next issue is missing ovirtmgmt bridge on the host, using setup networks fixed the issue - and the host became UP.
This should have been done by ovirt-host-deploy, can you please share the host deploy logs?
See attached log in no-overtmgmt.tar.gz
So in summary, to add Fedora 28 host:
- patch ovirt-host-deploy: https://gerrit.ovirt.org/#/c/92437/ and install on engine host - patch otopi: https://gerrit.ovirt.org/#/c/92435/ and install on engine host - install python-netaddr on engine host - need to file a bug - disable firewall setup in engine "Add host" dialog - need to file a bug
Done
- disable firewall on the host - use setup networks to add ovirtmgmt network to the host - forget about block storage for now https://bugzilla.redhat.com/1593836 - change selinux to permissive mode https://bugzilla.redhat.com/1593853 - we need a tracker bug for fedora 28 issues
here's the tracker https://bugzilla.redhat.com/show_bug.cgi?id=1460625
Added the new bugs. Nir
participants (7)
-
Benny Zlotnik
-
Dominik Holler
-
Greg Sheremeta
-
Nir Soffer
-
Sandro Bonazzola
-
Viktor VM Mihajlovski
-
Yedidyah Bar David