Skip to content
This repository has been archived by the owner on Sep 21, 2022. It is now read-only.

Supporting install of RTM on XCP-ng 8 series #2

Open
gnanet opened this issue Apr 16, 2021 · 0 comments
Open

Supporting install of RTM on XCP-ng 8 series #2

gnanet opened this issue Apr 16, 2021 · 0 comments

Comments

@gnanet
Copy link

gnanet commented Apr 16, 2021

I managed to install rtm on a XCP-ng 8.2.0, but it required some hacking on the dependencies of the ovh-rtm-binaries package. I have removed two dependencies lsscsi, and redhat-lsb.

analysis:

After the successfull install, I was researching a bit on the dependency list, and found that

  • lsscsi is available in the centos7 base-repo, and it's possible to use --enablerepo=base to satisfy the dependency
  • the bigger issue was redhat-lsb package, which recursively depends on packages, that would install desktop stuff on the XCP-ng.
  • Looked at the script rtmHardware.pl, i found that the required files in /etc were installed on the XCP-ng, so i was digging a bit, and found out, the required stuff comes from package redhat-lsb-core

conclusion:

It is easy to support the installation of RTM on XCP-ng 8 series:

  1. in the package ovh-rtm-binaries change the dependency redhat-lsb => redhat-lsb-core

  2. some minor change in the docs:

    1. the /etc/yum.repos.d/ovh-rtm.repo should not enable the repos per default
    [rtm]
    name=OVH RTM RHEL/ CentOS $releasever - $basearch
    baseurl=http://last.public.ovh.rtm.snap.mirrors.ovh.net/centos/$releasever/$basearch/Packages/
    enabled=0
    repo_gpgcheck=1
    gpgcheck=0
    gpgkey=http://last.public.ovh.rtm.snap.mirrors.ovh.net/ovh_rtm.pub
    
    [metrics]
    name=OVH METRICS RHEL/ CentOS $releasever - $basearch
    baseurl=http://last.public.ovh.metrics.snap.mirrors.ovh.net/centos/$releasever/$basearch/Packages/
    enabled=0
    repo_gpgcheck=1
    gpgcheck=0
    gpgkey=http://last.public.ovh.metrics.snap.mirrors.ovh.net/pub.key
    
    1. the command to install the RTM packages should be
    yum --enablerepo=base,metrics,rtm install ovh-rtm-metrics-toolkit
    
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant