Correct way to install VDSM hooks

Hi all, I am trying to install vdsm hooks (scratchpad) specifically. I can see that there are rpms available in https://resources.ovirt.org/pub/ovirt-4.4/rpm/el8/noarch/ but when I try to install using yum it says it cannot find it. Do I have to manually select the hook rpm and install it or am I missing something? Kind regards, Shantur

Hi all, just bumping if anyone missed this Thanks On Tue, Aug 24, 2021 at 9:29 AM Shantur Rathore <shantur.rathore@gmail.com> wrote:
Hi all,
I am trying to install vdsm hooks (scratchpad) specifically. I can see that there are rpms available in https://resources.ovirt.org/pub/ovirt-4.4/rpm/el8/noarch/ but when I try to install using yum it says it cannot find it. Do I have to manually select the hook rpm and install it or am I missing something?
Kind regards, Shantur

Hello Shantur, it seems your yum repos might be just misconfigured. The easiest way to configure it is to use one of the rpms provided: *$sudo yum install -y http://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm <http://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm>* See this link for other releases (rpms) if master is not the right choice for you: http://resources.ovirt.org/pub/yum-repo/ This rpm provides yum repo configs you need for installing vdsm hooks: *[root@host-vm yum.repos.d]# rpm -ql ovirt-release-master-4.4.8-0.0.master.20210825011136.git59df936.el8.noarch/etc/yum.repos.d/ovirt-master-dependencies.repo/etc/yum.repos.d/ovirt-master-snapshot.repo/usr/share/ovirt-release-master/usr/share/ovirt-release-master/node-optional.repo/usr/share/ovirt-release-master/ovirt-el8-ppc64le-deps.repo/usr/share/ovirt-release-master/ovirt-el8-stream-ppc64le-deps.repo/usr/share/ovirt-release-master/ovirt-el8-stream-x86_64-deps.repo/usr/share/ovirt-release-master/ovirt-el8-x86_64-deps.repo/usr/share/ovirt-release-master/ovirt-el9-stream-x86_64-deps.repo/usr/share/ovirt-release-master/ovirt-snapshot.repo/usr/share/ovirt-release-master/ovirt-tested.repo[root@host-vm yum.repos.d]# cat /etc/yum.repos.d/ovirt-master-snapshot.repo[ovirt-master-snapshot]name=Latest oVirt master nightly snapshot#baseurl=https://resources.ovirt.org/pub/ovirt-master-snapshot/rpm/el$releasever/ <https://resources.ovirt.org/pub/ovirt-master-snapshot/rpm/el$releasever/>mirrorlist=https://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-master-snapshot-el$releasever <https://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-master-snapshot-el$releasever>enabled=1gpgcheck=0countme=1fastestmirror=1[ovirt-master-snapshot-static]name=Latest oVirt master additional nightly snapshot#baseurl=https://resources.ovirt.org/pub/ovirt-master-snapshot-static/rpm/el$releasev... <https://resources.ovirt.org/pub/ovirt-master-snapshot-static/rpm/el$releasever/>mirrorlist=https://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-master-snapshot-static-el$releasever <https://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-master-snapshot-static-el$releasever>enabled=1gpgcheck=0countme=1fastestmirror=1* Now the hook installation should work: *[root@host-vm yum.repos.d]# yum repolist ovirt-master-snapshot -vLoaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, uploadprofile, vdsmupgradeYUM version: 4.7.0cachedir: /var/cache/dnfLast metadata expiration check: 0:04:54 ago on Wed 25 Aug 2021 05:06:23 PM CEST.Repo-id : ovirt-master-snapshotRepo-name : Latest oVirt master nightly snapshotRepo-status : enabledRepo-revision : 1629947320Repo-updated : Thu 26 Aug 2021 05:08:40 AM CESTRepo-pkgs : 256Repo-available-pkgs: 256Repo-size : 12 GRepo-mirrors : https://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-master-snapshot-el... <https://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-master-snapshot-el8>Repo-baseurl : https://resources.ovirt.org/pub/ovirt-master-snapshot/rpm/el8/ <https://resources.ovirt.org/pub/ovirt-master-snapshot/rpm/el8/> (14 more)Repo-expire : 172,800 second(s) (last: Wed 25 Aug 2021 05:06:20 PM CEST)Repo-filename : /etc/yum.repos.d/ovirt-master-snapshot.repoTotal packages: 256* *[root@host-vm yum.repos.d]# yum --disablerepo=* --enablerepo=ovirt-master-snapshot install vdsm-hook-scratchpad.noarchLast metadata expiration check: 0:05:19 ago on Wed 25 Aug 2021 05:06:20 PM CEST.Dependencies resolved.===================================================================================================================================================== Package Architecture Version Repository Size=====================================================================================================================================================Installing: vdsm-hook-scratchpad noarch 4.40.90-1.el8 ovirt-master-snapshot 9.0 kTransaction Summary=====================================================================================================================================================Install 1 PackageTotal download size: 9.0 kInstalled size: 4.9 kIs this ok [y/N]:* Let me know if you need further assistance and have a great day. On Wed, Aug 25, 2021 at 2:55 PM Shantur Rathore <shantur.rathore@gmail.com> wrote:
Hi all,
just bumping if anyone missed this
Thanks
On Tue, Aug 24, 2021 at 9:29 AM Shantur Rathore <shantur.rathore@gmail.com> wrote:
Hi all,
I am trying to install vdsm hooks (scratchpad) specifically. I can see that there are rpms available in https://resources.ovirt.org/pub/ovirt-4.4/rpm/el8/noarch/ but when I try to install using yum it says it cannot find it. Do I have to manually select the hook rpm and install it or am I missing something?
Kind regards, Shantur
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/D3CQ6RNLP3BYL4...

