How to specify target compute host for "nova migrate"

Asked by sasikiran

Hi ,

I was performing "non-live migration" on Openstack Folsom.

There is no option for passing target host in the command "nova migrate <server-id>"

Can anyone please help me how to pass "Target hostname" or workaround for it.

Thanks,
Sasikiran

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tiantian Gao (gtt116) said :
#1

Hi Sasikiran,

Sorry to tell you that nova migrate does not support specify target host, only nova live-migration support that.

I'm afraid the only way to work around it is modifying the source code of nova.

cheers,
gtt
在 2013-9-17,上午12:11,sasikiran <email address hidden> 写道:

> New question #235827 on OpenStack Compute (nova):
> https://answers.launchpad.net/nova/+question/235827
>
> Hi ,
>
> I was performing "non-live migration" on Openstack Folsom.
>
> There is no option for passing target host in the command "nova migrate <server-id>"
>
> Can anyone please help me how to pass "Target hostname" or workaround for it.
>
> Thanks,
> Sasikiran
>
> --
> You received this question notification because you are an answer
> contact for OpenStack Compute (nova).

Revision history for this message
sasikiran (vaddi-kiran) said :
#2

Thank you Tiantian Gao

Revision history for this message
petergrove (petergrove219) said :
#3

Unfortunately, specifying a target host with the nova migrate command is not possible in Openstack Folsom for non-live migrations. This functionality was introduced in later versions like Queens. While there's no direct workaround, alternative approaches include using nova live-migration (if shared storage is available) or manually migrating the instance through the hypervisor console. For more info visit https://geometrydashapks.net/geometry-dash-lite/.

Revision history for this message
flin (flinandy59) said :
#4

Unfortunately, the nova migrate command in OpenStack does not support specifying a target host. Only the nova live-migration command provides that option. As a workaround, you could temporarily disable the nova-compute service on all hosts except the target host to force the migration to the desired host. After the migration, you can re-enable the nova-compute service on the other hosts. For more info visit https://geometry-dashapk.net/geometry-dash-noclip-apk/

Can you help with this problem?

Provide an answer of your own, or ask sasikiran for more information if necessary.

To post a message you must log in.