Merge lp:~james-page/simplestreams/multihypervisor into lp:~smoser/simplestreams/trunk
| Status: | Merged |
|---|---|
| Merged at revision: | 423 |
| Proposed branch: | lp:~james-page/simplestreams/multihypervisor |
| Merge into: | lp:~smoser/simplestreams/trunk |
| Diff against target: |
102 lines (+51/-2) 2 files modified
simplestreams/mirrors/glance.py (+44/-1) tools/sstream-mirror-glance (+7/-1) |
| To merge this branch: | bzr merge lp:~james-page/simplestreams/multihypervisor |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| James Page (community) | Resubmit on 2015-12-14 | ||
| Scott Moser | 2015-11-20 | Pending | |
|
Review via email:
|
|||
Description of the Change
Enable better support for multi-hypervisor regions in OpenStack
1) Determine correct disk format.
2) Set hypervisor_type on images based on ftype field.
- 417. By James Page on 2015-11-20
-
Fixup syntax
- 418. By James Page on 2015-11-20
-
Fixup lint
- 419. By James Page on 2015-11-20
-
Fixup disk_format handling
- 420. By James Page on 2015-11-20
-
Set sane default
- 421. By James Page on 2015-11-20
-
Tidy
- 422. By James Page on 2015-11-20
-
Use constants for disk format mappings
| Scott Moser (smoser) wrote : | # |
- 423. By James Page on 2015-12-14
-
Add configuration option to enable hypervisor mapping in glance mirror
- 424. By James Page on 2015-12-14
-
Fixup hypervisor_mapping key use
- 425. By James Page on 2015-12-14
-
Also set hypervisor_type on stream data so that tools can index by hypervisor_type if need be
| James Page (james-page) wrote : | # |
I've added an option to enable this feature (it would be off by default) and also updated the Glance mirror to set the hypervisor_type in the stream data as well so that tools using the stream data can query by virt type as well.

<smoser> jamespage, is 'hypervisor_type' a openstack documented thing ? docs.openstack. org/cli- reference/ content/ chapter_ cli-glance- property. html docs.openstack. org/cli- reference/ content/ chapter_ cli-glance- property. html
<jamespage> smoser, it is
<smoser> can it be a list ?
<smoser> http://
<jamespage> smoser, http://
<smoser> right.
<smoser> it woudlseem limiting for us to say 'qemu' when in all likelyhood that image shoudl run in xen at least
<jamespage> smoser, I don't think so but I'll check
<jamespage> smoser, yeah that was actually my concern about turning this on by default