KeyError: 'addresses' appeared in test_attach_scsi_disk_with_config_drive
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Fix Released
|
Medium
|
Ilya Popov |
Bug Description
Validation method was changed in tempest/
For example stack trace for tempest.
test_attach_
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/root/
server = self.create_
File "/root/
body, servers = compute.
File "/root/
LOG.
File "/root/
self.
File "/root/
raise self.value
File "/root/
wait_
File "/root/
server_ip = get_server_ip(
File "/root/
addresses = server[
KeyError: 'addresses'
It happens because we dont have IP addresses in server create response body. It will appear after server change state to ACTIVE.
So it is needed to get server info after it will changed its state to ACTIVE
The similar issue was fixed here:
https:/
Changed in tempest: | |
assignee: | nobody → Ilya Popov (ilya-p) |
Fix proposed to branch: master /review. opendev. org/c/openstack /tempest/ +/841719
Review: https:/