After fetching the latest version of Ironic, tear down of instance fail with the following error:
nic/common/states.py:183
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 457, in fire_timers
timer()
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 58, in __call__
cb(*args, **kw)
File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 214, in main
result = function(*args, **kwargs)
File "/opt/stack/ironic/ironic/conductor/manager.py", line 777, in _do_node_tear_down
task.process_event('error')
File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 82, in __exit__
six.reraise(self.type_, self.value, self.tb)
File "/opt/stack/ironic/ironic/conductor/manager.py", line 769, in _do_node_tear_down
task.driver.deploy.clean_up(task)
File "/opt/stack/ironic/ironic/drivers/modules/pxe.py", line 472, in clean_up
pxe_info = _get_image_info(node, task.context)
File "/opt/stack/ironic/ironic/drivers/modules/pxe.py", line 270, in _get_image_info
if node.driver_internal_info['is_whole_disk_image']:
KeyError: 'is_whole_disk_image'
Steps to reproduce:
1. Take Ironic code before https:/ /review. openstack. org/#/c/ 150142/ /review. openstack. org/#/c/ 150142/
2. Provision an instance
3. Update Ironic code to on or after https:/
4. Try tear down
It fails with the above error.