[Bug 1578622] Re: [SRU] glance do not require hypervisor_mapping
** Changed in: simplestreams (Ubuntu Bionic) Status: In Progress => Fix Released ** Changed in: simplestreams (Ubuntu Bionic) Assignee: Rafael David Tinoco (rafaeldtinoco) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578622 Title: [SRU] glance do not require hypervisor_mapping To manage notifications about this bug go to: https://bugs.launchpad.net/simplestreams/+bug/1578622/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578622] Re: [SRU] glance do not require hypervisor_mapping
TL;DR version: We are going to fix Bionic simplestreams package and provide this Bionic simplestreams package in Ubuntu Cloud Archive for Xenial. With that, we are fixing Xenial simplestreams behavior (to work with keystone v3) only if end-user enables Ubuntu Cloud Archive. Conversation about this topic: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/simplestreams/+git/simplestreams/+merge/373030/comments/980111 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578622 Title: [SRU] glance do not require hypervisor_mapping To manage notifications about this bug go to: https://bugs.launchpad.net/simplestreams/+bug/1578622/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578622] Re: [SRU] glance do not require hypervisor_mapping
** Changed in: simplestreams (Ubuntu Xenial) Status: In Progress => Won't Fix ** Also affects: simplestreams (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: simplestreams (Ubuntu Bionic) Status: New => Triaged ** Changed in: simplestreams (Ubuntu Bionic) Status: Triaged => In Progress ** Changed in: simplestreams (Ubuntu Xenial) Assignee: Rafael David Tinoco (rafaeldtinoco) => (unassigned) ** Changed in: simplestreams (Ubuntu Bionic) Assignee: (unassigned) => Rafael David Tinoco (rafaeldtinoco) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578622 Title: [SRU] glance do not require hypervisor_mapping To manage notifications about this bug go to: https://bugs.launchpad.net/simplestreams/+bug/1578622/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578622] Re: [SRU] glance do not require hypervisor_mapping
** Merge proposal linked: https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/simplestreams/+git/simplestreams/+merge/373030 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578622 Title: [SRU] glance do not require hypervisor_mapping To manage notifications about this bug go to: https://bugs.launchpad.net/simplestreams/+bug/1578622/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578622] Re: [SRU] glance do not require hypervisor_mapping
For Xenial SRU, please read summary at: https://bugs.launchpad.net/ubuntu/+source/simplestreams/+bug/1686437/comments/19 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578622 Title: [SRU] glance do not require hypervisor_mapping To manage notifications about this bug go to: https://bugs.launchpad.net/simplestreams/+bug/1578622/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578622] Re: [SRU] glance do not require hypervisor_mapping
** Changed in: simplestreams (Ubuntu Xenial) Status: Confirmed => In Progress ** Changed in: simplestreams (Ubuntu Xenial) Assignee: (unassigned) => Rafael David Tinoco (rafaeldtinoco) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578622 Title: [SRU] glance do not require hypervisor_mapping To manage notifications about this bug go to: https://bugs.launchpad.net/simplestreams/+bug/1578622/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1578622] Re: [SRU] glance do not require hypervisor_mapping
** Description changed: [Impact] currently the glance mirror requires hypervisor_mapping config in the api. Better to not required that as a library consumer would not necessarily provide it. [Test Case] - * deploy a openstack environment with keystone v3 enabled - - get a copy of the bundle available at http://paste.ubuntu.com/p/6VktZ4N34k/ , this bundle deploys a minimal version of xenial-mitaka. + * deploy a openstack environment with keystone v2 enabled + - get a copy of the bundle available at http://paste.ubuntu.com/p/qxwSDtDZ52/ , this bundle deploys a minimal version of xenial-mitaka. Expected Result: - "glance image-list" lists trusty and xenial images - the file glance-simplestreams-sync/0:/var/log/glance-simplestreams-sync.log contains details of the images pulled from cloud-images.u.c (example: https://pastebin.ubuntu.com/p/RWG8QrkVDz/ ) Actual result: - "glance image-list" is empty - glance-simplestreams-sync/0 is in blocked state and message "Image sync failed, retrying soon." + + In /var/log/glance-simplestreams-sync.log: + ERROR * 02-14 15:46:07 [PID:1898] * root * Exception during syncing: + Traceback (most recent call last): + File "/usr/share/glance-simplestreams-sync/glance-simplestreams-sync.py", line 462, in main + do_sync(charm_conf, status_exchange) + File "/usr/share/glance-simplestreams-sync/glance-simplestreams-sync.py", line 273, in do_sync + tmirror.sync(smirror, path=initial_path) + File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 91, in sync + return self.sync_index(reader, path, data, content) + File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 254, in sync_index + self.sync(reader, path=epath) + File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 89, in sync + return self.sync_products(reader, path, data, content) + File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/__init__.py", line 341, in sync_products + self.insert_item(item, src, target, pgree, ipath_cs) + File "/usr/lib/python2.7/dist-packages/simplestreams/mirrors/glance.py", line 242, in insert_item + if self.config['hypervisor_mapping'] and 'ftype' in flat: + KeyError: 'hypervisor_mapping' + [Regression Potential] * This patch makes an argument optional only, there is no expected regressions in users of this library. [Other Info] The bundle used in the test case uses a modified version of the glance- simplestreams-sync charm that removes the hypervisor_mapping parameter when using simplestreams library. https://pastebin.ubuntu.com/p/Ny7jFnGfnY/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1578622 Title: [SRU] glance do not require hypervisor_mapping To manage notifications about this bug go to: https://bugs.launchpad.net/simplestreams/+bug/1578622/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs