Bug 1115728
| Summary: | Creating ubuntu lxc container in fedora 20 is failing | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | codingfreak <adapa.ajith> |
| Component: | lxc | Assignee: | Thomas Moschny <thomas.moschny> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 20 | CC: | adapa.ajith, adr.aeder, jv+fedora, karlthered, mi, oron, pertusus, rjones, sagarun, sltrash, thomas.moschny |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-09-14 06:59:42 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
codingfreak
2014-07-03 00:36:37 UTC
There seem to be two errors here. The second is: E: Failed getting release file https://mirrors.kernel.org/debian/dists/precise/Release This file doesn't exist. Could be a bug in debootstrap? The first one is about the missing qemu-debootstrap binary. There is no qemu-debootstrap binary in Fedora's debootstrap package: http://koji.fedoraproject.org/koji/rpminfo?rpmID=4983129 I checked on a Debian/testing machine and this binary comes from the 'qemu' package. It is just a random binary that Debian have added to qemu, not part of qemu upstream. (I do NOT think this should be packaged in Fedora's qemu.) > E: Failed getting release file > https://mirrors.kernel.org/debian/dists/precise/Release Yes, the source should be: https://mirrors.kernel.org/ubuntu/dists/precise/Release But I think this is a problem of lxc/qemu-debootstrap, which is invoking debootstrap and not debootstrap itself. The source mirror can be specified on debootstrap command line and installation of precise into a chroot works fine for me. The qemu-debootstrap is obviously not packaged in Fedora. I'm switching this bugreport back to lxc, which is a source of the problem. First, failing "which qemu-debootstrap" is only a cosmetic issue, the lxc-ubuntu template continues and simply uses debootstrap. Second, it is unclear to me, where the wrong URL comes from, because the lxc-ubuntu tenplate is using http://archive.ubuntu.com/ubuntu, http://security.ubuntu.com/ubuntu, and http://ports.ubuntu.com/ubuntu-ports. Maybe that URL (mirrors.kernel.org) is hard-coded into debootstrap? Also, please verify the problem is still present with https://admin.fedoraproject.org/updates/lxc-1.0.5-2.fc20 Closing, please re-open if the problem persists. This problem still exists in Fedora 21 with lxc-1.0.7-1.fc21.x86_64 and debootstrap-1.0.66-1.fc21.noarch This is now handled in bug 1194770. |