ostf tests rely on controller:/root/openrc but dont validate

Bug #1250578 reported by Andrew Woodward
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Opinion
Wishlist
Andrew Woodward

Bug Description

The ostf health tests rely on controller:/root/openrc, however the file can be changed by the sysadmin and could be wrong causing ostf to fail.

1) Since the credentials are known to the DB during deployment, an test should be performed to check if the openrc file and DB settings are not the same, this should result in a WARNING (not failure) that there may be a credential problem.

2) In the case of multiple controllers, a new test should be created where all controllers openrc files should be compared, they must contain the same values or result in a failure

3) A new test should be created to validate the credentials in use and fail with a reasonable description of the problem.

Andrew Woodward (xarses)
tags: added: cold-restart-inprovments ostf
tags: added: cold-restart-improvements
removed: cold-restart-inprovments
Changed in fuel:
assignee: nobody → Anastasiia Naboikina (anaboikina)
Revision history for this message
Tatyanka (tatyana-leontovich) wrote :

Hi, Andrew
Thank you for this point, but OSTf works in other way.

The ostf health tests rely on controller:/root/openrc - OSTF does not know about this file, It uses credentials from nailgun api.

But you point a right things as a what will be happened if admin change this file and does we should provide such possibility somewhere else (we provide it before deployment)

2) In the case of multiple controllers, a new test should be created where all controllers openrc files should be compared, they must contain the same values or result in a failure - can extend our HA non destructive tests with this scenario

A new test should be created to validate the credentials in use and fail with a reasonable description of the problem. - For credentials that nailgun provide - we already do such things. As about openrc - Lets discuss this on irc with the all team to decide what is the correct behaviour

Changed in fuel:
assignee: Anastasiia Naboikina (anaboikina) → Andrew Woodward (xarses)
Mike Scherbakov (mihgen)
Changed in fuel:
milestone: none → 4.1
importance: Undecided → Wishlist
Mike Scherbakov (mihgen)
Changed in fuel:
status: New → Opinion
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.