[OSTF] Test TestImageAction.test_snapshot fails without error message

Bug #1371051 reported by Tatyanka
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Tatyanka

Bug Description

{"build_id": "2014-09-17_04-49-39", "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346", "build_number": "9", "auth_required": true, "api": "1.0", "nailgun_sha": "51231834c61920a5dea8ce402ad027b2505d632d", "production": "docker", "fuelmain_sha": "8ef433e939425eabd1034c0b70e90bdf888b69fd", "astute_sha": "f5fbd89d1e0e1f22ef9ab2af26da5ffbfbf24b13", "feature_groups": ["mirantis"], "release": "5.1", "release_versions": {"2014.1.1-5.1": {"VERSION": {"build_id": "2014-09-17_04-49-39", "ostf_sha": "64cb59c681658a7a55cc2c09d079072a41beb346", "build_number": "9", "api": "1.0", "nailgun_sha": "51231834c61920a5dea8ce402ad027b2505d632d", "production": "docker", "fuelmain_sha": "8ef433e939425eabd1034c0b70e90bdf888b69fd", "astute_sha": "f5fbd89d1e0e1f22ef9ab2af26da5ffbfbf24b13", "feature_groups": ["mirantis"], "release": "5.1", "fuellib_sha": "d9b16846e54f76c8ebe7764d2b5b8231d6b25079"}}}, "fuellib_sha": "d9b16846e54f76c8ebe7764d2b5b8231d6b25079"}

Steps to Reproduce:
1. Deploy Ha environemnt os Centos with Nova vlan:
2 controlelrs + 1 controller with cinder
1 compute + 1 compute with cinder

2. As soons as deployment is ready - run ostf
3. Down management interface on primary controller
4. Run ostf

Expected Result:
some ostf tests may failed, but it should fail with descriptive message

Actual result:
Test for snapshot fails wihtout message
http://paste.openstack.org/show/112794/

So we need to add propper client exception handler and notifu users whants happenes with descriptive message

Tags: ostf
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
Changed in fuel:
status: New → Confirmed
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 6.0 → 6.1
Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

fail here, when recieve 50x exception from client like
http://paste.openstack.org/show/155608/

Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Tatyanka (tatyana-leontovich)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (master)

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

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

Reviewed: https://review.openstack.org/168441
Committed: https://git.openstack.org/cgit/stackforge/fuel-ostf/commit/?id=dcd10838f9d7f1bdcb1b63d084c49d84f2beb4c5
Submitter: Jenkins
Branch: master

commit dcd10838f9d7f1bdcb1b63d084c49d84f2beb4c5
Author: Tatyana Leontovich <email address hidden>
Date: Fri Mar 27 20:29:46 2015 +0200

    Catch client exception from nova in check_image

    Ostf tests for check snapshots failed without
    message if client excaption was happened
    Catch exception and raise self.fail with descriptive message

    Change-Id: I2845113577c8d057a3eaca5ce3bb18ee628a06a1
    Closes-Bug: #1371051

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

verified 329

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.