euca-delete-bundle does not correctly parse dir path in some cases

Bug #497495 reported by Neil Soman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
Fix Released
Low
Unassigned
euca2ools (Ubuntu)
Fix Released
Medium
Dustin Kirkland 

Bug Description

http://forum.eucalyptus.com/forum/viewtopic.php?f=5&t=1444

$ euca-delete-bundle -b ramdisks -m ./initrd.img-2.6.32.manifest.xml
works without errors

$ euca-delete-bundle -b ramdisks -m initrd.img-2.6.32.manifest.xml
Traceback (most recent call last):
File "/home/val/bin/euca-delete-bundle", line 242, in <module>
main()
File "/home/val/bin/euca-delete-bundle", line 230, in main
return_code = download_manifests(bucket_instance, manifests, directory)
File "/home/val/bin/euca-delete-bundle", line 118, in download_manifests
os.makedirs(directory)
File "/usr/lib/python2.5/os.py", line 171, in makedirs
mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ''

Revision history for this message
Neil Soman (neilsoman) wrote :

------------------------------------------------------------
revno: 238
committer: Neil
branch nick: euca2ools-1.0
timestamp: Wed 2009-12-16 10:15:10 -0800
message:
  fixes LP: #497495
------------------------------------------------------------

Changed in eucalyptus:
status: New → Fix Committed
importance: Undecided → Low
Thierry Carrez (ttx)
Changed in euca2ools (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Fixed upstream, merging...

Changed in euca2ools (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Dustin Kirkland (kirkland)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package euca2ools - 1.1~bzr238-0ubuntu1

---------------
euca2ools (1.1~bzr238-0ubuntu1) lucid; urgency=low

  * Merge from upstream bzr revision; should fix:
    - LP: #497495 - parse dir path correctly in euca-delete-bundle
    - LP: #439366 - show kernel and ramdisk in euca-describe-images
    - LP: #495618 - show blk dev mappings in euca-describe-image-attribute
    - LP: #485106 - read credentials from config file
    - LP: #450044 - create tmpfs mounts in euca-bundle-vol
    - LP: #479823 - correctly handle userid in euca-bundle-vol
    - LP: #461301 - fix user data encoding
  * Also, created Ubuntu packaging branch, with a common root to the upstream
    project
 -- Dustin Kirkland <email address hidden> Tue, 05 Jan 2010 23:13:36 -0600

Changed in euca2ools (Ubuntu):
status: In Progress → Fix Released
Changed in eucalyptus:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.