2.6.2 regression: add cloud fails and says multi-cloud feature flag must be enabled

Bug #1829342 reported by Jason Hobbs
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Anastasia

Bug Description

Our CI deploys maas, creates a juju maas controller, deploys openstack on maas, then tries to create a juju openstack controller and deploy k8s on that.

This worked fine in 2.5.2, but in 2.6, there is a regression, we get an error now:

ERROR feature flag "multi-cloud" needs to be enabled to add a "openstack" cloud

subprocess.CalledProcessError: Command '['juju', 'add-cloud', '--replace', 'openstack_cloud', '/tmp/tmpEAQV6u']' returned non-zero exit status 1

We're not trying to use multiple clouds on a single controller, just multiple clouds with their own controllers all from the same juju client location.

Expected behavior is for things that worked in 2.5 would continue to work in 2.6.

Revision history for this message
Jason Hobbs (jason-hobbs) wrote :

sub'd field critical as this is blocking our CI and we don't have a workaround.

Revision history for this message
Jason Hobbs (jason-hobbs) wrote :

Dropped to field-high since we can use 2.5 juju as a workaround.

Revision history for this message
Jason Hobbs (jason-hobbs) wrote :

hmm looks like we can also use --local?

Revision history for this message
Jason Hobbs (jason-hobbs) wrote :

Well the problem is that --local is new in 2.6, and is false by default. We can't pass it to 2.5 juju, which will error. So our automation code will need to know if it's driving juju 2.6 or juju <2.6 and change the flags it passes on the cli.

Revision history for this message
Anastasia (anastasia-macmood) wrote :

@Jason Hobbs (jason-hobbs),

Yes, you need to use --local.

Changed in juju:
status: New → Won't Fix
Changed in juju:
status: Won't Fix → New
tags: added: usability
Changed in juju:
status: New → Triaged
importance: Undecided → Medium
Changed in juju:
assignee: nobody → Anastasia (anastasia-macmood)
Changed in juju:
status: Triaged → In Progress
Revision history for this message
Anastasia (anastasia-macmood) wrote :

PR to improve 'add-cloud' experience and messaging is: https://github.com/juju/juju/pull/10580

Revision history for this message
Anastasia (anastasia-macmood) wrote :

PR to remove 'multi-cloud' feature flag from controller API: https://github.com/juju/juju/pull/10595

Changed in juju:
status: In Progress → Fix Committed
milestone: none → 2.7-beta1
Changed in juju:
status: Fix Committed → Fix Released
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.