OSTF provides false positive result after failover on HA environment

Bug #1322635 reported by Tatyanka on 2014-05-23
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Critical
Tatyanka
4.1.x
Critical
Tatyanka
5.0.x
Critical
Tatyanka

Bug Description

5.0-19 iso
Shutdown primary controller, Run ostf

Expected result:
OSTF should pass

Actual Result:
ostf fail with message keystone is not available. But keyston looks fine.
And ostf fails according to can not connect to proxy that was run on force off controller

So we should fix this part and connect only for online controllers
fuel_health.nmanager: DEBUG: Unable to initialize Keystone client: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/fuel_health/nmanager.py", line 75, in __init__
    self.identity_client = self._get_identity_client()
  File "/usr/lib/python2.6/site-packages/fuel_health/nmanager.py", line 173, in _get_identity_client
    insecure=dscv)
  File "/usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py", line 144, in __init__
    self.authenticate()
  File "/usr/lib/python2.6/site-packages/keystoneclient/utils.py", line 318, in inner
    return func(*args, **kwargs)
  File "/usr/lib/python2.6/site-packages/keystoneclient/httpclient.py", line 392, in authenticate
    resp = self.get_raw_token_from_identity_service(**kwargs)
  File "/usr/lib/python2.6/site-packages/keystoneclient/v2_0/client.py", line 179, in get_raw_token_from_identity_service
    "%s" % e)
AuthorizationFailure: Authorization Failed: Cannot connect to proxy. Socket error: [Errno 113] No route to host.
--------------------- >> end captured logging << ----------

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

Changed in fuel:
status: Confirmed → In Progress
Mike Scherbakov (mihgen) on 2014-05-23
Changed in fuel:
importance: High → Critical

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

commit ee758292bd4d7236203a1ce7683f99f5c32a3314
Author: Tatyana Leontovich <email address hidden>
Date: Fri May 23 17:03:55 2014 +0000

    5.1 Fix for false-positive ostf results

    Get proxy from online controllers only
    to avoid 103 no root host error
    when we try to set connection

    Change-Id: I34bfa1f9815f3b5da0546fc01fa7db5ccc30c87f
    Closes-Bug: #1322635

Changed in fuel:
status: In Progress → Fix Committed

Reviewed: https://review.openstack.org/95168
Committed: https://git.openstack.org/cgit/stackforge/fuel-ostf/commit/?id=1f020d69acbf50be00c12c29564f65440971bafe
Submitter: Jenkins
Branch: stable/5.0

commit 1f020d69acbf50be00c12c29564f65440971bafe
Author: Tatyana Leontovich <email address hidden>
Date: Fri May 23 17:03:55 2014 +0000

    5.0 Fix for false-positive ostf results

    Get proxy from online controllers only
    to avoid 103 no root host error
    when we try to set connection

    Change-Id: I34bfa1f9815f3b5da0546fc01fa7db5ccc30c87f
    Closes-Bug: #1322635

Changed in fuel:
status: Fix Committed → Fix Released

Reviewed: https://review.openstack.org/97187
Committed: https://git.openstack.org/cgit/stackforge/fuel-ostf/commit/?id=a24e810918e07e979a78a04f2c9bc0d1bfd33524
Submitter: Jenkins
Branch: stable/4.1

commit a24e810918e07e979a78a04f2c9bc0d1bfd33524
Author: Tatyana Leontovich <email address hidden>
Date: Fri May 23 17:03:55 2014 +0000

    4.1.1 Fix for false-positive ostf results

    Get proxy from online controllers only
    to avoid 103 no root host error
    when we try to set connection

    Change-Id: I34bfa1f9815f3b5da0546fc01fa7db5ccc30c87f
    Closes-Bug: #1322635

Changed in fuel:
milestone: 5.0 → 5.1

If the expected behavior is that OSTF should pass, then the headline of the issue should possibly be:
OSTF provides false NEGATIVE result (opposed to POSITIVE)...

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers