[ibp] fa_build_image fails on resize2fs command

Bug #1512983 reported by Sylwester Brzeczkowski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Sylwester Brzeczkowski

Bug Description

fa_build_image fails on resize2fs command with '-F' option.

I'm running it using a command:
sudo fa_build_image --image_build_dir /tmp/ibp3 --log-file fuel-agent-log.log -d --data_driver nailgun_build_image --input_data_file prov.json

When I tried to reproduce it manually, the same error appeared:

vagrant@solar-dev:/tmp/ibp3$ sudo resize2fs -F -M test2
resize2fs 1.42.9 (4-Feb-2014)
resize2fs: Unknown code ____ 255 while trying to flush test2

In fact it worked without '-F' flag which I think is unnecessary here.

I was working on Ubuntu 14.04 (vagrant)

Revision history for this message
Sylwester Brzeczkowski (sbrzeczkowski) wrote :
summary: - [fuel-agent] fa_build_image fails on resize2fs command
+ [ibp] fa_build_image fails on resize2fs command
Revision history for this message
Vladimir Kozhukalov (kozhukalov) wrote :

-F option does not seem to be necessary here. resize2fs man says
"-F Flush the filesystem device's buffer caches before beginning. Only really useful for doing resize2fs time trials."

please try to remove this option from fuel-agent and run again. If it works, we probably need to remove it.

Changed in fuel:
status: New → Confirmed
tags: added: low-hanging-fruit
Dmitry Pyzhov (dpyzhov)
tags: added: area-python
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-agent (master)

Fix proposed to branch: master
Review: https://review.openstack.org/242050

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Sylwester Brzeczkowski (sbrzeczkowski)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-agent (master)

Reviewed: https://review.openstack.org/242050
Committed: https://git.openstack.org/cgit/openstack/fuel-agent/commit/?id=7027b9c31f1986c3904877a2133b1fcb77094beb
Submitter: Jenkins
Branch: master

commit 7027b9c31f1986c3904877a2133b1fcb77094beb
Author: Sylwester Brzeczkowski <email address hidden>
Date: Thu Nov 5 14:25:24 2015 +0100

    [IBP] remove '-F' flag from resize2fs command

    '-F' flag is unnecessary and causes failures in case of
    using vagrant environment.

    Change-Id: I038bae98585fe72066e04898d7b4bae18b343388
    Closes-Bug: #1512983

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Ksenia Svechnikova (kdemina) wrote :

Verify with Fuel 8.0 #503

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.