Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while building image #400

Open
surajnarwade opened this issue Mar 28, 2017 · 0 comments
Open

Error while building image #400

surajnarwade opened this issue Mar 28, 2017 · 0 comments

Comments

@surajnarwade
Copy link

I want to build fedora docker base image, I am running following command,

imagefactory --debug base_image --file-parameter install_script fedora-docker-base.ks temp.xml --parameter offline_icicle true

my template is ,

<template>
    <name>fedora</name>
    <os>
        <name>Fedora</name>
        <version>25</version>
        <arch>x86_64</arch>
        <install type='url'>
            <url>https://dl.fedoraproject.org/pub/fedora/linux/releases/25/Everything/x86_64/os/</url>
        </install>
        <rootpw>password</rootpw>
    </os>
</template>

I am getting error,

2017-03-28 04:54:29,753 ERROR imgfac.Builder.Builder thread(39906e4f) Message: Exception encountered in _build_image_from_template thread
2017-03-28 04:54:29,753 ERROR imgfac.Builder.Builder thread(39906e4f) Message: No disk activity in 300 seconds, failing.  Check screenshot at /var/lib/oz/screenshots/factory-build-66416f42-cc9c-4e74-ac40-0df3acaac1af-1490691269.72.ppm for more detail
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/imgfac/Builder.py", line 132, in _build_image_from_template
    self.os_plugin.create_base_image(self, template, parameters)
  File "/usr/lib/python2.7/site-packages/imagefactory_plugins/TinMan/TinMan.py", line 346, in create_base_image
    libvirt_xml = self.guest.install(self.app_config["timeout"])
  File "/usr/lib/python2.7/site-packages/oz/RedHat.py", line 705, in install
    self.initrdfname, self.cmdline)
  File "/usr/lib/python2.7/site-packages/oz/Guest.py", line 1714, in _do_install
    self._wait_for_install_finish(dom, timeout)
  File "/usr/lib/python2.7/site-packages/oz/Guest.py", line 829, in _wait_for_install_finish
    raise oz.OzException.OzException("No disk activity in %d seconds, failing.  %s" % (inactivity_timeout, screenshot_text))
OzException: No disk activity in 300 seconds, failing.  Check screenshot at /var/lib/oz/screenshots/factory-build-66416f42-cc9c-4e74-ac40-0df3acaac1af-1490691269.72.ppm for more detail

Image build FAILED with error: No disk activity in 300 seconds, failing.  Check screenshot at /var/lib/oz/screenshots/factory-build-66416f42-cc9c-4e74-ac40-0df3acaac1af-1490691269.72.ppm for more detail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant