Resizing Instances on NFS Shared Storage
I'm running Havana multi node deployment: 1 Controller and 3 Compute Nodes. NFS is the back-end shared storage where /var/lib/nova/instances are exported to the compute nodes. Spawning instances and live migrating (using CLI) works great. However; when I do a resize of an instance either from the Dashboard or from CLI it returns an error with the following exit code:
stdr: error while executing command ssh <*ip address> to <remote server>.... Invalid Host Key
Not sure why the resize command is trying to create another folder to another compute node where the storage is already shared. The source and destination directory are hosted on the same storage. I've configured the following:
allow_resize_to_same_host=true
allow_migrate_to_same_host=true
restarted the compute services on the compute nodes and the same error occurs.
You can solve the host key issue by creating a key for the nova user and propagating it to all your compute nodes. Basically passwordless ssh needs to work, however, that won't solve the issue of why it's trying to copy at all when it's shared storage. That's where I'm at, did you ever solve it?