[VDSM] Strange build requirements added lately

Hi all, Building rpms is failing now on my development machine due to new build requirements: rpmbuild -ta \ vdsm-4.17.999.tar.gz error: Failed build dependencies: PyYAML is needed by vdsm-4.17.999-1091.git4d7d14a.fc22.x86_64 libvirt-python3 is needed by vdsm-4.17.999-1091.git4d7d14a.fc22.x86_64 mom >= 0.5.3 is needed by vdsm-4.17.999-1091.git4d7d14a.fc22.x86_64 openvswitch >= 2.0.0 is needed by vdsm-4.17.999-1091.git4d7d14a.fc22.x86_64 python3-netaddr is needed by vdsm-4.17.999-1091.git4d7d14a.fc22.x86_64 Needing a yaml package and python3-netaddr make sense, but I don't understand why we need these packages for building vdsm: - libvirt-python3 - we should not access libvirt using the tests - mom - we are not running mom on a development machine - openvswitch - we are not running this on a development machine If these are not build requirements, please remove them. Thanks, Nir

----- Original Message ----- [...]
Needing a yaml package and python3-netaddr make sense, but I don't understand why we need these packages for building vdsm:
- libvirt-python3 - we should not access libvirt using the tests
True, but we use constants (e.g. error codes) in the tests, hence the need for that package
- mom - we are not running mom on a development machine
Similar, there are few tests (momTests.py/momPolicyTests.py) which import the package for testing purposes Bests, -- Francesco Romani RedHat Engineering Virtualization R & D Phone: 8261328 IRC: fromani

On Thu, May 12, 2016 at 9:43 AM, Francesco Romani <fromani@redhat.com> wrote:
----- Original Message ----- [...]
Needing a yaml package and python3-netaddr make sense, but I don't understand why we need these packages for building vdsm:
- libvirt-python3 - we should not access libvirt using the tests
True, but we use constants (e.g. error codes) in the tests, hence the need for that package
Makes sense.
- mom - we are not running mom on a development machine
Similar, there are few tests (momTests.py/momPolicyTests.py) which import the package for testing purposes
Testing mom or testing vdsm? Maybe these tests are not relevant now that mom runs in separate process? Here we have a bigger problem - the version we require is not available for Fedora 22, practically breaking support on Fedora 22. Latest version in Fedora 22 is 0.5.1. Martin, can you build lastest mom for Fedora 22? Nir

Testing mom or testing vdsm? Maybe these tests are not relevant now that mom runs in separate process?
Those are API tests.
Here we have a bigger problem - the version we require is not available for Fedora 22, practically breaking support on Fedora 22.
Latest version in Fedora 22 is 0.5.1.
Martin, can you build lastest mom for Fedora 22?
I can, but 0.5.3 should be available in the oVirt repositories for F22. Are we still releasing vdsm in Koji? Martin On Thu, May 12, 2016 at 11:27 AM, Nir Soffer <nsoffer@redhat.com> wrote:
On Thu, May 12, 2016 at 9:43 AM, Francesco Romani <fromani@redhat.com> wrote:
----- Original Message ----- [...]
Needing a yaml package and python3-netaddr make sense, but I don't understand why we need these packages for building vdsm:
- libvirt-python3 - we should not access libvirt using the tests
True, but we use constants (e.g. error codes) in the tests, hence the need for that package
Makes sense.
- mom - we are not running mom on a development machine
Similar, there are few tests (momTests.py/momPolicyTests.py) which import the package for testing purposes
Testing mom or testing vdsm? Maybe these tests are not relevant now that mom runs in separate process?
Here we have a bigger problem - the version we require is not available for Fedora 22, practically breaking support on Fedora 22.
Latest version in Fedora 22 is 0.5.1.
Martin, can you build lastest mom for Fedora 22?
Nir

I can, but 0.5.3 should be available in the oVirt repositories for F22.
And it is indeed there http://resources.ovirt.org/pub/ovirt-3.6/rpm/fc22/noarch/mom-0.5.3-1.fc22.no... On Thu, May 12, 2016 at 12:05 PM, Martin Sivak <msivak@redhat.com> wrote:
Testing mom or testing vdsm? Maybe these tests are not relevant now that mom runs in separate process?
Those are API tests.
Here we have a bigger problem - the version we require is not available for Fedora 22, practically breaking support on Fedora 22.
Latest version in Fedora 22 is 0.5.1.
Martin, can you build lastest mom for Fedora 22?
I can, but 0.5.3 should be available in the oVirt repositories for F22. Are we still releasing vdsm in Koji?
Martin
On Thu, May 12, 2016 at 11:27 AM, Nir Soffer <nsoffer@redhat.com> wrote:
On Thu, May 12, 2016 at 9:43 AM, Francesco Romani <fromani@redhat.com> wrote:
----- Original Message ----- [...]
Needing a yaml package and python3-netaddr make sense, but I don't understand why we need these packages for building vdsm:
- libvirt-python3 - we should not access libvirt using the tests
True, but we use constants (e.g. error codes) in the tests, hence the need for that package
Makes sense.
- mom - we are not running mom on a development machine
Similar, there are few tests (momTests.py/momPolicyTests.py) which import the package for testing purposes
Testing mom or testing vdsm? Maybe these tests are not relevant now that mom runs in separate process?
Here we have a bigger problem - the version we require is not available for Fedora 22, practically breaking support on Fedora 22.
Latest version in Fedora 22 is 0.5.1.
Martin, can you build lastest mom for Fedora 22?
Nir

