OSTF provides false positive result after failover on HA environment

Bug #1322635 reported by Tatyanka
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Tatyanka
4.1.x
Fix Released
Critical
Tatyanka
5.0.x
Fix Released
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 << ----------

Tags: ostf
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/95167

Changed in fuel:
status: Confirmed → In Progress
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/95168

Mike Scherbakov (mihgen)
Changed in fuel:
importance: High → Critical
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-ostf (stable/5.0)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-ostf (stable/4.1)

Fix proposed to branch: stable/4.1
Review: https://review.openstack.org/97187

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

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
Revision history for this message
Yuri Shovkoplias (yuri-shovkoplias) wrote :

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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.