Ostf ironic tests failed on clean up node when actually node was deleted before
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Vasyl Saienko |
Bug Description
Steps:
1. Deploy cluster in HA mode with Ironic:
2. Add 1 controller node
3. Add 1 compute node
4. Add 1 ironic node
5. Run OSTF
Actual result :
sanity ostf test for ironic fail without message :
Failed 1 OSTF tests; should fail 0 tests. Names of failed tests:
- Check that Ironic can operate nodes (error)
This happens because we delete this node before cleanup starts, so when cleanup try to delete this node - it failed with 404 error (and it is unexpected for us), we can delete add.Cleanup() fun in node creation and this may help
2015-12-04 00:49:45 ERROR Check that Ironic can operate nodes (fuel_health.
function(*args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
return self._delete(
File "/usr/lib/
self.
File "/usr/lib/
return self._http_
File "/usr/lib/
error_
Node 463206ac-
here deletion happens (Step 4 delete node):
fuel_health.
ironicclient.
urllib3.
urllib3.
ironicclient.
HTTP/1.1 204 No Content
x-openstack-
content-length: 0
via: 1.1 apache_
server: WSGIServer/0.1 Python/2.7.6
connection: close
x-openstack-
date: Fri, 04 Dec 2015 00:49:45 GMT
x-openstack-
ironicclient.
Changed in fuel: | |
assignee: | Fuel QA Team (fuel-qa) → Kyrylo Romanenko (kromanenko) |
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
status: | Fix Released → Fix Committed |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/253481
Review: https:/