Installation Media for ubuntu oneiric not correct

Hi,

I've in "installation media" in foreman a media : "Ubuntu Mirror" =>
"http://sg.archive.ubuntu.com"

But after building a host, it seems that the following url is not
correct

"http://sg.archive.ubuntu.com//dists/oneiric/main/installer-amd64/
current/images/netboot/debian-installer/amd64"

instead of :

"http://sg.archive.ubuntu.com/dists/natty/main/installer-amd64/current/
images/netboot/ubuntu-installer/amd64/"

In /"var/log/foreman-proxy/foreman-proxy.log" :

D, [2012-01-23T17:40:05.470941 #7051] DEBUG – : Starting task (total:
0): wget --timeout=10 --tries=3 --no-check-certificate -nv -c
http://sg.archive.ubuntu.com//dists/oneiric/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
-O "/srv/tftp/boot/oneiric-11.10-amd64-initrd.gz"

> Hi,
>
> I've in "installation media" in foreman a media : "Ubuntu Mirror" =>
> "http://sg.archive.ubuntu.com"
>
> But after building a host, it seems that the following url is not
> correct
>
> "http://sg.archive.ubuntu.com//dists/oneiric/main/installer-amd64/
> current/images/netboot/debian-installer/amd64"
>
> instead of :
>
> "http://sg.archive.ubuntu.com/dists/natty/main/installer-amd64/current/
> images/netboot/ubuntu-installer/amd64/"
>
> In /"var/log/foreman-proxy/foreman-proxy.log" :
>
> D, [2012-01-23T17:40:05.470941 #7051] DEBUG – : Starting task (total:
> 0): wget --timeout=10 --tries=3 --no-check-certificate -nv -c
> http://sg.archive.ubuntu.com//dists/oneiric/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
> -O "/srv/tftp/boot/oneiric-11.10-amd64-initrd.gz"

hmm… are you sure your os has a release name of natty instead of oneiric?

foreman just takes the release name as is and puts it in the url…

Ohad

··· On Mon, Jan 23, 2012 at 6:47 PM, Nicolas wrote:


You received this message because you are subscribed to the Google Groups “Foreman users” group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en.

Hi,

You're right, just a bad copy&paste the correct url is
"sg.archive.ubuntu.com/dists/oneiric/main/installer-amd64/current/
images/netboot/ubuntu-installer/amd64",
but foreman-proxy try to get "sg.archive.ubuntu.com//dists/oneiric/
main/installer-amd64/current/images/netboot/debian-installer/
amd64/…".

So i've in the url "debian-installer" instead of "ubuntu-installer".

In my Operating System in foreman, I set "debian" as the os family (no
ubuntu option), maybe that's why ?

Nicolas

··· On Jan 24, 7:59 am, Ohad Levy wrote: > On Mon, Jan 23, 2012 at 6:47 PM, Nicolas wrote: > > Hi, > > > I've in "installation media" in foreman a media : "Ubuntu Mirror" => > > "http://sg.archive.ubuntu.com" > > > But after building a host, it seems that the following url is not > > correct > > > "http://sg.archive.ubuntu.com//dists/oneiric/main/installer-amd64/ > > current/images/netboot/debian-installer/amd64" > > > instead of : > > > "http://sg.archive.ubuntu.com/dists/natty/main/installer-amd64/current/ > > images/netboot/ubuntu-installer/amd64/" > > > In /"var/log/foreman-proxy/foreman-proxy.log" : > > > D, [2012-01-23T17:40:05.470941 #7051] DEBUG -- : Starting task (total: > > 0): wget --timeout=10 --tries=3 --no-check-certificate -nv -c > >http://sg.archive.ubuntu.com//dists/oneiric/main/installer-amd64/curr... > > -O "/srv/tftp/boot/oneiric-11.10-amd64-initrd.gz" > > hmm.. are you sure your os has a release name of natty instead of oneiric? > > foreman just takes the release name as is and puts it in the url... > > Ohad > > > > > > > > > > > -- > > You received this message because you are subscribed to the Google Groups "Foreman users" group. > > To post to this group, send email to foreman-users@googlegroups.com. > > To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com. > > For more options, visit this group athttp://groups.google.com/group/foreman-users?hl=en.

> Hi,
>
> You're right, just a bad copy&paste the correct url is
> "sg.archive.ubuntu.com/dists/oneiric/main/installer-amd64/current/
> images/netboot/ubuntu-installer/amd64",
> but foreman-proxy try to get "sg.archive.ubuntu.com//dists/oneiric/
> main/installer-amd64/current/images/netboot/debian-installer/
> amd64/…".
>
> So i've in the url "debian-installer" instead of "ubuntu-installer".
>
> In my Operating System in foreman, I set "debian" as the os family (no
> ubuntu option), maybe that's why ?

I guess its just this bug: Bug #1457: Provisioning Template for Debian-based systems not working for ubuntu/mint - Foreman

