[lxc-users] lxc-create for ubuntu container fails in Fedora 20
Michael H. Warfield
mhw at WittsEnd.com
Thu Jul 3 01:44:11 UTC 2014
On Thu, 2014-07-03 at 08:24 +0700, Fajar A. Nugraha wrote:
> You should probably file it under debootstrap instead of lxc.
Concur. This is a debootstrap bug, not LXC.
Regards,
Mike
>
> On ubuntu 14.04 (debootstrap 1.0.59ubuntu0.1), all ubuntu releases
> (e.g. "precise") script under /usr/share/debootsrap is a symlink to
> "gutsy", which has this
>
>
> case $ARCH in
> amd64|i386)
> default_mirror http://archive.ubuntu.com/ubuntu
> ;;
> sparc)
> case $SUITE in
> gutsy)
> default_mirror http://archive.ubuntu.com/ubuntu
> ;;
> *)
> default_mirror http://ports.ubuntu.com/ubuntu-ports
> ;;
> esac
> ;;
> *)
> default_mirror http://ports.ubuntu.com/ubuntu-ports
> ;;
> esac
>
>
>
>
> My guess is under fedora the links somehow got broken (e.g. points to
> a debian release, like "stable"), or something else changed that
> caused the lines above got removed.
>
>
> --
> Fajar
>
>
>
>
> On Thu, Jul 3, 2014 at 7:38 AM, Ajith Adapa <ajith.adapa at gmail.com>
> wrote:
> Filled a bug in Fedora Bugzilla @
> https://bugzilla.redhat.com/show_bug.cgi?id=1115728
>
> Regards,
> Ajith
>
> On Wed, Jul 2, 2014 at 10:41 PM, Michael H. Warfield
> <mhw at wittsend.com> wrote:
>
> > On Wed, 2014-07-02 at 10:07 +0530, Ajith Adapa wrote:
> >> Hi,
> >
> >> I am trying to create a ubuntu container in Fedora 20 host
> and it
> >> fails as shown below
> >
> >> # lxc-create -t ubuntu -n ubuntutest
> >> Checking cache download
> in /var/cache/lxc/precise/rootfs-amd64 ...
> >> Installing packages in template: ssh,vim,language-pack-en
> >> Downloading ubuntu precise minimal ...
> >> which: no qemu-debootstrap in
> >>
> (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/usr/sbin:/usr/bin:/sbin:/bin)
> >> I: Keyring file not available at
> >> /usr/share/keyrings/ubuntu-archive-keyring.gpg; switching
> to https
> >> mirror https://mirrors.kernel.org/debian
> >> I: Retrieving Release
> >> E: Failed getting release file
> >> https://mirrors.kernel.org/debian/dists/precise/Release
> >> lxc_container: container creation template for ubuntutest
> failed
> >> lxc_container: Error creating container ubuntutest
> >
> > I saw that last time I tried to directly create an Ubuntu
> container on
> > Fedora 20 myself.
> >
> > The problem appears to be that debootstrap, on which the
> Ubuntu template
> > depends, seems to have recently (sometime in the last 3
> months or so)
> > been broken on Fedora. I looked at it several weeks ago and
> it's having
> > a problem pulling release information from
> mirrors.kernel.org even when
> > you specify releases that SHOULD work. The debootstrap
> process is
> > driven by version dependent scripts
> in /usr/share/debootstrap/scripts
> > and it's those scripts that are failing to retrieve their
> respective
> > release information and hurling chunks.
> >
> > I don't know if it's some reorganization up at
> mirrors.kernel.org or if
> > someone broke something in debootstrap but it's not a
> problem with the
> > Ubuntu template.
> >
> > I haven't tried it yet but I strongly suspect the Debian
> template will
> > be similarly broken. Someone probably needs to open a
> bugzilla ticket
> > up at the Fedora Project bugzilla.
> >
> >> --
> >> Regards,
> >> Ajith
> >
> > Regards,
> > Mike
> > --
> > Michael H. Warfield (AI4NB) | (770) 978-7061 |
> mhw at WittsEnd.com
> > /\/\|=mhw=|\/\/ | (678) 463-0932 |
> http://www.wittsend.com/mhw/
> > NIC whois: MHW9 | An optimist believes we live
> in the best of all
> > PGP Key: 0x674627FF | possible worlds. A pessimist
> is sure of it!
> >
> >
>
> > _______________________________________________
> > lxc-users mailing list
> > lxc-users at lists.linuxcontainers.org
> > http://lists.linuxcontainers.org/listinfo/lxc-users
>
>
>
> --
> Regards,
> Ajith
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
>
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
--
Michael H. Warfield (AI4NB) | (770) 978-7061 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0x674627FF | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140702/65fea878/attachment.sig>
More information about the lxc-users
mailing list