ovirt-hosted-engine-ha requires python-mock as BuildRequires which requires python-unittest2.
I do not see any python-mock or python-unittest packages after installation of ovirt-hosted-engine-setup, also I ran deployment and it succeed. So can you provide me steps to verify this bug?
checked on: ovirt-hosted-engine-ha-1.3.0-0.0.master.20150615153650.20150615153645.git5f8c290.el7.noarch ovirt-hosted-engine-setup-1.3.0-0.0.master.20150623153111.git68138d4.el7.noarch
They're build dependencies so they're not installed by default. You should be able to download the src.rpm: yumdownloader --source ovirt-hosted-engine-ha install build dependencies: yum-builddep ovirt-hosted-engine-ha*src.rpm and this step should pull in python-mock package. for python-unittest: You should be able to download the src.rpm: yumdownloader --source pyhton-mock install build dependencies: yum-builddep python-mock*src.rpm and this step should pull in python-unittest package. Please note this test should be performed on downstream repository, not on upstream since upstream you'll have python-mock and python-unittest2 provided by EPEL repository. So I suggest to wait for testing this.
ok thanks Sandro
Hi Sandro I tried to download some src package, but: yumdownloader --source ovirt-hosted-engine-ha Loaded plugins: langpacks, product-id Repository rhev-72-hypervisor is listed more than once in the configuration extra_repo | 2.9 kB 00:00:00 glusterfs-epel | 2.9 kB 00:00:00 glusterfs-noarch-epel | 2.9 kB 00:00:00 rhel-7.2 | 4.1 kB 00:00:00 rhel-72-optional | 3.8 kB 00:00:00 rhev-72-hypervisor | 2.6 kB 00:00:00 rhev-master | 2.9 kB 00:00:00 No source RPM found for ovirt-hosted-engine-ha-1.3.0-0.3.beta.git183a4ff.el7ev.noarch Can you please provide me all necessary repositories, where I can src pakages? Thanks
looks like CI team is not collecting the src.rpm in the test repos. Joey, can you advise on which repo Artyom can enable in order to get src.rpm from rhevm-3.6-rhel-7-candidate tag?
Verified on packages: ovirt-hosted-engine-ha-1.3.0-0.4.beta.git1bcfe28.el7ev.src.rpm python-mock-1.0.1-5.el7ev.src.rpm yum-builddep python-mock*src.rpm Loaded plugins: langpacks, product-id Repository rhev-72-hypervisor is listed more than once in the configuration extra_repo | 2.9 kB 00:00:00 rhel-7.2 | 4.1 kB 00:00:00 rhel-72-optional | 3.8 kB 00:00:00 rhev-72-hypervisor | 2.6 kB 00:00:00 Getting requirements for python-mock-1.0.1-5.el7ev.src --> python-devel-2.7.5-31.el7.x86_64 --> python-setuptools-0.9.8-4.el7.noarch --> python-unittest2-0.5.1-7.el7ev.noarch --> Running transaction check ---> Package python-devel.x86_64 0:2.7.5-31.el7 will be installed ---> Package python-setuptools.noarch 0:0.9.8-4.el7 will be installed ---> Package python-unittest2.noarch 0:0.5.1-7.el7ev will be installed --> Finished Dependency Resolution Dependencies Resolved =========================================================================================================================================================== Package Arch Version Repository Size =========================================================================================================================================================== Installing: python-devel x86_64 2.7.5-31.el7 rhel-7.2 390 k python-setuptools noarch 0.9.8-4.el7 rhel-7.2 397 k python-unittest2 noarch 0.5.1-7.el7ev rhev-master 131 k Transaction Summary =========================================================================================================================================================== Install 3 Packages yum-builddep ovirt-hosted-engine-ha*src.rpm Loaded plugins: langpacks, product-id Repository rhev-72-hypervisor is listed more than once in the configuration rhev-master | 2.9 kB 00:00:00 rhev-master/7Server/primary_db | 90 kB 00:00:00 Getting requirements for ovirt-hosted-engine-ha-1.3.0-0.4.beta.git1bcfe28.el7ev.src --> Already installed : python-2.7.5-31.el7.x86_64 --> python-devel-2.7.5-31.el7.x86_64 --> python-nose-1.3.0-3.el7.noarch --> python-mock-1.0.1-5.el7ev.noarch --> Already installed : systemd-219-11.el7.x86_64 --> autoconf-2.69-11.el7.noarch --> automake-1.13.4-3.el7.noarch --> Running transaction check ---> Package autoconf.noarch 0:2.69-11.el7 will be installed --> Processing Dependency: m4 >= 1.4.14 for package: autoconf-2.69-11.el7.noarch ---> Package automake.noarch 0:1.13.4-3.el7 will be installed --> Processing Dependency: perl(TAP::Parser) for package: automake-1.13.4-3.el7.noarch --> Processing Dependency: perl(Thread::Queue) for package: automake-1.13.4-3.el7.noarch ---> Package python-devel.x86_64 0:2.7.5-31.el7 will be installed ---> Package python-mock.noarch 0:1.0.1-5.el7ev will be installed ---> Package python-nose.noarch 0:1.3.0-3.el7 will be installed --> Processing Dependency: python-setuptools for package: python-nose-1.3.0-3.el7.noarch --> Running transaction check ---> Package m4.x86_64 0:1.4.16-10.el7 will be installed ---> Package perl-Test-Harness.noarch 0:3.28-3.el7 will be installed ---> Package perl-Thread-Queue.noarch 0:3.02-2.el7 will be installed ---> Package python-setuptools.noarch 0:0.9.8-4.el7 will be installed --> Finished Dependency Resolution Dependencies Resolved =========================================================================================================================================================== Package Arch Version Repository Size =========================================================================================================================================================== Installing: autoconf noarch 2.69-11.el7 rhel-7.2 701 k automake noarch 1.13.4-3.el7 rhel-7.2 679 k python-devel x86_64 2.7.5-31.el7 rhel-7.2 390 k python-mock noarch 1.0.1-5.el7ev rhev-master 91 k python-nose noarch 1.3.0-3.el7 rhel-7.2 272 k Installing for dependencies: m4 x86_64 1.4.16-10.el7 rhel-7.2 256 k perl-Test-Harness noarch 3.28-3.el7 rhel-7.2 302 k perl-Thread-Queue noarch 3.02-2.el7 rhel-7.2 17 k python-setuptools noarch 0.9.8-4.el7 rhel-7.2 397 k Transaction Summary =========================================================================================================================================================== Install 5 Packages (+4 Dependent packages)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-0393.html