[OSTF] OSTF tests failed if compute node on which it should be run is offline but there is another one compute node
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Medium
|
Unassigned | ||
4.1.x |
Fix Released
|
Medium
|
Nastya Urlapova | ||
5.0.x |
Fix Released
|
Medium
|
Nastya Urlapova |
Bug Description
Reproduced on {"build_id": "2014-05-
Traceback (most recent call last):
File "/home/
compatabili
File "/home/
func()
File "/home/
func(
File "/home/
return func(*args, **kwagrs)
File "/home/
self.
File "/home/
result = func(*args, **kwargs)
File "/home/
failed_
File "/home/
result = func(*args, **kwargs)
File "/home/
failed_
AssertionError: Failed tests, fails: 3 should fail: 0 failed tests name: [{u'Check internet connectivity from a compute': u"Time limit exceeded while waiting for 'ping' command to finish. Please refer to OpenStack logs for more details."}, {u'Check DNS resolution on compute node': u'Instance is not reachable by IP. Please refer to OpenStack logs for more details.'}, {u'Create volume and attach it to instance': u'Timed out waiting to become ACTIVE Please refer to OpenStack logs for more details.'}]
Tests failed because we destroy compute node in test and OSTF try to run tests on destroyed compute node - this node's id is 1.
It should check whether node is online and if it's offline then run test on another compute node.
Logs are attached
Changed in fuel: | |
status: | New → Confirmed |
importance: | High → Medium |
Changed in fuel: | |
status: | Confirmed → Fix Committed |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
Changed in fuel: | |
status: | Fix Released → Confirmed |
Changed in fuel: | |
status: | Confirmed → Incomplete |
Changed in fuel: | |
status: | Incomplete → Fix Released |
Changed in fuel: | |
assignee: | Registry Administrators (registry) → nobody |
There several issues:
1. We should expect 1 fail in the bug(from nova-manage output tests, according we has one 1 compute destroyes - so we will have XXX for metwork and compute service)
2. Verify compute node connectivity only from online nodes (this should be fixed in ostf)
3. Fix setting for volume backend (We set in True both cinder lvm and ceph) Iw we leave only ceph - delete conder node
If we decide leave cinder node - we should expect fail in volume test(ostf) according we destroy node with cinder