Bug 1075963

Summary: the ovirt yum repo contains html
Product: [Retired] oVirt Reporter: Jiri Moskovcak <jmoskovc>
Component: ovirt-hosted-engine-setupAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED WORKSFORME QA Contact: meital avital <mavital>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.4CC: acathrow, dfediuck, didi, gklein, iheim, jmoskovc, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-13 10:04:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jiri Moskovcak 2014-03-13 09:57:18 UTC
Description of problem:
I've installed the vm using the hosted-engine-setup and then it failed to install the engine on the VM, becuase the fedora-virt-preview.repo wasn't a proper repo.

Version-Release number of selected component (if applicable):
3.4 preview

How reproducible:
100%

Steps to Reproduce:
1. 
2.
3.

Actual results:
$ cat /etc/yum.repos.d/fedora-virt-preview.repoo
<html>
<head>
<title>fedorapeople.org - file/url not found</title>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<STYLE TYPE="text/css">
TD          
{   
font-family:sans-serif;
}
.footer 
{
font-family:sans-serif;
font-size: 60%;
color: #AAAAAA;
}

</STYLE>

</head>
<body>
<table padding=5>
 <tr>
    <td align=left><img src="http://fedorapeople.org/fedoralogo.png" align=left alt="fedora logo"></td>
    <td><h1>404 - Page could not be found</h1></td>
 </tr>
 <tr>
  <td>&nbsp;</td>
  <td>We could not find the requested page. If you're trying to
 find the fedora people page of a particular user, please go to the <a href="http://fedorapeople.org">front
  page</a> and use the index.
  <p>
  <hr>
  <a href="http://linux.dell.com"><img border=0   src="http://fedorapeople.org/poweredby_horizontal_lr.gif"></a>
  </p>
  </td>
 </tr>
 
</table>

</body>
</HTML> 


Expected results:
a proper repo file

Additional info:
- please note the file name suffix "repoo" it has one more 'o' and it's not a typo in this bz, that's how it's created by the ovirt-hosted-engine-setup

Comment 1 Sandro Bonazzola 2014-03-13 10:04:20 UTC
Provided that ovirt-hosted-engine-setup does not create /etc/yum.repos.d/fedora-virt-preview.repoo I can't understand how it is possible you've that there.

/etc/yum.repos.d/fedora-virt-preview.repo (without the double oo) is created by ovirt-release rpm (http://resources.ovirt.org/releases/ovirt-release.noarch.rpm) and it's a good .repo file.

Can't reproduce the issue, closing as work for me.
Please reopen if you can provide more info for reproducing the issue.

Comment 2 Yedidyah Bar David 2014-03-13 10:10:18 UTC
I have a wild guess: You followed the instructions in [1], but added an extra 'o' to the wget command.

[1] http://fedoraproject.org/wiki/Virtualization_Preview_Repository

Comment 3 Jiri Moskovcak 2014-03-14 08:07:44 UTC
(In reply to Yedidyah Bar David from comment #2)
> I have a wild guess: You followed the instructions in [1], but added an
> extra 'o' to the wget command.
> 
> [1] http://fedoraproject.org/wiki/Virtualization_Preview_Repository

no, I don't have that file anywhere on the host 

[root@dev-05 /]# find . -name "*repoo"
[root@dev-05 /]#

- and it's on the VM right after the installation, the engine-setup doesn't have the root password, so it couldn't copy it there, so I'm being suspicious that it comes directly from the PXE I'm using to install the VM

Comment 4 Jiri Moskovcak 2014-03-14 13:08:49 UTC
so the problem was in our local pxe configuration, sorry for the trouble