glance mirror stack traces

Bug #1243433 reported by Scott Moser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
simplestreams
Fix Released
Medium
Unassigned
simplestreams (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

running glance mirror as shown in http://bazaar.launchpad.net/~smoser/simplestreams/example-sync/view/head:/cstack-mirror
results in

Traceback (most recent call last):
  File "/home/ubuntu/server-stack/admin/images/simplestreams/tools/sstream-mirror-glance", line 130, in <module>
    main()
  File "/home/ubuntu/server-stack/admin/images/simplestreams/tools/sstream-mirror-glance", line 126, in main
    tmirror.sync(smirror, args.path)
  File "/home/ubuntu/server-stack/admin/images/simplestreams/simplestreams/mirrors/__init__.py", line 85, in sync
    return self.sync_index(reader, path, data, content)
  File "/home/ubuntu/server-stack/admin/images/simplestreams/simplestreams/mirrors/__init__.py", line 237, in sync_index
    self.sync(reader, path=epath)
  File "/home/ubuntu/server-stack/admin/images/simplestreams/simplestreams/mirrors/__init__.py", line 83, in sync
    return self.sync_products(reader, path, data, content)
  File "/home/ubuntu/server-stack/admin/images/simplestreams/simplestreams/mirrors/__init__.py", line 252, in sync_products
    target = self.load_products(path, content_id)
  File "/home/ubuntu/server-stack/admin/images/simplestreams/simplestreams/mirrors/glance.py", line 84, in load_products
    store_t = util.load_content(self.store.reader(path).read())
AttributeError: 'SwiftObjectStore' object has no attribute 'reader'
failed gmirror for ubuntu-released

Revision history for this message
Scott Moser (smoser) wrote :

fixed in revno 321.

Changed in simplestreams:
status: New → Fix Committed
importance: Undecided → Medium
Changed in simplestreams (Ubuntu):
status: New → Fix Committed
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package simplestreams - 0.1.0~bzr323-0ubuntu1

---------------
simplestreams (0.1.0~bzr323-0ubuntu1) trusty; urgency=low

  * New upstream snapshot.
    * fix bug with sstream-sync (LP: #1241711)
    * fix bug in glance mirror (LP: #1243433)
    * fix odd behavior bug when filtering. The result was that if you
      had ever run with a filter, subsequent runs with modified filter
      would not see different results (LP: #1238227).
 -- Scott Moser <email address hidden> Tue, 22 Oct 2013 19:35:38 -0400

Changed in simplestreams (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Scott Moser (smoser) wrote : Fixed in simplestreams version 0.1.0.

This bug is believed to be fixed in simplestreams in version 0.1.0. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in simplestreams:
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.