Fix test test_rescue_unrescue_instance

Bug #1657371 reported by Nolwenn Cauchois
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Nolwenn Cauchois

Bug Description

The bug only occurs when parameter enable_instance_password = False.
In mitaka release if enable_instance_password is set to False, rescue instance action is not returning a password. However, in tempest test tempest.api.compute.servers.test_server_rescue.ServerRescueTestJSON.test_rescue_unrescue_instance the password is a required field and the tempest test fails.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

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

Changed in tempest:
assignee: nobody → Nolwenn Cauchois (nolwenn)
status: New → In Progress
Revision history for this message
Ghanshyam Mann (ghanshyammann) wrote :

nice catch, thanks.

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

Reviewed: https://review.openstack.org/421751
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=1eef2609fa1145e23ac787a19c2087aff3693412
Submitter: Jenkins
Branch: master

commit 1eef2609fa1145e23ac787a19c2087aff3693412
Author: Nolwenn Cauchois <email address hidden>
Date: Wed Jan 18 10:04:24 2017 +0100

    Fix test test_rescue_unrescue_instance

    When in tempest enable_instance_password is set
    to False, schema validation should not expect
    adminPass in response.

    Change-Id: I3e5cd3b014234ade9175aa153fd97776f67e1139
    Closes-Bug: #1657371

Changed in tempest:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tempest (master)

Change abandoned by Ghanshyam Mann (<email address hidden>) on branch: master
Review: https://review.opendev.org/427256
Reason: Feel free to restore it if needed.

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.