Image based provisioning failed due to problems with /etc/fstab

Bug #1383371 reported by Andrey Sledzinskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Alexander Gordeev

Bug Description

Custom iso with image based provisioning
{

    "build_id": "2014-10-20_16-53-46",
    "ostf_sha": "de177931b53fbe9655502b73d03910b8118e25f1",
    "build_number": "111",
    "auth_required": true,
    "api": "1.0",
    "nailgun_sha": "997839225a93b655ffe614a75cf0b4929ec6082f",
    "production": "docker",
    "fuelmain_sha": "63eb1b6aaeb815a9bf67e5573f680d7e1b7cabc8",
    "astute_sha": "6a11a7c481d116e6cfdb422fab1d4bbb29cbea1c",
    "feature_groups": [
        "mirantis",
        "experimental"
    ],
    "release": "6.0",
    "release_versions": {
        "2014.2-6.0": {
            "VERSION": {
                "build_id": "2014-10-20_16-53-46",
                "ostf_sha": "de177931b53fbe9655502b73d03910b8118e25f1",
                "build_number": "111",
                "api": "1.0",
                "nailgun_sha": "997839225a93b655ffe614a75cf0b4929ec6082f",
                "production": "docker",
                "fuelmain_sha": "63eb1b6aaeb815a9bf67e5573f680d7e1b7cabc8",
                "astute_sha": "6a11a7c481d116e6cfdb422fab1d4bbb29cbea1c",
                "feature_groups": [
                    "mirantis",
                    "experimental"
                ],
                "release": "6.0",
                "fuellib_sha": "cd6c3c8ed5ef399e719f3b1f5082b38a32b923fe"
            }
        }
    },
    "fuellib_sha": "cd6c3c8ed5ef399e719f3b1f5082b38a32b923fe"

}

Steps:
1. Create cluster with Centos/Ubuntu, simple and all other default values, 1 controller, 1 compute, 1 cinder
2. Select image based provisioning on Settings tab
3. Start deployment

Actual - provisioning passed but there were problems with mounting in both CentOS/Ubuntu so deployment failed with timeout

Logs are attached

Screen with fstab output for CentOS is attached

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
Changed in fuel:
status: New → In Progress
tags: added: image-based
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/129332
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=e0970293461cdaf762bd8f5fa4e3332880a3a43f
Submitter: Jenkins
Branch: master

commit e0970293461cdaf762bd8f5fa4e3332880a3a43f
Author: Alexander Gordeev <email address hidden>
Date: Fri Oct 17 21:14:19 2014 +0400

    Fuel agent tiny fixups

    1) Fix issue with /etc/mtab for fuel-agent

    Sometimes /etc/mtab inside of chrooted image during provisioning stage
    appears as symlink to /proc/self/mounts. It can't be rewritten in such
    case. So its removing really helps.

    2) Fix grub_utils

    `chroot` parameter was missed few times. Should work now

    3) Fix improper stdout handling in manager.py when `blkid` was called

    Output should be stripped as it contains new-line symbol (\n) on end
    Closes-Bug: #1383371

    Change-Id: I756b85b104fc06a065bc2f297b30f0b738aea3f4

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :

verified on
{

    "build_id": "2014-11-04_21-28-16",
    "ostf_sha": "9c6fadca272427bb933bc459e14bb1bad7f614aa",
    "build_number": "76",
    "auth_required": true,
    "api": "1.0",
    "nailgun_sha": "35946b1f225c984f11915ba8e985584160f0b129",
    "production": "docker",
    "fuelmain_sha": "d498d9153494b412cc75900ab8a1f4e18bc26c13",
    "astute_sha": "c72dac7b31646fbedbfc56a2a87676c6d5713fcf",
    "feature_groups": [
        "mirantis",
        "experimental"
    ],
    "release": "6.0",
    "release_versions": {
        "2014.2-6.0": {
            "VERSION": {
                "build_id": "2014-11-04_21-28-16",
                "ostf_sha": "9c6fadca272427bb933bc459e14bb1bad7f614aa",
                "build_number": "76",
                "api": "1.0",
                "nailgun_sha": "35946b1f225c984f11915ba8e985584160f0b129",
                "production": "docker",
                "fuelmain_sha": "d498d9153494b412cc75900ab8a1f4e18bc26c13",
                "astute_sha": "c72dac7b31646fbedbfc56a2a87676c6d5713fcf",
                "feature_groups": [
                    "mirantis"
                ],
                "release": "6.0",
                "fuellib_sha": "ba0b3010647dfdd675d88bdfe20dfbed3134f52f"
            }
        }
    },
    "fuellib_sha": "ba0b3010647dfdd675d88bdfe20dfbed3134f52f"

}

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.