ImagesTestJSON.test_delete_saving_image can wait for image status SAVING when the snapshot is already ACTIVE
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Test failed here:
It times out waiting for the snapshot image status to be SAVING so it can delete the image while nova is uploading the image, however, by the time it checks for the image status, the image is already ACTIVE. Nova is using live snapshot in this scenario so the image snapshot and upload is actually pretty fast, but there is also a weird 3 second gap between the time Tempest issues the createImage action to the server and when it checks the image status.
Tempest logs:
a) create image
b'2017-12-11 20:31:45,434 29413 INFO [tempest.
b) start checking image status (already active)
b'2017-12-11 20:31:48,083 29413 INFO [tempest.
nova-compute logs:
Dec 11 20:31:45.692437 ubuntu-
Dec 11 20:31:46.481816 ubuntu-
Dec 11 20:31:47.291345 ubuntu-
--
As we can see, the image upload is already complete by the time Tempest starts checking the image status.
Changed in tempest: | |
status: | New → Confirmed |
Changed in tempest: | |
assignee: | nobody → Takashi NATSUME (natsume-takashi) |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
status: | Triaged → Confirmed |
tags: | added: low-hanging-fruit |
Changed in tempest: | |
assignee: | Takashi NATSUME (natsume-takashi) → nobody |
http:// logstash. openstack. org/#dashboard/ file/logstash. json?query= message% 3A%5C%22ImagesT estJSON% 3Atest_ delete_ saving_ image)% 20Image% 5C%22%20AND% 20message% 3A%5C%22failed% 20to%20reach% 20SAVING% 20state% 20(current% 20state% 20ACTIVE) %5C%22% 20AND%20tags% 3A%5C%22console %5C%22& from=7d