[node-devel] Ovirt node-imge build error

老臭 hypervisor at qq.com
Tue Nov 29 10:26:13 UTC 2011


Hi,
    I now have a node-image building problem if anybody can't help me.
    I build node-image according to Node_Building wiki page, it's ok.
    Then I want to add root account to Livecd;
    So I modified common-post.ks file, with "echo 123456|passwd --stdin root" replacing "passwd -l root".
    But after that when I made ovirt-node-image.iso, I got this error:
  
 Creating manifest....done
/etc/selinux/targeted/contexts/files/file_contexts:  line 1791 has invalid context system_u:object_r:deltacloudd_log_t:s0
/etc/selinux/targeted/contexts/files/file_contexts:  line 3419 has invalid context system_u:object_r:dirsrvadmin_lock_t:s0
/etc/selinux/targeted/contexts/files/file_contexts:  line 3738 has invalid context system_u:object_r:ovirt_exec_t:s0
/etc/selinux/targeted/contexts/files/file_contexts:  line 3958 has invalid context system_u:object_r:ovirt_exec_t:s0
/etc/selinux/targeted/contexts/files/file_contexts:  line 3983 has invalid context system_u:object_r:matahari_sysconfigd_exec_t:s0
/etc/selinux/targeted/contexts/files/file_contexts:  line 4119 has invalid context system_u:object_r:chrome_sandbox_nacl_exec_t:s0
/etc/selinux/targeted/contexts/files/file_contexts:  line 4152 has invalid context system_u:object_r:chrome_sandbox_nacl_exec_t:s0
file_contexts:  line 0 has invalid context system_u:object_r:ovirt_exec_t:s0
Unmounting directory /root/ovirt-cache/node-creator-x86_64-tmp/imgcreate-anTeJl/install_root failed, using lazy umount
Unmounting directory /root/ovirt-cache/node-creator-x86_64-tmp/imgcreate-anTeJl/install_root failed, using lazy umount
lazy umount succeeded on /root/ovirt-cache/node-creator-x86_64-tmp/imgcreate-anTeJl/install_root
umount: /root/ovirt-cache/node-creator-x86_64-tmp/imgcreate-anTeJl/install_root/sys/fs/selinux/load: not found
Traceback (most recent call last):
  File "/usr/bin/livecd-creator", line 210, in <module>
    sys.exit(main())
  File "/usr/bin/livecd-creator", line 200, in main
    creator.package()
  File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 744, in package
    self._stage_final_image()
  File "/usr/lib/python2.7/site-packages/imgcreate/live.py", line 327, in _stage_final_image
    self._resparse()
  File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 897, in _resparse
    return self.__instloop.resparse(size)
  File "/usr/lib/python2.7/site-packages/imgcreate/fs.py", line 526, in resparse
    minsize = self.__resize_to_minimal()
  File "/usr/lib/python2.7/site-packages/imgcreate/fs.py", line 521, in __resize_to_minimal
    resize2fs(self.disk.lofile, minimal = True, tmpdir = self.tmpdir)
  File "/usr/lib/python2.7/site-packages/imgcreate/fs.py", line 108, in resize2fs
    raise ResizeError("fsck after resize returned an error (%d)!", (ret,))
TypeError: __init__() takes exactly 2 arguments (3 given)
 
    What should I do to fix it?
 
    Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/node-devel/attachments/20111129/1e8c85ec/attachment.html>


More information about the node-devel mailing list