[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Error setting the repository list while build openstack images



Hi

I was trying to catch up on the work done in fai-cloud-images, but I
cannot build the images (here openstack)

make stretch-image-openstack


Calling task_repository
'/etc/resolv.conf' -> '/tmp/fai-diskimage.EqzKA0/etc/resolv.conf'
'/etc/hosts' -> '/tmp/fai-diskimage.EqzKA0/etc/hosts' (backup:
'/tmp/fai-diskimage.EqzKA0/etc/hosts.orig')
fcopy: copied
/home/manu/Projects/git/fai-cloud-images/config_space/files/etc/apt/sources.list/CLOUD
to /tmp/fai-diskimage.EqzKA0/etc/apt/sources.list
fcopy: no matching file for any class for
etc/apt/preferences.d/linux.pref defined.
fcopy: destination etc/apt/sources.list remains unchanged
fcopy: no matching file for any class for
etc/apt/sources.list.d/backports.list defined.
fcopy: no matching file for any class for
etc/apt/sources.list.d/gce.list defined.
Calling task_updatebase
Updating base
E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse)
E: The list of sources could not be read.
Replacing available packages info, using /tmp/tmp.kOO0I2sok4.
Information about 0 packages was updated.

Looking at the content of
fai-cloud-images/config_space/files/etc/apt/sources.list/CLOUD

it looks like apt cdn is not interpolated / substituted ?
(using virt-cat on the final image)

virt-cat -a openstack-stretch-image.raw /etc/apt/sources.list
deb ${apt_cdn}/debian ${release} main
deb ${security_cdn}/debian-security ${release}/updates main
deb ${apt_cdn}/debian ${release}-updates main


I am using fai-server 5.5

Emmanuel


Reply to: