Bug 1650690
Summary: | openstack overcloud image build fails with ERROR: failed to umount the /tmp/dib_image.e48mtbV2 tmpfs mount point | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Alexander Chuzhoy <sasha> |
Component: | diskimage-builder | Assignee: | Yolanda Robla <yroblamo> |
Status: | CLOSED DUPLICATE | QA Contact: | Arik Chernetsky <achernet> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 13.0 (Queens) | CC: | bfournie, ltoscano, mburns |
Target Milestone: | --- | Keywords: | AutomationBlocker, TestBlocker, ZStream |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-11-26 18:40:10 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Alexander Chuzhoy
2018-11-16 20:58:32 UTC
After rebooting the undercloud node - successfully built the image. For the record, I hit the same issue when using sahara-image-create, which is a wrapper around diskimage-builder, on RHEL 7.6: 2018-11-22 17:41:50.840 | INFO diskimage_builder.block_device.utils [-] Calling [sudo umount /tmp/dib_build.d2AkFELg/mnt/] 2018-11-22 17:41:50.858 | DEBUG diskimage_builder.block_device.utils [-] exec_sudo: umount: /tmp/dib_build.d2AkFELg/mnt: target is busy. exec_sudo /usr/lib/python2.7/site-packages/diskimage_builder/block_device/utils.py:135 2018-11-22 17:41:50.858 | DEBUG diskimage_builder.block_device.utils [-] exec_sudo: (In some cases useful info about processes that use exec_sudo /usr/lib/python2.7/site-packages/diskimage_builder/block_device/utils.py:135 2018-11-22 17:41:50.858 | DEBUG diskimage_builder.block_device.utils [-] exec_sudo: the device is found by lsof(8) or fuser(1)) exec_sudo /usr/lib/python2.7/site-packages/diskimage_builder/block_device/utils.py:135 2018-11-22 17:41:50.858 | Traceback (most recent call last): 2018-11-22 17:41:50.858 | File "/bin/dib-block-device", line 10, in <module> 2018-11-22 17:41:50.858 | sys.exit(main()) 2018-11-22 17:41:50.858 | File "/usr/lib/python2.7/site-packages/diskimage_builder/block_device/cmd.py", line 120, in main 2018-11-22 17:41:50.859 | return bdc.main() 2018-11-22 17:41:50.859 | File "/usr/lib/python2.7/site-packages/diskimage_builder/block_device/cmd.py", line 115, in main 2018-11-22 17:41:50.859 | self.args.func() 2018-11-22 17:41:50.859 | File "/usr/lib/python2.7/site-packages/diskimage_builder/block_device/cmd.py", line 39, in cmd_umount 2018-11-22 17:41:50.859 | self.bd.cmd_umount() 2018-11-22 17:41:50.859 | File "/usr/lib/python2.7/site-packages/diskimage_builder/block_device/blockdevice.py", line 441, in cmd_umount 2018-11-22 17:41:50.859 | node.umount() 2018-11-22 17:41:50.859 | File "/usr/lib/python2.7/site-packages/diskimage_builder/block_device/level3/mount.py", line 112, in umount 2018-11-22 17:41:50.859 | exec_sudo(["umount", self.state['mount'][self.mount_point]['path']]) 2018-11-22 17:41:50.860 | File "/usr/lib/python2.7/site-packages/diskimage_builder/block_device/utils.py", line 143, in exec_sudo 2018-11-22 17:41:50.870 | raise e 2018-11-22 17:41:50.870 | diskimage_builder.block_device.exception.BlockDeviceSetupException: exec_sudo failed Packages: sahara-image-elements-9.0.1-0.20180830223845.4b48079.el7ost.noarch diskimage-builder-2.17.1-0.20181011095309.bbbade0.el7ost.noarch dib-utils-0.0.11-1.el7ost.noarch A restart of the node did not help. I apologize: my case it's not OSP13, so it may not be relevant here. Still the error looks the same, so it may be something that changed in RHEL. Update: I could reproduce the same issue on OSP13, and a reboot did not help. sahara-image-elements-8.0.1-2.el7ost.noarch diskimage-builder-2.16.0-2.el7ost.noarch dib-utils-0.0.11-1.el7ost.noarch It will fail on every image build based on this RHEL 7.6 image, as there is currently a syntax error on their grub defaults: https://bugzilla.redhat.com/show_bug.cgi?id=1646976 > > GRUB_CMDLINE_LINUX="console=tty0 crashkernel=auto" console=ttyS0,115200n8 > > no_timer_check net.ifnames=0 > > > > As you can see, this syntax is wrong, as the quotes are not covering all the > > parameters. The exact syntax needs to be: > > > > GRUB_CMDLINE_LINUX="console=tty0 crashkernel=auto console=ttyS0,115200n8 > > no_timer_check net.ifnames=0" I confirm that if I fix the content of /etc/default/grub on the image, sahara-image-create (aka diskimage-builder) works (on OSP13 and later). Should this bug be reassigned to the other product and closed as duplicate of rhbz#1646976 ? Closing this out. https://bugzilla.redhat.com/show_bug.cgi?id=1643273 is the same issue and has also been closed. The RHEL 7.6 bug https://bugzilla.redhat.com/show_bug.cgi?id=1646976 is the issue here. *** This bug has been marked as a duplicate of bug 1646976 *** |