Running generate-image twice with separate virt-types overwrites rather than appends

Bug #1600054 reported by Jason Hobbs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Anastasia

Bug Description

I'm trying to bootstrap juju for a cloud with both kvm and lxd hypervisors.

To do that, I need separate images for each hypervisor type.

The doc here: https://github.com/juju/juju/blob/master/doc/simplestreams-metadata.txt says "The image metadata command can be run multiple times with different regions, series, architecture, and
it will keep adding to the metadata files". It doesn't mention virt-type, but I need it do add for virt-type too.

Here's what happens right now:
http://paste.ubuntu.com/18743983/

The second image is there but not the first.

This is with 2.0 beta 11.

Tags: oil-2.0 v-pil
Revision history for this message
Anastasia (anastasia-macmood) wrote :

Jason,

I think that this is an oversight with image metadata command - we have not updated it to support different virt type when we have introduced virt types. We'll need to address this.

Should you choose to add the second image by hand, does it work?

Changed in juju-core:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Jason Hobbs (jason-hobbs) wrote :

Anastasia,

When I add by hand, it validates fine but I don't know if it's working or not, due to bug #1600404, where juju is ignoring virt-type constraints.

tags: added: oil-2.0
Changed in juju-core:
assignee: nobody → Anastasia (anastasia-macmood)
Changed in juju-core:
status: Triaged → In Progress
milestone: none → 2.0-beta13
Revision history for this message
Anastasia (anastasia-macmood) wrote :
Changed in juju-core:
importance: High → Critical
tags: added: blocker
Changed in juju-core:
importance: Critical → High
status: In Progress → Fix Committed
tags: removed: blocker
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta13 → 2.0-beta14
Curtis Hovey (sinzui)
Changed in juju-core:
status: Fix Committed → Fix Released
affects: juju-core → juju
Changed in juju:
milestone: 2.0-beta14 → none
milestone: none → 2.0-beta14
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.