Hide Forgot
Description of problem: /usr/share/lxc/templates/lxc-fedora tries to download "fedora-release-$release-1.noarch.rpm", but the correct RPM for F19 is currently fedora-release-19-2.noarch.rpm, not fedora-release-19-1.noarch.rpm. Hence using the template to create a container fails. Version-Release number of selected component (if applicable): lxc-templates-0.8.0-2.fc19.x86_64 How reproducible: Always. Steps to Reproduce: 1. lxc-create -n foo -t fedora -f /usr/share/doc/lxc/examples/lxc-macvlan.conf Actual results: [root@cato ~]# lxc-create -n foo -t fedora -f /usr/share/doc/lxc/examples/lxc-macvlan.conf /usr/share/lxc/templates/lxc-fedora is /usr/share/lxc/templates/lxc-fedora Checking cache download in /var/cache/lxc/fedora/x86_64/19/rootfs ... Downloading fedora minimal ... Fetching from http://fedora.mirror.lstn.net/releases/19/Everything/x86_64/os//Packages/f/fedora-release-19-1.noarch.rpm % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 curl: (22) The requested URL returned error: 404 Not Found Failed to download fedora release rpm Trying again... Fetching from http://mirror.umd.edu/fedora/linux/releases/19/Everything/x86_64/os//Packages/f/fedora-release-19-1.noarch.rpm % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 Not Found Failed to download fedora release rpm Trying again... Fetching from http://mirror.pnl.gov/fedora/linux/releases/19/Everything/x86_64/os//Packages/f/fedora-release-19-1.noarch.rpm % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 Not Found Failed to download fedora release rpm Aborting Failed to download 'fedora base' failed to install fedora lxc-create: failed to execute template 'fedora' lxc-create: aborted Expected results: The script should pick the right name for the release package.
Actually, the current release is 19-4 now. Hard-coding this seems like a bad idea.
Does the problem persist with lxc-templates-0.9.0-2?
This seems to work now with lxc-templates-0.9.0-2.fc20.x86_64.
This has been fixed in upstream and this can be closed.