[system tests] system tests migrate vm backed with ceph failed with Type error

Bug #1369962 reported by Tatyanka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Artem Panchenko
5.1.x
Fix Released
Medium
Artem Panchenko
6.0.x
Fix Released
Medium
Artem Panchenko

Bug Description

http://jenkins-product.srt.mirantis.net:8080/view/5.1_swarm/job/5.1_fuelmain.system_test.centos.thread_1/5/testReport/%28root%29/migrate_vm_backed_with_ceph/

http://paste.openstack.org/show/112094/

2014-09-16 00:05:37,475 - INFO os_actions.py:222 -- Opening session
2014-09-16 00:05:37,484 - INFO os_actions.py:224 -- Executing command
2014-09-16 00:05:37,614 - INFO os_actions.py:226 -- Getting exit status
2014-09-16 00:05:37,615 - INFO os_actions.py:228 -- Sending shutdown write signal
2014-09-16 00:05:37,615 - INFO test_ceph.py:463 -- Get available computes
2014-09-16 00:05:37,666 - INFO test_ceph.py:466 -- Migrating server
2014-09-16 00:05:49,925 - INFO test_ceph.py:468 -- Check cluster and server state after migration
2014-09-16 00:05:49,925 - INFO test_ceph.py:470 -- Mount volume after migration
2014-09-16 00:05:50,399 - INFO os_actions.py:207 -- Making intermediate transport
2014-09-16 00:05:50,399 - INFO os_actions.py:209 -- Opening channel to VM
2014-09-16 00:05:53,420 - INFO os_actions.py:232 -- An exception occured: Connect failed
2014-09-16 00:05:53,420 - INFO test_ceph.py:475 -- out of mounting volume is: None
2014-09-16 00:05:53,865 - INFO os_actions.py:207 -- Making intermediate transport
2014-09-16 00:05:53,865 - INFO os_actions.py:209 -- Opening channel to VM
2014-09-16 00:05:56,869 - INFO os_actions.py:232 -- An exception occured: Connect failed

Tags: system-tests
Changed in fuel:
status: New → Confirmed
milestone: 5.1 → 5.1.1
Revision history for this message
Artem Panchenko (apanchenko-8) wrote :

Migration of instance fails due to the following bug:

https://bugs.launchpad.net/mos/+bug/1371130

But nonetheless in system tests we should prevent raising of 'TypeError' exception if connection to the instance via SSH failed.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

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

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/125013
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=10195ef8622c6ff3366c679d6bcfe9939635f496
Submitter: Jenkins
Branch: master

commit 10195ef8622c6ff3366c679d6bcfe9939635f496
Author: Artem Panchenko <email address hidden>
Date: Tue Sep 30 13:14:09 2014 +0300

    Return empty string instead of None (systests)

    In 'execute_through_host' method return empty string if
    exception is caught. This is required to avoid type errors
    in tests which use that function. Also, increase log level
    to 'error' for message about occurred exception.

    Change-Id: I7021ee90e32f39b2183b7693d3ba6fe4c669517d
    Closes-bug: #1369962

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

Fix proposed to branch: stable/5.1
Review: https://review.openstack.org/126907

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

Reviewed: https://review.openstack.org/126907
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=8c9f42552fb37de643a500f8f99ba8e7fa4e15e3
Submitter: Jenkins
Branch: stable/5.1

commit 8c9f42552fb37de643a500f8f99ba8e7fa4e15e3
Author: Artem Panchenko <email address hidden>
Date: Tue Sep 30 13:14:09 2014 +0300

    Return empty string instead of None (systests)

    In 'execute_through_host' method return empty string if
    exception is caught. This is required to avoid type errors
    in tests which use that function. Also, increase log level
    to 'error' for message about occurred exception.

    Change-Id: I7021ee90e32f39b2183b7693d3ba6fe4c669517d
    Closes-bug: #1369962
    (cherry picked from commit 10195ef8622c6ff3366c679d6bcfe9939635f496)

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.