[integration tests][nova] TimeoutExpired: Timeout of 120 seconds expired waiting for instances to became to ACTIVE status
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Invalid
|
High
|
Georgy Dyuldin |
Bug Description
Test result:
https:/
Trace:
os_conn = <mos_tests.
env = <mos_tests.
network = {u'network': {u'tenant_id': u'4befc4f57ef04
ubuntu_image_id = '1eba70b8-
keypair = <Keypair: instancekey>
security_group = <SecurityGroup description=descr, id=3b28955b-
instances_cleanup = None
@pytest.
@pytest.
def test_metadata_
"""[Bug #1545043] Check that metadata reach all booted VMs
Scenario:
1. Create a Glance image based on Ubuntu image
2. Boot an instance based on previously created image
3. Check that this instance is reachable via ssh connection
4. Delete instance
5. Repeat pp 2-4 100 times
"""
flavor = os_conn.
# Determine available m1.small instances count
for hypervisor in os_conn.
for i in range(100 / instances_count):
for j in range(instances
> waiting_
E TimeoutExpired: Timeout of 120 seconds expired waiting for instances to became to ACTIVE status
mos_tests/
Changed in mos: | |
milestone: | 10.0 → 9.0 |
The time interval for instance to get ACTIVE status depend on environment and an image where an instance is booted from. For example, on an env with virtual computes the instance booted from Ubuntu image under combination of circumstances may take longer that 120 sec. Moreover, if it goes to ACTIVE status, it doesn't mean that its operating system is loaded completely and ssh-ready