• Article for your preferred language does not exist. Below is international version of the article.

Article ID: 117575, created on Sep 30, 2013, last review on May 10, 2014

  • Applies to:
  • Operations Automation 5.4

Symptoms

After running POA 5.5 precheck following error appears in /var/log/precheck-report-<report_date>.log:

YUM check has failed on hosts listed below (please be aware that package information is read from YUM cache using -C option)
Either YUM is not functioning properly on these hosts or there are no repositories with OS updates configured`

Host                        Result
branding.hosting.com (3)    ERROR: OS YUM repositories are not found

Cause

Before POA 5.5 upgrade yum should be installed and configured on every shared host. POA upload configuration file poa.repo with pleskd yum repository to /etc/yum.repos.d/ directory during shared host initialization.

On RHEL 4 hosts POA pre-check is running "yum -C list pleskd" command because we need there only POA repository.

On CentOS or RHEL 5 and 6 based shared hosts also availability of OS repositories is verified:

~ yum -C --disablerepo=repo-id-* repolist

Resolution

POA pre-check only fetches information from yum cache (option -C), but it might missing if host was never updated or cache was clean. yum could be executed without -C option:

~ yum --disablerepo=repo-id-* repolist

POA will install rpms during upgrade. Yum should be able to download metadata and packages from OS repositories. Acessibility and download speed should be verified by making metadata cache:

~ yum -y makecache --disablerepo=repo-id-*

POA upgrade duration depends of yum repository download speed.

Base CentOS yum repository file /etc/yum.repos.d/CentOS-Base.repo is the part of centos-release RPM. If host has access to external network CentOS-Base.repo could be uploaded from any host with the same OS. It is possible add proxy option to /etc/yum.repos.d/CentOS-Base.repo If yum repository is not reachable:

[base]
name=CentOS-$releasever - Base
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
proxy=http://10.0.0.2:8008/

Where http://10.0.0.2:8008/ is http proxy URL example. Please note that service PrivacyProxy could be used as http proxy if it installed on POA environment. More information about yum configuration could be found in yum manual page "man yum".

POA upgrade will fail if OS repositories are not accessible!

Search Words

rpm2vzrpm

vzpkg

caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e ac82ce33439a9c1feec4ff4f2f638899 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF