compute get_server_ip() should have detailed server object
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Medium
|
Mark Goddard |
Bug Description
in tempest/
get_server_ip() accept server object which has 'addresses' field. But the passed server object is returned value from create(POST) API which does not have 'addresses' field.
At result, this test case failed emitting KeyError like below.
=======
Failed 1 test - output below:
=======
tempest.
-------
Traceback (most recent call last):
File "tempest/
raise exc
KeyError: 'addresses'
======
Totals
======
Ran: 1 tests in 44.858 sec.
- Success: 0
- Skipped: 0
- Expected failures: 0
- Unexpected success: 0
- Failures: 1
Furthermore, this test case also has another bug in that it was trying to validate server which was made without validation related flag (validatable,
Changed in tempest: | |
assignee: | Yang Youseok (ileixe) → Mark Goddard (mgoddard) |
Fix proposed to branch: master /review. openstack. org/639319
Review: https:/