On Thu, May 12, 2016 at 1:07 PM, Martin Sivak <msivak@redhat.com> wrote:
I can, but 0.5.3 should be available in the oVirt repositories for F22.
And it is indeed there
http://resources.ovirt.org/pub/ovirt-3.6/rpm/fc22/noarch/mom-0.5.3-1.fc22.no...
Thanks, I was looking in the ovirt-4.* repos Sandro, why the ovirt-4.* repos do not keep this version? I assumed that installing http://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm is enough for getting all the requirements on master, but it seems that you need to install also: http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm Which is not even documented in http://www.ovirt.org/develop/developer-guide/vdsm/developers/ Nir
On Thu, May 12, 2016 at 12:05 PM, Martin Sivak <msivak@redhat.com> wrote:
Testing mom or testing vdsm? Maybe these tests are not relevant now that mom runs in separate process?
Those are API tests.
Here we have a bigger problem - the version we require is not available for Fedora 22, practically breaking support on Fedora 22.
Latest version in Fedora 22 is 0.5.1.
Martin, can you build lastest mom for Fedora 22?
I can, but 0.5.3 should be available in the oVirt repositories for F22. Are we still releasing vdsm in Koji?
Martin
On Thu, May 12, 2016 at 11:27 AM, Nir Soffer <nsoffer@redhat.com> wrote:
On Thu, May 12, 2016 at 9:43 AM, Francesco Romani <fromani@redhat.com> wrote:
----- Original Message ----- [...]
Needing a yaml package and python3-netaddr make sense, but I don't understand why we need these packages for building vdsm:
- libvirt-python3 - we should not access libvirt using the tests
True, but we use constants (e.g. error codes) in the tests, hence the need for that package
Makes sense.
- mom - we are not running mom on a development machine
Similar, there are few tests (momTests.py/momPolicyTests.py) which import the package for testing purposes
Testing mom or testing vdsm? Maybe these tests are not relevant now that mom runs in separate process?
Here we have a bigger problem - the version we require is not available for Fedora 22, practically breaking support on Fedora 22.
Latest version in Fedora 22 is 0.5.1.
Martin, can you build lastest mom for Fedora 22?
Nir

I sent a patch for the vdsm developers page, please reveiw: https://github.com/oVirt/ovirt-site/pull/238 On Thu, May 12, 2016 at 2:08 PM, Nir Soffer <nsoffer@redhat.com> wrote:
On Thu, May 12, 2016 at 1:07 PM, Martin Sivak <msivak@redhat.com> wrote:
I can, but 0.5.3 should be available in the oVirt repositories for F22.
And it is indeed there
http://resources.ovirt.org/pub/ovirt-3.6/rpm/fc22/noarch/mom-0.5.3-1.fc22.no...
Thanks, I was looking in the ovirt-4.* repos
Sandro, why the ovirt-4.* repos do not keep this version?
I assumed that installing http://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm
is enough for getting all the requirements on master, but it seems that you need to install also: http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
Which is not even documented in http://www.ovirt.org/develop/developer-guide/vdsm/developers/
Nir
On Thu, May 12, 2016 at 12:05 PM, Martin Sivak <msivak@redhat.com> wrote:
Testing mom or testing vdsm? Maybe these tests are not relevant now that mom runs in separate process?
Those are API tests.
Here we have a bigger problem - the version we require is not available for Fedora 22, practically breaking support on Fedora 22.
Latest version in Fedora 22 is 0.5.1.
Martin, can you build lastest mom for Fedora 22?
I can, but 0.5.3 should be available in the oVirt repositories for F22. Are we still releasing vdsm in Koji?
Martin
On Thu, May 12, 2016 at 11:27 AM, Nir Soffer <nsoffer@redhat.com> wrote:
On Thu, May 12, 2016 at 9:43 AM, Francesco Romani <fromani@redhat.com> wrote:
----- Original Message ----- [...]
Needing a yaml package and python3-netaddr make sense, but I don't understand why we need these packages for building vdsm:
- libvirt-python3 - we should not access libvirt using the tests
True, but we use constants (e.g. error codes) in the tests, hence the need for that package
Makes sense.
- mom - we are not running mom on a development machine
Similar, there are few tests (momTests.py/momPolicyTests.py) which import the package for testing purposes
Testing mom or testing vdsm? Maybe these tests are not relevant now that mom runs in separate process?
Here we have a bigger problem - the version we require is not available for Fedora 22, practically breaking support on Fedora 22.
Latest version in Fedora 22 is 0.5.1.
Martin, can you build lastest mom for Fedora 22?
Nir

