[lxc-users] [ Fedora template ] Error while creating a new container
Martin Cigorraga
martincigorraga at gmail.com
Sun Apr 12 22:15:53 UTC 2015
Hi all,
Host OS: Fedora 21 up-to-date, kernel 3.19.3
Yesterday I tried to create a Fedora container but constantly had the
following errors; while ultimately I could manage to end up with a
working system after running an update once the container was created,
I don't know how much crippled it ended being...
Please check the following errors:
# lxc-create -n F21 -t fedora -B btrfs
Host CPE ID from /etc/os-release: cpe:/o:fedoraproject:fedora:21
Checking cache download in /var/cache/lxc/fedora/x86_64/21/rootfs ...
Downloading fedora minimal ...
Fetching rpm name from
http://www.las.ic.unicamp.br/pub/fedora/linux/releases/21/Everything/x86_64/os//Packages/f...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 413 100 413 0 0 440 0 --:--:-- --:--:-- --:--:-- 440
100 837 100 837 0 0 749 0 0:00:01 0:00:01 --:--:-- 749
Failed to identify fedora release rpm.
Fetching rpm name from
http://fedora.c3sl.ufpr.br/linux/releases/21/Everything/x86_64/os//Packages/f...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 286 100 286 0 0 252 0 0:00:01 0:00:01 --:--:-- 252
0 0 0 240k 0 0 87074 0 --:--:-- 0:00:02 --:--:-- 186k
Fetching fedora release rpm from
http://fedora.c3sl.ufpr.br/linux/releases/21/Everything/x86_64/os//Packages/f/fedora-release-21-2.noarch.rpm......
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 21860 100 21860 0 0 15132 0 0:00:01 0:00:01 --:--:-- 15138
Bootstrap Environment testing...
OS fedora is whitelisted. Installation Bootstrap Environment not required.
warning: /var/cache/lxc/fedora/x86_64/21/partial/fedora-release-21-2.noarch.rpm:
Header V3 RSA/SHA256 Signature, key ID 95a43f54: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:fedora-release-21-2 ################################# [100%]
sed: can't read
//var/cache/lxc/fedora/x86_64/21/partial/etc/yum.repos.d/*: No such
file or directory
Loaded plugins: etckeeper, fastestmirror, keys, langpacks, list-data,
priorities, ps, remove-with-leaves, rpm-warm-cache, show-leaves,
tmprepo, upgrade-helper
Determining fastest mirrors...
/
>From the errors shown above, I want to add that the first time the
container is created it *always* has exactly the same problems:
1. Problems with fedora-release;
2. Mispell path:
//var/cache/lxc/fedora/x86_64/21/partial/etc/yum.repos.d/* (though
there's no typo in the template file itself).
Let me know if I can be of further assistance to help squash down these bugs.
-MartÃn
More information about the lxc-users
mailing list