Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

GUI doesn't allow subordinate charm to have non-subordinate relationship #2485

Closed
merlijn-sebrechts opened this issue Feb 20, 2017 · 3 comments · Fixed by #2612
Closed

GUI doesn't allow subordinate charm to have non-subordinate relationship #2485

merlijn-sebrechts opened this issue Feb 20, 2017 · 3 comments · Fixed by #2612
Assignees
Labels

Comments

@merlijn-sebrechts
Copy link

Deploy the limeds-bigdata bundle: https://demo.jujucharms.com/applications/?store=cs:~tengu-team/bundle/limeds-bigdata-1

You see that limeds-mongodb and mongodb have a relationship. This relationship can be added using the cli and works correctly. This relationship cannot be added using the Juju GUI.

You can verify this by removing and re-adding the relationship.

@frankban frankban added the bug label Mar 3, 2017
@frankban frankban added this to the fabulous fontaine milestone Mar 3, 2017
@frankban
Copy link
Member

frankban commented Mar 3, 2017

Yes, I confirm this is still an issue. For instance, try to deploy an uncommitted state from https://jujucharms.com/u/tengu-team/limeds-bigdata

@hatched
Copy link
Contributor

hatched commented Mar 8, 2017

It looks like the GUI prevents subordinate charms of a different series from being related to a application. You're correct that the CLI allows this so we'll have to remove this check from the GUI.

@hatched hatched self-assigned this Mar 8, 2017
@hatched hatched modified the milestones: evasive eddington, fabulous fontaine Mar 8, 2017
@merlijn-sebrechts
Copy link
Author

Note that limeds-mongodb(xenial) is not a subordinate of mongodb(trusty), but of limeds(xenial).

The relation between limeds-mongodb and mongodb is a regular relationship, not a subordinate relationship.

jujugui added a commit that referenced this issue Mar 15, 2017
Match CLI functionality for creating relations

Match the CLI functionality for creating relations. This fixes the long standing issue of explicitly blocking multiple relations to a `requires` endpoint and properly respecting the subordinate scope when creating relations with multi-series charms.

Fixes #2485 
Fixes #1055
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging a pull request may close this issue.

3 participants