On Thu, May 12, 2016 at 1:16 PM, Nir Soffer <nsoffer@redhat.com> wrote:
I sent a patch for the vdsm developers page, please reveiw: https://github.com/oVirt/ovirt-site/pull/238
On Thu, May 12, 2016 at 2:08 PM, Nir Soffer <nsoffer@redhat.com> wrote:
On Thu, May 12, 2016 at 1:07 PM, Martin Sivak <msivak@redhat.com> wrote:
I can, but 0.5.3 should be available in the oVirt repositories for F22.
And it is indeed there
http://resources.ovirt.org/pub/ovirt-3.6/rpm/fc22/noarch/mom-0.5.3-1.fc22.no...
Thanks, I was looking in the ovirt-4.* repos
Sandro, why the ovirt-4.* repos do not keep this version?
I assumed that installing http://resources.ovirt.org/pub/yum-repo/ ovirt-release-master.rpm <http://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm>
F22 is not supported for master (4.0), because F22 will be retired before oVirt 4.0 GA. oVirt 4.0 will be supported (for now) only on F23/EL7. If you plan to develop 4.0 on F22, it's possible, but you need to manually edit repository ovirt-master-snapshot.repo provided by ovirt-release-master.rpm and use F23 packages on F22.
is enough for getting all the requirements on master, but it seems that
to install also: http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
Which is not even documented in http://www.ovirt.org/develop/developer-guide/vdsm/developers/
Nir
On Thu, May 12, 2016 at 12:05 PM, Martin Sivak <msivak@redhat.com>
wrote:
Testing mom or testing vdsm? Maybe these tests are not relevant now
runs in separate process?
Those are API tests.
Here we have a bigger problem - the version we require is not available for Fedora 22, practically breaking support on Fedora 22.
Latest version in Fedora 22 is 0.5.1.
Martin, can you build lastest mom for Fedora 22?
I can, but 0.5.3 should be available in the oVirt repositories for F22. Are we still releasing vdsm in Koji?
Martin
On Thu, May 12, 2016 at 11:27 AM, Nir Soffer <nsoffer@redhat.com> wrote:
On Thu, May 12, 2016 at 9:43 AM, Francesco Romani <fromani@redhat.com> wrote:
----- Original Message ----- [...] > Needing a yaml package and python3-netaddr make sense, but I don't understand > why we need these packages for building vdsm: > > - libvirt-python3 - we should not access libvirt using the tests
True, but we use constants (e.g. error codes) in the tests, hence the need for that package
Makes sense.
> - mom - we are not running mom on a development machine
Similar, there are few tests (momTests.py/momPolicyTests.py) which
import
the package for testing purposes
Testing mom or testing vdsm? Maybe these tests are not relevant now
you need that mom that mom
runs in separate process?
Here we have a bigger problem - the version we require is not available for Fedora 22, practically breaking support on Fedora 22.
Latest version in Fedora 22 is 0.5.1.
Martin, can you build lastest mom for Fedora 22?
Nir
Devel mailing list Devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/devel

On Thu, May 12, 2016 at 2:23 PM, Martin Perina <mperina@redhat.com> wrote:
On Thu, May 12, 2016 at 1:16 PM, Nir Soffer <nsoffer@redhat.com> wrote:
I sent a patch for the vdsm developers page, please reveiw: https://github.com/oVirt/ovirt-site/pull/238
On Thu, May 12, 2016 at 2:08 PM, Nir Soffer <nsoffer@redhat.com> wrote:
On Thu, May 12, 2016 at 1:07 PM, Martin Sivak <msivak@redhat.com> wrote:
I can, but 0.5.3 should be available in the oVirt repositories for F22.
And it is indeed there
http://resources.ovirt.org/pub/ovirt-3.6/rpm/fc22/noarch/mom-0.5.3-1.fc22.no...
Thanks, I was looking in the ovirt-4.* repos
Sandro, why the ovirt-4.* repos do not keep this version?
I assumed that installing http://resources.ovirt.org/pub/yum-repo/ ovirt-release-master.rpm
F22 is not supported for master (4.0), because F22 will be retired before oVirt 4.0 GA. oVirt 4.0 will be supported (for now) only on F23/EL7.
If you plan to develop 4.0 on F22, it's possible, but you need to manually edit repository ovirt-master-snapshot.repo provided by ovirt-release-master.rpm and use F23 packages on F22.
Thanks, seems that its time to upgrade to f23. Nir
participants (4)
-
Francesco Romani
-
Martin Perina
-
Martin Sivak
-
Nir Soffer