<div dir="ltr"><span id="docs-internal-guid-ddf0546e-3b85-8696-153f-50a194b10609"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Hello, </span></p><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">In current design there are places when nova fails while executing users CLI commands, but no error messages, except some logs in nova-compute, produced [1] . The problem is that there is no response from compute node to conductor, as RPC cast is used. </span></p><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">To fix this nova should make a synchronous call before operation itself to verify that it is valid. E.g. here is my patch that fixes this problem in resize operation [2]</span></p><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">So, I would like to get feedback about such hypervisor checks before operations. Nova already makes these checks during live-migration process: conductor calls compute manager[3], which also consults with driver[4]. And as for me I think we should use such logic in resize operation.</span></p><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">Timofey.</span></p><br><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">[1] </span><a href="https://bugs.launchpad.net/nova/+bug/1455460" style="text-decoration:none"><span style="font-size:14.6666666666667px;font-family:Arial;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">https://bugs.launchpad.net/nova/+bug/1455460</span></a></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">[2] </span><a href="https://review.openstack.org/195088" style="text-decoration:none"><span style="font-size:14.6666666666667px;font-family:Arial;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">https://review.openstack.org/195088</span></a></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">[3] </span><a href="https://github.com/openstack/nova/blob/master/nova/conductor/tasks/live_migrate.py#L144" style="text-decoration:none"><span style="font-size:14.6666666666667px;font-family:Arial;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">https://github.com/openstack/nova/blob/master/nova/conductor/tasks/live_migrate.py#L144</span></a></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14.6666666666667px;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap;background-color:transparent">[4] </span><a href="https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L5157" style="text-decoration:none"><span style="font-size:14.6666666666667px;font-family:Arial;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap;background-color:transparent">https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L5157</span></a></p></span><div><br></div></div>