start/stop instance in EC2 API shouldn't return active/stopped status immediately
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Alex Xu |
Bug Description
Always see this error in the gate:
014-09-21 05:18:23.709 ERROR oslo.messaging.
Checking the EC2 API test in tempest,
def test_run_
# EC2 run, stop and terminate instance
image_ami = self.ec2_
reservation = image_ami.
rcuk = self.addResourc
for instance in reservation.
if instance.state != "running":
for instance in reservation.
if instance.state != "stopped":
The test is wait for instance become to stopped. But check the ec2 api code
https:/
it always return stopped status immediately. Actually start/stop action is async call.
tags: | added: api |
summary: |
- start/stop instance in EC2 API shouldn't return active/stopped status + astart/stop instance in EC2 API shouldn't return active/stopped status immediately |
Changed in nova: | |
assignee: | nobody → Alex Xu (xuhj) |
summary: |
- astart/stop instance in EC2 API shouldn't return active/stopped status + start/stop instance in EC2 API shouldn't return active/stopped status immediately |
Changed in nova: | |
importance: | Undecided → Low |
Changed in nova: | |
milestone: | none → juno-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-rc1 → 2014.2 |
Fix proposed to branch: master /review. openstack. org/123635
Review: https:/