Reuse validate_instance_and_node() Nova ironic Driver
Reuse validate_instance_and_node() Nova ironic Driver

The driver already counts with a function called
validate_instance_and_node() that checks which node is associated to
a given instance and raises InstanceNotFound if the instance UUID is
not found in Ironic. The same functionality was being duplicate in many
other parts of the driver, this patch simply update those parts to use
the validate_instance_and_node() function.

Change-Id: I9a2f90c7cdd0fdfcc00d49a49581c61e4f073888

ramineni/myironic,pshchelo/ironic,Tehsmash/ironic,bacaldwell/ironic,naterh/ironic,bacaldwell/ironic,NaohiroTamura/ironic,naototty/vagrant-lxc-ironic,debayanray/ironic_backup,naototty/vagrant-lxc-ironic,openstack/ironic,dims/ironic,Tan0/ironic,rdo-management/ironic,ionutbalutoiu/ironic,openstack/ironic,froyobin/ironic,faizan-barmawer/openstack_ironic,pshchelo/ironic,SauloAislan/ironic,hpproliant/ironic,dims/ironic,redhat-openstack/ironic,supermari0/ironic,SauloAislan/ironic,NaohiroTamura/ironic,ionutbalutoiu/ironic,devananda/ironic,rackerlabs/ironic