export-bundle on model with single-space binding does not contain bindings

Bug #1949883 reported by Drew Freiberger
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
High
Unassigned

Bug Description

I'm working in an environment running juju models and controllers on 2.9.9 and using the snapped juju client version 2.9.17, I'm experiencing an unexpected result when exporting bundles.

In my openstack model which has applications binding to multiple spaces, I see "bindings:" sections for each of the applications when I run "juju export-bundle".

However, in my LMA model, where each application only binds all interfaces to oam-space, there are no "bindings:" sections when I run "juju export-bundle".

If I deploy a new application, or add a second space binding to an existing application, with a binding other than the single oam-space binding, I get "bindings:" in the resulting "juju export-bundle" output.

The machines in the bundle without bindings: do list "constraints: spaces=oam-space" as part of the bundle, so we can infer from that which space is present/configured, but it would be nice for all exported bundles in a space-aware cloud to contain bindings info for visibility and modification by the operator.

Revision history for this message
Drew Freiberger (afreiberger) wrote :

Perhaps the logic which is simplifying the bundle if there is only one space could have an override with a flag to explicitly include bindings.

John A Meinel (jameinel)
Changed in juju:
importance: Undecided → High
milestone: none → 2.9-next
status: New → Triaged
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.9-next → none
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.