[OSTF] Sahara platform test doesn't work in HA mod when primary controller node is offline

Bug #1346864 reported by Vadim Rovachev
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Yaroslav Lobankov
5.0.x
Won't Fix
Medium
Yaroslav Lobankov

Bug Description

{"build_id": "2014-07-21_00-31-14", "mirantis": "yes", "build_number": "142", "ostf_sha": "09b6bccf7d476771ac859bb3c76c9ebec9da9e1f", "nailgun_sha": "17444180b7e8c0c454488e63a05693881168f76a", "production": "docker", "api": "1.0", "fuelmain_sha": "312121d05c780e44dbf6db138847547b45bc3848", "astute_sha": "9a74b788be9a7c5682f1c52a892df36e4766ce3f", "release": "5.0.1", "fuellib_sha": "1a39cf33b217535cdbb6374da855085a8b420605"}

Strps to reproduce:
1. Install Fuel Master.
2. Deploy env with Sahara in HA mode.
3. Add sahara image and add sahara image tags.
4. Run Sahara platform tets.
5. Check to pass test.
6. Shutdown primary controller node.
7. Run Sahara platform tets.
Expected result: test is passed.
Actual result: test is failed.

ostf.log:
http://paste.openstack.org/show/87592/

to resolve:
change ssh method in line:
https://github.com/stackforge/fuel-ostf/blob/stable/5.0/fuel_health/common/savanna_ssh.py#L34
(Test is failed because ssh method tried to open ssh channel to offline node)

Revision history for this message
Vadim Rovachev (vrovachev) wrote :
Changed in fuel:
status: New → Confirmed
assignee: nobody → Yaroslav Lobankov (ylobankov)
summary: - [OSTF] Sahara platform test don't work in HA mod when primary controller
- node is offline
+ [OSTF] Sahara platform test doesn't work in HA mod when primary
+ controller node is offline
Changed in fuel:
importance: Undecided → Medium
milestone: none → 5.0.2
tags: added: ostf sahara savanna
tags: added: ha
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (stable/5.0)

Fix proposed to branch: stable/5.0
Review: https://review.openstack.org/108978

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/108987

Changed in fuel:
status: Confirmed → In Progress
Mike Scherbakov (mihgen)
no longer affects: fuel/5.1.x
Changed in fuel:
milestone: 5.0.2 → 5.1
Revision history for this message
Mike Scherbakov (mihgen) wrote :

I don't think we should backport Medium priority bug fixes to stable branch, so marked as Won't fix for 5.0.2

Changed in fuel:
milestone: 5.1 → 6.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-ostf (stable/5.0)

Change abandoned by Yaroslav Lobankov (<email address hidden>) on branch: stable/5.0
Review: https://review.openstack.org/108978
Reason: It was decided that we shouldn't add this fix to stable branch 5.0

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

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

commit b999ead0e3ccf9fb16e4a1eb7c7f3bfeb24dadee
Author: Yaroslav Lobankov <email address hidden>
Date: Wed Jul 23 16:57:48 2014 +0400

    Fix for SSH method of OSTF tests

    In SSH method of OSTF tests address of controller node is chosen
    as the first from list of controller nodes.
    It may not work when we have a few controller nodes (HA mode) and one
    of controller nodes went away. Now controller node is chosen
    from list of controller nodes online.

    Closes-Bug: #1346864

    Change-Id: I74801a352c4a96e1fa1c254fd49db19d6584b427

Changed in fuel:
status: In Progress → Fix Committed
tags: added: release-notes
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: 6.0 → 5.1
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.