if you name your os with /ubuntu/ it should work.

Ohad

··· On Tue, Jan 24, 2012 at 11:06 AM, Nicolas wrote: > > Nicolas > > On Jan 24, 7:59 am, Ohad Levy wrote: >> On Mon, Jan 23, 2012 at 6:47 PM, Nicolas wrote: >> > Hi, >> >> > I've in "installation media" in foreman a media : "Ubuntu Mirror" => >> > "http://sg.archive.ubuntu.com" >> >> > But after building a host, it seems that the following url is not >> > correct >> >> > "http://sg.archive.ubuntu.com//dists/oneiric/main/installer-amd64/ >> > current/images/netboot/debian-installer/amd64" >> >> > instead of : >> >> > "http://sg.archive.ubuntu.com/dists/natty/main/installer-amd64/current/ >> > images/netboot/ubuntu-installer/amd64/" >> >> > In /"var/log/foreman-proxy/foreman-proxy.log" : >> >> > D, [2012-01-23T17:40:05.470941 #7051] DEBUG -- : Starting task (total: >> > 0): wget --timeout=10 --tries=3 --no-check-certificate -nv -c >> >http://sg.archive.ubuntu.com//dists/oneiric/main/installer-amd64/curr... >> > -O "/srv/tftp/boot/oneiric-11.10-amd64-initrd.gz" >> >> hmm.. are you sure your os has a release name of natty instead of oneiric? >> >> foreman just takes the release name as is and puts it in the url... >> >> Ohad >> >> >> >> >> >> >> >> >> >> > -- >> > You received this message because you are subscribed to the Google Groups "Foreman users" group. >> > To post to this group, send email to foreman-users@googlegroups.com. >> > To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com. >> > For more options, visit this group athttp://groups.google.com/group/foreman-users?hl=en. > > -- > You received this message because you are subscribed to the Google Groups "Foreman users" group. > To post to this group, send email to foreman-users@googlegroups.com. > To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/foreman-users?hl=en. >

yes it's working. Thanks Ohad

··· On Jan 24, 11:06 am, Ohad Levy wrote: > On Tue, Jan 24, 2012 at 11:06 AM, Nicolas wrote: > > Hi, > > > You're right, just a bad copy&paste the correct url is > > "sg.archive.ubuntu.com/dists/oneiric/main/installer-amd64/current/ > > images/netboot/ubuntu-installer/amd64", > > but foreman-proxy try to get "sg.archive.ubuntu.com//dists/oneiric/ > > main/installer-amd64/current/images/netboot/debian-installer/ > > amd64/....". > > > So i've in the url "debian-installer" instead of "ubuntu-installer". > > > In my Operating System in foreman, I set "debian" as the os family (no > > ubuntu option), maybe that's why ? > > I guess its just this bug:http://theforeman.org/issues/1457 > > if you name your os with /ubuntu/ it should work. > > Ohad > > > > > > > > > > > Nicolas > > > On Jan 24, 7:59 am, Ohad Levy wrote: > >> On Mon, Jan 23, 2012 at 6:47 PM, Nicolas wrote: > >> > Hi, > > >> > I've in "installation media" in foreman a media : "Ubuntu Mirror" => > >> > "http://sg.archive.ubuntu.com" > > >> > But after building a host, it seems that the following url is not > >> > correct > > >> > "http://sg.archive.ubuntu.com//dists/oneiric/main/installer-amd64/ > >> > current/images/netboot/debian-installer/amd64" > > >> > instead of : > > >> > "http://sg.archive.ubuntu.com/dists/natty/main/installer-amd64/current/ > >> > images/netboot/ubuntu-installer/amd64/" > > >> > In /"var/log/foreman-proxy/foreman-proxy.log" : > > >> > D, [2012-01-23T17:40:05.470941 #7051] DEBUG -- : Starting task (total: > >> > 0): wget --timeout=10 --tries=3 --no-check-certificate -nv -c > >> >http://sg.archive.ubuntu.com//dists/oneiric/main/installer-amd64/curr... > >> > -O "/srv/tftp/boot/oneiric-11.10-amd64-initrd.gz" > > >> hmm.. are you sure your os has a release name of natty instead of oneiric? > > >> foreman just takes the release name as is and puts it in the url... > > >> Ohad > > >> > -- > >> > You received this message because you are subscribed to the Google Groups "Foreman users" group. > >> > To post to this group, send email to foreman-users@googlegroups.com. > >> > To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com. > >> > For more options, visit this group athttp://groups.google.com/group/foreman-users?hl=en. > > > -- > > You received this message because you are subscribed to the Google Groups "Foreman users" group. > > To post to this group, send email to foreman-users@googlegroups.com. > > To unsubscribe from this group, send email to foreman-users+unsubscribe@googlegroups.com. > > For more options, visit this group athttp://groups.google.com/group/foreman-users?hl=en.