how to start an existed instance

Asked by chieu

HI

the instances whose status is "shutdown" in database cannot be start again?
my host pc has been turned off and the instances runned on it were all be marked shutdown, and there is no way to start these instances?

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
Vish Ishaya (vishvananda) said :
#1

euca-reboot-instances will start instances that are shutdown.

On Apr 5, 2011, at 12:33 AM, chieu wrote:

> New question #151717 on OpenStack Compute (nova):
> https://answers.launchpad.net/nova/+question/151717
>
> HI
>
> the instances whose status is "shutdown" in database cannot be start again?
> my host pc has been turned off and the instances runned on it were all be marked shutdown, and there is no way to start these instances?
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).

Revision history for this message
chieu (lfchieu) said :
#2

thanks Vish,
I tried euca-reboot-instances to do this,but it tell me "no such intsance", like i have terminated it;

let me describe my problems:
1. can the instance which has been terminated be reboot again?
2. when the host pc is turned off and restart again, i found the instance which is runnning before has turned to 'shutdown' status. I can't use euca-reboot-instances to start this instance, which tell me no such instance;
3. I found Amazon EC2 has the ec2-start-instances and ec2-stop-instances cli commands. Openstack have not. Are these two commands can been done in euca-reboot-instances?

thank you!

Revision history for this message
Vish Ishaya (vishvananda) said :
#3

It should only say no such instance if the instance doesn't exist in the database. Not sure what could be going on here.

Vish

On Apr 6, 2011, at 12:49 AM, chieu wrote:

> Question #151717 on OpenStack Compute (nova) changed:
> https://answers.launchpad.net/nova/+question/151717
>
> Status: Answered => Open
>
> chieu is still having a problem:
> thanks Vish,
> I tried euca-reboot-instances to do this,but it tell me "no such intsance", like i have terminated it;
>
> let me describe my problems:
> 1. can the instance which has been terminated be reboot again?
> 2. when the host pc is turned off and restart again, i found the instance which is runnning before has turned to 'shutdown' status. I can't use euca-reboot-instances to start this instance, which tell me no such instance;
> 3. I found Amazon EC2 has the ec2-start-instances and ec2-stop-instances cli commands. Openstack have not. Are these two commands can been done in euca-reboot-instances?
>
> thank you!
>
> --
> You received this question notification because you are a member of Nova
> Core, which is an answer contact for OpenStack Compute (nova).

Revision history for this message
Tim Bordemann (timbo) said :
#4

Same problem here.
I created a new instance, which was booting fine. After a 'euca-terminate-instance' the instance was flagged as 'shutdown' in the database. Euca-reboot-instance then gave me a 'InstanceNotFound: Instance i-000000bc not found'.
Is this a bug?

Can you help with this problem?

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

To post a message you must log in.