Awesome, thanks! If someone else is looking, the commands that worked for me were sudo yum install -y https://resources.ovirt.org/pub/yum-repo/ovirt-release44.rpm and yum --disablerepo=* --enablerepo=ovirt-4.4 install vdsm-hook-scratchpad.noarch as I am using 4.4 Regards, Shantur On Thu, Aug 26, 2021 at 9:01 AM Roman Bednar <rbednar@redhat.com> wrote:
Hello Shantur,
it seems your yum repos might be just misconfigured. The easiest way to configure it is to use one of the rpms provided:
$sudo yum install -y http://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm
See this link for other releases (rpms) if master is not the right choice for you: http://resources.ovirt.org/pub/yum-repo/
This rpm provides yum repo configs you need for installing vdsm hooks:
[root@host-vm yum.repos.d]# rpm -ql ovirt-release-master-4.4.8-0.0.master.20210825011136.git59df936.el8.noarch /etc/yum.repos.d/ovirt-master-dependencies.repo /etc/yum.repos.d/ovirt-master-snapshot.repo /usr/share/ovirt-release-master /usr/share/ovirt-release-master/node-optional.repo /usr/share/ovirt-release-master/ovirt-el8-ppc64le-deps.repo /usr/share/ovirt-release-master/ovirt-el8-stream-ppc64le-deps.repo /usr/share/ovirt-release-master/ovirt-el8-stream-x86_64-deps.repo /usr/share/ovirt-release-master/ovirt-el8-x86_64-deps.repo /usr/share/ovirt-release-master/ovirt-el9-stream-x86_64-deps.repo /usr/share/ovirt-release-master/ovirt-snapshot.repo /usr/share/ovirt-release-master/ovirt-tested.repo
[root@host-vm yum.repos.d]# cat /etc/yum.repos.d/ovirt-master-snapshot.repo [ovirt-master-snapshot] name=Latest oVirt master nightly snapshot #baseurl=https://resources.ovirt.org/pub/ovirt-master-snapshot/rpm/el$releasever/ mirrorlist=https://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-master-snapshot-el... enabled=1 gpgcheck=0 countme=1 fastestmirror=1
[ovirt-master-snapshot-static] name=Latest oVirt master additional nightly snapshot #baseurl=https://resources.ovirt.org/pub/ovirt-master-snapshot-static/rpm/el$releasev... mirrorlist=https://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-master-snapshot-st... enabled=1 gpgcheck=0 countme=1 fastestmirror=1
Now the hook installation should work:
[root@host-vm yum.repos.d]# yum repolist ovirt-master-snapshot -v Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, needs-restarting, playground, repoclosure, repodiff, repograph, repomanage, reposync, uploadprofile, vdsmupgrade YUM version: 4.7.0 cachedir: /var/cache/dnf Last metadata expiration check: 0:04:54 ago on Wed 25 Aug 2021 05:06:23 PM CEST. Repo-id : ovirt-master-snapshot Repo-name : Latest oVirt master nightly snapshot Repo-status : enabled Repo-revision : 1629947320 Repo-updated : Thu 26 Aug 2021 05:08:40 AM CEST Repo-pkgs : 256 Repo-available-pkgs: 256 Repo-size : 12 G Repo-mirrors : https://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-master-snapshot-el... Repo-baseurl : https://resources.ovirt.org/pub/ovirt-master-snapshot/rpm/el8/ (14 more) Repo-expire : 172,800 second(s) (last: Wed 25 Aug 2021 05:06:20 PM CEST) Repo-filename : /etc/yum.repos.d/ovirt-master-snapshot.repo Total packages: 256
[root@host-vm yum.repos.d]# yum --disablerepo=* --enablerepo=ovirt-master-snapshot install vdsm-hook-scratchpad.noarch Last metadata expiration check: 0:05:19 ago on Wed 25 Aug 2021 05:06:20 PM CEST. Dependencies resolved. ===================================================================================================================================================== Package Architecture Version Repository Size ===================================================================================================================================================== Installing: vdsm-hook-scratchpad noarch 4.40.90-1.el8 ovirt-master-snapshot 9.0 k
Transaction Summary ===================================================================================================================================================== Install 1 Package
Total download size: 9.0 k Installed size: 4.9 k Is this ok [y/N]:
Let me know if you need further assistance and have a great day.
On Wed, Aug 25, 2021 at 2:55 PM Shantur Rathore <shantur.rathore@gmail.com> wrote:
Hi all,
just bumping if anyone missed this
Thanks
On Tue, Aug 24, 2021 at 9:29 AM Shantur Rathore <shantur.rathore@gmail.com> wrote:
Hi all,
I am trying to install vdsm hooks (scratchpad) specifically. I can see that there are rpms available in https://resources.ovirt.org/pub/ovirt-4.4/rpm/el8/noarch/ but when I try to install using yum it says it cannot find it. Do I have to manually select the hook rpm and install it or am I missing something?
Kind regards, Shantur
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org Privacy Statement: https://www.ovirt.org/privacy-policy.html oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/ List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/D3CQ6RNLP3BYL4...
participants (2)
-
Roman Bednar
-
Shantur Rathore