ironic/ironic/drivers/modules/oneview
Xavier e102ce02d0 Validation before perform node deallocation
Introduces a new validation to ensure the node deallocation
process will only be performed to nodes that have Server
Profile applied in OneView. When the allocation process
fails, the machine will have no Server Profile applied in
OneView and in ironic it will have no reference to any
Server Profile. Under these conditions if the deallocation
process be performed the driver will try to delete a
nonexistent Server Profile in OneView, leaving the node
in error state in ironic.

Change-Id: I83cef7fafac4e22ebf5eb4fe83f6da26ec132c99
Closes-Bug: #1657892
(cherry picked from commit 0b23a041f1)
2017-04-24 14:18:47 +00:00
..
__init__.py OneView Driver for Ironic 2015-10-09 15:14:32 -03:00
common.py Adds another validation step when using dynamic allocation 2016-12-13 22:37:15 -03:00
deploy.py Fix return values in OneView deploy interface 2016-12-13 21:56:13 -03:00
deploy_utils.py Validation before perform node deallocation 2017-04-24 14:18:47 +00:00
inspect.py Reusing oneview_client when possible 2016-12-13 21:27:27 -03:00
management.py Onetime boot when set_boot_device isn't persistent 2016-12-15 10:40:22 -03:00
power.py Validation before perform node deallocation 2017-04-24 14:18:47 +00:00