<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">I seem to get this error with multiple oVirt repos (4.0, 4.1). I’m just trying to install the hosted engine on a fresh Centos 7.4 server...</div>
<div class=""><br class="">
</div>
<div class="">Can someone please point me in the direction of what I am doing wrong? </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">[root@localhost ~]# yum install ovirt-hosted-engine-setup</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Loaded plugins: fastestmirror</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">base | 3.6 kB
00:00:00 </span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">centos-opstools-release | 2.9 kB
00:00:00 </span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">extras | 3.4 kB
00:00:00 </span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">ovirt-4.1 | 3.0 kB
00:00:00 </span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">ovirt-4.1-centos-gluster38 | 2.9 kB
00:00:00 </span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961); min-height: 14px;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961); min-height: 14px;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> One of the configured repositories failed (Unknown),</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> and yum doesn't have enough cached data to continue. At this point the only</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> safe thing yum can do is fail. There are a few ways to work "fix" this:</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961); min-height: 14px;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> 1. Contact the upstream for the repository and get them to fix the problem.</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961); min-height: 14px;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> 2. Reconfigure the baseurl/etc. for the repository, to point to a working</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> upstream. This is most often useful if you are using a newer</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> distribution release than is supported by the repository (and the</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> packages for the previous distribution release still work).</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961); min-height: 14px;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> 3. Run the command with the repository temporarily disabled</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> yum --disablerepo=<repoid> ...</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961); min-height: 14px;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> 4. Disable the repository permanently, so yum won't use it by default. Yum</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> will then just ignore the repository until you permanently enable it</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> again or use --enablerepo for temporary usage:</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961); min-height: 14px;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> yum-config-manager --disable <repoid></span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> or</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> subscription-manager repos --disable=<repoid></span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961); min-height: 14px;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> 5. Configure the failing repository to be skipped, if it is unavailable.</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> Note that yum will try to contact the repo. when it runs most commands,</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> so will have to try and fail each time (and thus. yum will be be much</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> slower). If it is a very temporary problem though, this is often a nice</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> compromise:</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961); min-height: 14px;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""> yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961); min-height: 14px;" class="">
<span style="font-variant-ligatures: no-common-ligatures" class=""></span><br class="">
</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">Cannot retrieve metalink for repository: ovirt-4.1-epel/x86_64. Please verify its path and try again</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">[root@localhost ~]#</span></div>
</div>
<div class=""><br class="">
</div>
<div class="">
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">[root@localhost ~]# cat /etc/centos-release</span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">CentOS Linux release 7.4.1708 (Core) </span></div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale Mono'; color: rgb(40, 254, 20); background-color: rgba(0, 0, 0, 0.901961);" class="">
<span style="font-variant-ligatures: no-common-ligatures" class="">[root@localhost ~]# </span></div>
</div>
<div class=""><br class="">
</div>
<div class="">Sorry if I’m dumb.</div>
<br class="">
<div class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
Alex<br class="">
</div>
</div>
</div>
<br class="">
</body>
</html>