yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #36736
[Bug 836973] Re: nova should keep instance data after termination
** Also affects: ec2-api
Importance: Undecided
Status: New
** Changed in: ec2-api
Status: New => Confirmed
** Changed in: ec2-api
Importance: Undecided => Wishlist
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/836973
Title:
nova should keep instance data after termination
Status in ec2-api:
Confirmed
Status in OpenStack Compute (nova):
Opinion
Bug description:
On EC2, instances are available in DescribeInstances output afer they're terminated.
In nova, at the moment, they disappear immediately. This makes getting "shutdown" console output just about impossible.
Relevant link to amazon ec2 documentation:
http://docs.amazonwebservices.com/AWSEC2/latest/DeveloperGuide/index.html?instance-console.html
"Only the most recent 64 KB of posted output is stored, which is available for at least 1 hour after the last posting."
$ euca-run-instances --key mykey ami-00000056
RESERVATION r-227nsegw smoser_project default
INSTANCE i-00000200 ami-00000056 scheduling mykey 0 m1.small 2011-08-29T20:11:09Z unknown zone aki-00000052 ari-00000053
$ euca-get-console-output i-00000201 | tail -n 5
ec2: 1024 83:c3:7a:9b:42:fc:0d:c5:48:96:bd:46:62:25:bf:34 /etc/ssh/ssh_host_dsa_key.pub (DSA)
ec2: -----END SSH HOST KEY FINGERPRINTS-----
ec2: #############################################################
landscape-client is not configured, please run landscape-config.
$ euca-terminate-instances i-00000201
#no output
# wait 10 seconds or so
$ euca-describe-instances i-00000201
#no output
$ echo $?
0
$ euca-get-console-output i-00000201
InstanceNotFound: Instance %(instance_id)s could not be found.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ec2-api/+bug/836973/+subscriptions