[openstack-dev] [diskimage-builder] rpm installing issue on fedora cloud image

Derek Higgins derekh at redhat.com
Fri Jun 7 23:32:36 UTC 2013


On 05/06/13 13:36, Ivan Berezovskiy wrote:
> Hi,
> 
> I have an issue with installing rpm packages while creating fedora cloud
> images.
> 
> I created my own element that setups package from "rpm" on fedora cloud
> image. This element contains only directory install.d and single
> excecutable file is as follows:
> yum install wget -y
> wget $url_to_rpm_file
> rpm -i $rpm_file (rpm -ivh $rpm_file, rpm -ivh --replacefiles $rpm_file)
> 
> The command used for image creation:
> url_to_rpm_file="some_address" disk-image-create vm fedora my_element -o
> image_name
> 
> Setup went well, rpm has been installed, but after "Writing superblocks
> and filesystem accounting information: done" I got error: 
> 
> "mv: reading `/tmp/image.puHvpkTq/built/proc/sysrq-trigger':
> Input/output error
> mv: failed to extend `/tmp/image.puHvpkTq/mnt/proc/sysrq-trigger':
> Input/output error".
> 
> After that image creating hangs. I tried to use function
> "install-packages", but result was the same.
> 
> Do you have any thoughts on that?
Hi Ivan,

   I havn't been able to reproduce this, is the problem you are seeing
only happening with a specific rpm ? If so if you can share any
information on the rpm file I'll give it a go again.

thanks,
Derek.


> 
> Thanks, Ivan.
> 
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 




More information about the OpenStack-dev mailing list