libjuju support for Cross Model Relations

Bug #1814631 reported by Ed Stewart
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Simon Richardson

Bug Description

Post discussions with Tim V and Tim P, we understand that Cross Model Relations are not supported within the Python Juju libraries.

This is a feature request to support CMR functionality within the Juju Python libraries. Priority would be on allowing CMRs to be *consumed*; lower priority to allow them to be offered.

If sample code can be provided to do this directly on the API facades until this feature is implemented as a managed object, that would be much appreciated,

Revision history for this message
Tim Van Steenburgh (tvansteenburgh) wrote :

@thumper Will your team do this or do you want help from Cory?

Changed in juju:
status: New → Triaged
importance: Undecided → Wishlist
milestone: none → 2.6-beta1
Changed in juju:
milestone: 2.6-beta1 → 2.6-beta2
Revision history for this message
Ed Stewart (emcs2) wrote :

Whilst we wait for this to be fully provided by libjuju, would it be possible to get any sample code for how we can do it using the straight API facades?

Changed in juju:
milestone: 2.6-beta2 → 2.6-rc1
Changed in juju:
milestone: 2.6-rc1 → 2.6-rc2
Changed in juju:
milestone: 2.6-rc2 → 2.6.1
Changed in juju:
milestone: 2.6.1 → 2.6.2
Changed in juju:
milestone: 2.6.2 → 2.6.3
Felipe Reyes (freyes)
tags: added: sts
Changed in juju:
milestone: 2.6.3 → 2.6.4
Revision history for this message
Richard Harding (rharding) wrote :

This is actively being worked on as Juju works this cycle to bring CMR relations and URL to bundles. As work there progresses we'll also be adding CMR support to libjuju for both individual charms as well as supporting the new bundle expressions.

That work has been started and is currently ongoing and we expect over the coming weeks to have edge snaps to test and play with with the hopes that a future 2.6 point release will have the bundle improvements in play. The library will be updated toward the end of this chunk of work.

Changed in juju:
assignee: nobody → Simon Richardson (simonrichardson)
importance: Wishlist → High
milestone: 2.6.4 → 2.6.5
Changed in juju:
milestone: 2.6.5 → 2.6.6
Changed in juju:
milestone: 2.6.6 → 2.6.7
tags: added: canonical-bootstack
Revision history for this message
Richard Harding (rharding) wrote :

This is now released as part of the 2.6.0 release of python-libjuju. You can see the release announcement here.

https://discourse.jujucharms.com/t/pylibjuju-2-6-0-release-notes/1926

Changed in juju:
status: Triaged → Fix Released
Revision history for this message
Anastasia (anastasia-macmood) wrote :

2.6.7 release never went out. This fix was instead released in 2.6.8 - re-targeting this report.

Changed in juju:
milestone: 2.6.7 → 2.6.8
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.