Missing file on slave after ceph migration

Bug #1588808 reported by Mikhail Samoylov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Maksim Malchuk
Mitaka
Fix Released
High
Maksim Malchuk

Bug Description

Steps for reproduce:
1. Create cluster
        2. Add 1 node with controller and ceph OSD roles
        3. Add 2 nodes with compute and ceph OSD roles
        4. Deploy the cluster
        5. Check ceph status
        6. Run OSTF
        7. Create a new VM, assign floating ip
        8. Migrate VM
        9. Check cluster and server state after migration
        10. Terminate VM
        11. Check that DHCP lease is not offered for MAC of deleted VM
        12. Create a new VM for migration, assign floating ip
        13. Create a volume and attach it to the VM
        14. Create filesystem on the new volume and mount it to the VM
        15. Migrate VM
        16. Mount the volume after migration
        17. Check cluster and server state after migration
        18. Terminate VM

Actual result:
Step 16 failed with error:
AssertionError: File is absent in /mnt because in mnt we haven't file "file-on-volume"
http://paste.openstack.org/show/507659/

Expected result: Test passed

ISO: 432 MOS
Test code:
https://github.com/openstack/fuel-qa/blob/master/fuelweb_test/tests/test_ceph.py#L542

Tags: area-qa
Revision history for this message
Mikhail Samoylov (msamoylov) wrote :
Ilya Kutukov (ikutukov)
Changed in fuel:
assignee: nobody → Fuel Sustaining (fuel-sustaining-team)
status: New → Confirmed
tags: added: area-library
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Maksim Malchuk (mmalchuk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (master)

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

Changed in fuel:
status: Confirmed → In Progress
Changed in fuel:
milestone: 9.0 → 10.0
Dmitry Pyzhov (dpyzhov)
tags: added: area-qa
removed: area-library
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (master)

Reviewed: https://review.openstack.org/326013
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=d28b6868f56ab6f8e40bdbfd8e5c433c17be0f9e
Submitter: Jenkins
Branch: master

commit d28b6868f56ab6f8e40bdbfd8e5c433c17be0f9e
Author: Maksim Malchuk <email address hidden>
Date: Mon Jun 6 19:00:04 2016 +0300

    Fix instance volume mount script creation

    Now the volume mount script would be created with correct newlines.
    Also, this change contain some additional debugging information, so
    the process of creating and mounting the volume logged to the
    instance /var/log/messages through syslog. Also, this commit contain
    the the workaround for the AuthenticationException because the
    Cirros image starts ssh servece just before the cloud-init and in
    some cases we need to wait when the instance_initial_scenario canges
    the password for the cirros user.

    Change-Id: Icb981c90a5ed8beb75fa119158161bf5ea3e5900
    Closes-Bug: #1588808
    Signed-off-by: Maksim Malchuk <email address hidden>

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-qa (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/326489

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-qa (stable/mitaka)

Reviewed: https://review.openstack.org/326489
Committed: https://git.openstack.org/cgit/openstack/fuel-qa/commit/?id=235edd3495efdf93dd11c3c8d683bc15ac634990
Submitter: Jenkins
Branch: stable/mitaka

commit 235edd3495efdf93dd11c3c8d683bc15ac634990
Author: Maksim Malchuk <email address hidden>
Date: Mon Jun 6 19:00:04 2016 +0300

    Fix instance volume mount script creation

    Now the volume mount script would be created with correct newlines.
    Also, this change contain some additional debugging information, so
    the process of creating and mounting the volume logged to the
    instance /var/log/messages through syslog. Also, this commit contain
    the the workaround for the AuthenticationException because the
    Cirros image starts ssh servece just before the cloud-init and in
    some cases we need to wait when the instance_initial_scenario canges
    the password for the cirros user.

    Change-Id: Icb981c90a5ed8beb75fa119158161bf5ea3e5900
    Closes-Bug: #1588808
    Signed-off-by: Maksim Malchuk <email address hidden>
    (cherry picked from commit d28b6868f56ab6f8e40bdbfd8e5c433c17be0f9e)

Revision history for this message
Andrey Sledzinskiy (asledzinskiy) wrote :
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.