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

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

@gnanet

Description

@gnanet

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
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions