Activity log for bug #735641

Date Who What changed Old value New value Message
2011-03-15 18:35:18 Chuck Short bug added bug
2011-03-15 19:44:01 Thierry Carrez summary Latest trunk fails. Unclear error when images directory wasn't upgraded
2011-03-15 19:44:45 Thierry Carrez description I get the following traceback: 011-03-15 14:20:55,301 AUDIT nova.api [T7XYOZ4KLXT09R-4TRHT chuck cloud] Authenticated Request For chuck:cloud) 2011-03-15 14:20:55,301 DEBUG nova.api [-] action: RunInstances from (pid=13443) __call__ /home/ubuntu/work/nova/nova/api/ec2/__init__.py:213 2011-03-15 14:20:55,301 DEBUG nova.api [-] arg: ImageId val: ami-tiny from (pid=13443) __call__ /home/ubuntu/work/nova/nova/api/ec2/__init__.py:215 2011-03-15 14:20:55,301 DEBUG nova.api [-] arg: MaxCount val: 1 from (pid=13443) __call__ /home/ubuntu/work/nova/nova/api/ec2/__init__.py:215 2011-03-15 14:20:55,301 DEBUG nova.api [-] arg: MinCount val: 1 from (pid=13443) __call__ /home/ubuntu/work/nova/nova/api/ec2/__init__.py:215 2011-03-15 14:20:55,301 DEBUG nova.api [-] arg: InstanceType val: m1.small from (pid=13443) __call__ /home/ubuntu/work/nova/nova/api/ec2/__init__.py:215 2011-03-15 14:20:55,307 ERROR nova.api [T7XYOZ4KLXT09R-4TRHT chuck cloud] Unexpected error raised: invalid literal for int() with base 16: 'ari-tty' (nova.api): TRACE: Traceback (most recent call last): (nova.api): TRACE: File "/home/ubuntu/work/nova/nova/api/ec2/__init__.py", line 318, in __call__ (nova.api): TRACE: result = api_request.invoke(context) (nova.api): TRACE: File "/home/ubuntu/work/nova/nova/api/ec2/apirequest.py", line 150, in invoke (nova.api): TRACE: result = method(context, **args) (nova.api): TRACE: File "/home/ubuntu/work/nova/nova/api/ec2/cloud.py", line 799, in run_instances (nova.api): TRACE: image_id=self._get_image(context, kwargs['image_id'])['id'], (nova.api): TRACE: File "/home/ubuntu/work/nova/nova/api/ec2/cloud.py", line 868, in _get_image (nova.api): TRACE: return self.image_service.show_by_name(context, ec2_id) (nova.api): TRACE: File "/home/ubuntu/work/nova/nova/image/s3.py", line 102, in show_by_name (nova.api): TRACE: image = self.service.show_by_name(context, name) (nova.api): TRACE: File "/home/ubuntu/work/nova/nova/image/local.py", line 77, in show_by_name (nova.api): TRACE: images = self.detail(context) (nova.api): TRACE: File "/home/ubuntu/work/nova/nova/image/local.py", line 58, in detail (nova.api): TRACE: for image_id in self._ids(): (nova.api): TRACE: File "/home/ubuntu/work/nova/nova/image/local.py", line 50, in _ids (nova.api): TRACE: return [int(i, 16) for i in os.listdir(self._path)] (nova.api): TRACE: ValueError: invalid literal for int() with base 16: 'ari-tty' (nova.api): TRACE: When you haven't upgraded your images directory (storing images by hash instead of by the traditional ami-* name), you get the following unclear error: 011-03-15 14:20:55,301 AUDIT nova.api [T7XYOZ4KLXT09R-4TRHT chuck cloud] Authenticated Request For chuck:cloud) 2011-03-15 14:20:55,301 DEBUG nova.api [-] action: RunInstances from (pid=13443) __call__ /home/ubuntu/work/nova/nova/api/ec2/__init__.py:213 2011-03-15 14:20:55,301 DEBUG nova.api [-] arg: ImageId val: ami-tiny from (pid=13443) __call__ /home/ubuntu/work/nova/nova/api/ec2/__init__.py:215 2011-03-15 14:20:55,301 DEBUG nova.api [-] arg: MaxCount val: 1 from (pid=13443) __call__ /home/ubuntu/work/nova/nova/api/ec2/__init__.py:215 2011-03-15 14:20:55,301 DEBUG nova.api [-] arg: MinCount val: 1 from (pid=13443) __call__ /home/ubuntu/work/nova/nova/api/ec2/__init__.py:215 2011-03-15 14:20:55,301 DEBUG nova.api [-] arg: InstanceType val: m1.small from (pid=13443) __call__ /home/ubuntu/work/nova/nova/api/ec2/__init__.py:215 2011-03-15 14:20:55,307 ERROR nova.api [T7XYOZ4KLXT09R-4TRHT chuck cloud] Unexpected error raised: invalid literal for int() with base 16: 'ari-tty' (nova.api): TRACE: Traceback (most recent call last): (nova.api): TRACE: File "/home/ubuntu/work/nova/nova/api/ec2/__init__.py", line 318, in __call__ (nova.api): TRACE: result = api_request.invoke(context) (nova.api): TRACE: File "/home/ubuntu/work/nova/nova/api/ec2/apirequest.py", line 150, in invoke (nova.api): TRACE: result = method(context, **args) (nova.api): TRACE: File "/home/ubuntu/work/nova/nova/api/ec2/cloud.py", line 799, in run_instances (nova.api): TRACE: image_id=self._get_image(context, kwargs['image_id'])['id'], (nova.api): TRACE: File "/home/ubuntu/work/nova/nova/api/ec2/cloud.py", line 868, in _get_image (nova.api): TRACE: return self.image_service.show_by_name(context, ec2_id) (nova.api): TRACE: File "/home/ubuntu/work/nova/nova/image/s3.py", line 102, in show_by_name (nova.api): TRACE: image = self.service.show_by_name(context, name) (nova.api): TRACE: File "/home/ubuntu/work/nova/nova/image/local.py", line 77, in show_by_name (nova.api): TRACE: images = self.detail(context) (nova.api): TRACE: File "/home/ubuntu/work/nova/nova/image/local.py", line 58, in detail (nova.api): TRACE: for image_id in self._ids(): (nova.api): TRACE: File "/home/ubuntu/work/nova/nova/image/local.py", line 50, in _ids (nova.api): TRACE: return [int(i, 16) for i in os.listdir(self._path)] (nova.api): TRACE: ValueError: invalid literal for int() with base 16: 'ari-tty' (nova.api): TRACE:
2011-03-15 19:44:57 Thierry Carrez nova: importance Undecided Low
2011-03-15 19:44:57 Thierry Carrez nova: status New Confirmed
2011-03-15 19:57:03 Ken Pepple nova: assignee Ken Pepple (ken-pepple)
2011-03-15 23:14:48 Ken Pepple branch linked lp:~ken-pepple/nova/lp735641
2011-03-17 10:42:06 Thierry Carrez nova: status Confirmed In Progress
2011-03-21 20:32:01 OpenStack Infra nova: status In Progress Fix Committed
2011-04-15 08:38:16 Thierry Carrez nova: status Fix Committed Fix Released
2011-04-15 08:38:16 Thierry Carrez nova: milestone 2011.2