← Back to team overview

openstack team mailing list archive

Fwd: Migrate use nova

 

sorry, I googled and find that error was because I am normal user

now my only question is that it have to option to let me specify which host
to migrate to, which host well be migrate to ?

---------- Forwarded message ----------
From: William Herry <william.herry.china@xxxxxxxxx>
Date: Wed, May 30, 2012 at 10:00 AM
Subject: [Openstack] Migrate use nova
To: openstack@xxxxxxxxxxxxxxxxxxx



I am trying to do openstack migrate and get stuck
My coworker told me that I can use nova-manage to migrate, but I can't find
any migrate options within nova-manage, it must be removed in Essex
there is migrate option with nova command, but it has very little options
and help info, I am confuse with that

usage: nova migrate [--poll] <server>
Migrate a server.
Positional arguments:
  <server>  Name or ID of server.
Optional arguments:
  --poll    Blocks while instance migrates so progress can be reported.

there is not option to specify which host I want migrate an instance to

I run 'nova migrate --poll name-of-instance', this error shows:
ERROR: Policy doesn't allow compute_extension:admin_actions:migrate to be
performed. (HTTP 403) (Request-ID: req-17fafbff-5264-4ba5-a5bd-141520601f78

I have not setup share storage so live migrate not work (and I am not
looking for live migrate)

can some one share any experience about migrate?

Thanks


-- 



William Herry
====================
WilliamHerryChina@xxxxxxxxx




-- 



William Herry
====================
WilliamHerryChina@xxxxxxxxx

References