Still had an error regarding "hypervisor_mapping" being used by 
python-simplestreams (lp#1578622) at 
/usr/lib/python2.7/dist-packages/simplestreams/mirrors/glance.py (line 242) but 
not initialized by 
/usr/share/glance-simplestreams-sync/glance-simplestreams-sync.py (line 184):
"""
        config = {'max_items': mirror_info['max'],
                  'modify_hook': charm_conf['modify_hook_scripts'],
                  'keep_items': False,
                  'content_id': content_id,
                  'cloud_name': charm_conf['cloud_name'],
                  'item_filters': mirror_info['item_filters'],
                  'hypervisor_mapping': False}
"""

By adding 'hypervisor_mapping', I was able to sync images from upstream
into glance.

** Also affects: simplestreams (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1614654

Title:
  glance-simplestreams-sync fails to get deployed in Xenial (no
  "python2.7")

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/simplestreams/+bug/1614654/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to