Installing Foreman: Cannot retrieve repository metadata (repomd.xml) for repository: foreman_proxy

> From: "Brian Dunbar" <brian.dunbar@gmail.com>
> To: foreman-users@googlegroups.com
> Sent: Wednesday, May 1, 2013 11:26:32 AM
> Subject: [foreman-users] Installing Foreman: Cannot retrieve repository metadata (repomd.xml) for repository:
> foreman_proxy
>
> Booted a new host, OracleLinux 6, x86-64. Ran the installer as suggested
> in the manual, section 3.2.1.
>
> After correcting four install.pp files to include 'OracleLinux' as a valid
> choice I ran
>
> ruby /usr/share/foreman-installer/generate_answers.rb
>
> Accepted defaults ('y'). Puppet issued errors, starting with this one …
>
> Error: Execution of '/usr/bin/yum -d 0 -e 0 -y install foreman-sqlite'
> returned 1: Error: Cannot retrieve repository metadata (repomd.xml) for
> repository: foreman_proxy. Please verify its path and try again
>
> I thought that was funny. Looked at the /etc/yum.repos.d/foreman_proxy.repo
>
> [root@co-ap-915 yum.repos.d]# cat foreman_proxy.repo
> [foreman_proxy]
> name=Foreman stable repository
> baseurl=http://yum.theforeman.org/releases/latest//$basearch
> enabled=1
> gpgcheck=0
>
> The baseurl value has an extra '/' in it. Is it supposed to be like that?

This is because Oracle linux is not very well supported in the installer so what should be:

http://yum.theforeman.org/releases/latest/el6/$basearch

is just:

http://yum.theforeman.org/releases/latest//$basearch

I don't have an OEL machine to fix stuff like this on, but if you want to submit patches for the installer on EOL that would be great!

··· ----- Original Message -----


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.