Comment 5 for bug 1345460

Revision history for this message
Kanagaraj Manickam (kanagaraj-manickam) wrote :

Hi Gary,

I have investigated this issue and found an different solution here:

in nova.compute.api, on resize() method, by using resize_allow_on_same_host = True, following code could help to solve the issue:

       if not CONF.allow_resize_to_same_host:
            filter_properties['ignore_hosts'].append(instance['host'])
        else:
            if instance['host'] != instance['node']:
                filter_properties['force_nodes'] = [instance['node']]