yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02116
[Bug 1145490] Re: ec2 id mapping can be incorrect during attach volume
** Changed in: nova/folsom
Status: Fix Committed => Fix Released
--
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/1145490
Title:
ec2 id mapping can be incorrect during attach volume
Status in OpenStack Compute (Nova):
Invalid
Status in OpenStack Compute (nova) folsom series:
Fix Released
Bug description:
Leads to a 404 when trying to attach to an instance:
2013-03-04 15:09:58 DEBUG nova.api.ec2 req-05eacb09-2823-4e1a-8795-5a07078957ac f323106c06e3464bb24f3b9a24adc993 1c1abd0ba1fa4aec932386731b974fb0 action: AttachVolume _call_ /usr/lib/python2.7/dist-packages/nova/api/ec2/_init_.py:328
2013-03-04 15:09:58 DEBUG nova.api.ec2 req-05eacb09-2823-4e1a-8795-5a07078957ac f323106c06e3464bb24f3b9a24adc993 1c1abd0ba1fa4aec932386731b974fb0 arg: InstanceId val: i-00001534 _call_ /usr/lib/python2.7/dist-packages/nova/api/ec2/_init_.py:330
2013-03-04 15:09:58 DEBUG nova.api.ec2 req-05eacb09-2823-4e1a-8795-5a07078957ac f323106c06e3464bb24f3b9a24adc993 1c1abd0ba1fa4aec932386731b974fb0 arg: VolumeId val: vol-000000d0 _call_ /usr/lib/python2.7/dist-packages/nova/api/ec2/_init_.py:330
2013-03-04 15:09:58 DEBUG nova.api.ec2 req-05eacb09-2823-4e1a-8795-5a07078957ac f323106c06e3464bb24f3b9a24adc993 1c1abd0ba1fa4aec932386731b974fb0 arg: Device val: /dev/vdc _call_ /usr/lib/python2.7/dist-packages/nova/api/ec2/_init_.py:330
2013-03-04 15:09:58 INFO nova.api.ec2 req-05eacb09-2823-4e1a-8795-5a07078957ac f323106c06e3464bb24f3b9a24adc993 1c1abd0ba1fa4aec932386731b974fb0 InstanceNotFound raised: Instance 5428 could not be found.
2013-03-04 15:09:58 ERROR nova.api.ec2 req-05eacb09-2823-4e1a-8795-5a07078957ac f323106c06e3464bb24f3b9a24adc993 1c1abd0ba1fa4aec932386731b974fb0 InstanceNotFound: Instance i-00001534 could not be found.
This is due to some code paths using the instance id from the
instances table instead of the mapping table.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1145490/+subscriptions
References