2018-06-28 15:42 GMT+02:00 Nir Soffer <nsoffer@redhat.com>:I want to share the current state of oVirt on Fedora 28, hopefully it willsave time for other developers.Thanks for the summary!
1. Why should I run oVirt on Fedora 28?- Fedora is the the base for future CentOS. The bugs we find *today* on Fedora 28are the bugs that we will not have next year when we try oVirt on CentOS.- I want to contribute to projects that require python 3. For example, virt-v2vrequire python 3.6 in upstream. If you want to contribute you need to testit on Fedora 28.- I need to develop with latest libvirt and qemu. One example is incrementalbackup, you will need Fefora 28 to work on this.- CentOS is old and boring, I want to play with the newest bugs :-)2. How to install oVirt with Fedora 28 hostsWarning: ugly hacks bellow!- Install ovirt-release-master.rpm on all hostsdnf install http://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm- Install or build engine on CentOS 7.5 (1804)[1]
_______________________________________________- When provisioning a host, make sure you have lvm2-2.02.177-5.fc28without it, no block storage you[2]This has been pushed to stable 3 days ago, so just "dnf update --refresh" should be enough to consume it- When adding a host, disable "Configure host firewall" - it does not work nowI hope that Sandro team will fix this issue soon.Tracked here https://bugzilla.redhat.com/show_bug.cgi?id=1381135- Adding a host will fail, because without firewall setup, port 54321 is not reacable.to fix this, configure the firewall manually, or disable itiptables -FThis is pretty lame because you have to apply it again after restart, but it wasgood enough for now.- Because the host was not reachable, we don't configure the host networkso the host will be non-operational.To fix this, open host > network > setup networks and assign ovirtmgmtto the host management nic. The host will become UP after that.I hope that Dan team will fix it soon.- Adding storage will fail because sanlock selinux issue[3]To fix, set selinux to permissive mode:setenforce 0Please add a custom rule to selinux instead of disabling it while waiting for a fix, so you can catch more selinux issues masked by this.At this point you should have a working setup.3. Building and instaling vdsm from source on Fedora 28- Install build dependencies usingdnf install `cat automation/check-patch.packages.fc28`- Clean the source (needed if you rerun ./autogen.sh with different options)git clean -dxf- Configure vdsm with hooks - for some reason 2 hooks are requiredon Fedora but not on EL../autogen.sh --system --enable-hooks- Buildmakemake rpm- Install the packages at /home/user/rpmbuild/RPMS/{noarch,x86_64}- if vdsm was never installed, you need to configure and enable itvdsm-tool configure --forcesystemctl enable vdsmdsystemctl start vdsmdAt this point you can test the new bugs you added to vdsm :-)[1] I did not try to install engine on Fedora 28. I guess engine folks canshare if there are issues with this.LVM team fixed the issue couple of hours after I asked about it in #lvmWe had a build for testing couple of days later.We are still waiting for selinux folks response.Happy hacking!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/DZTZTRLEEV2BKJ2XCMX2FGQEMPTAE5OG/