get_all_keys gives an extra item

Bug #544992 reported by truijllo on 2010-03-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Eucalyptus
Fix Released
Undecided
Unassigned
eucalyptus (Ubuntu)
Low
Dustin Kirkland 

Bug Description

Hi

In Walrus when I call

s3.get_all_keys()

it returns me always simething like:

[...,...,...,<boto.s3.prefix.Prefix instance at 0x87089ac>]

this item is quite unuseful because containts only
['CommonPrefixes', '__doc__', '__init__', '__module__', 'bucket', 'endElement', 'name', 'startElement']
and name attribute is empty.

Each time an iteration over keys is needed it forces to discriminate this odd item.
thank you

truijllo (truijllo) wrote :

this happens also with a empty bucket

truijllo (truijllo) wrote :

I've forgotten ... eucalyptus 1.6.2 on centos 5.1

Neil Soman (neilsoman) wrote :

------------------------------------------------------------
revno: 1216
fixes bug(s): https://launchpad.net/bugs/544992
committer: Neil
branch nick: 1.6.2
timestamp: Thu 2010-03-25 18:25:44 -0700
message:
  fixes LP: #544992
------------------------------------------------------------

Changed in eucalyptus:
status: New → Fix Committed
Changed in eucalyptus (Ubuntu):
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Dustin Kirkland (kirkland)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eucalyptus - 1.6.2-0ubuntu26

---------------
eucalyptus (1.6.2-0ubuntu26) lucid; urgency=low

  * Cherry-pick merge from upstream 1.6.2, now on revision 1217
    - LP: #534877 - fix potential db connection leak when no
      default kernel/ramdisk set
    - LP: #534868 - update expiration deadline
    - LP: #534869 - correct misleading error message
    - LP: #437026 - fix auth failures due to timezone
    - LP: #535335 - fix display of failed volumes
    - LP: #537058 - fix creation of large numbers of volumes
    - LP: #538604 - remember storage stats across sc restarts
    - LP: #547059 - fix euca-describe-snapshots
    - LP: #544992 - fix get-all-keys
 -- Dustin Kirkland <email address hidden> Mon, 29 Mar 2010 12:48:13 -0500

Changed in eucalyptus (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  Edit
Everyone can see this information.

Other bug subscribers