No way to set allocate-public-ip=true globally on OpenStack substrates

Bug #1947555 reported by Nobuto Murata
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Wishlist
Unassigned

Bug Description

Previously Juju had a model config option as use-floating-ip=true which can be used with model-defaults to apply the config globally to new models. However, the model config for use-floating-ip is deprecated by now and replaced by a constraint as allocate-public-ip=true instead.

We can set the constraint with set-model-constraints but it's a per model constraint not like a global default for a substrate with model-defaults as previous.

[previous behavior]

juju model-defaults openstack/regionOne \
    network=MyPrivateNetwork \
    use-floating-ip=true

juju add-model my-new-model1

juju add-model my-new-model2

[current behavior]

juju model-defaults openstack/regionOne \
    network=MyPrivateNetwork

juju add-model my-new-model1
juju set-model-constraints allocate-public-ip=true

juju add-model my-new-model2
juju set-model-constraints allocate-public-ip=true

Revision history for this message
John A Meinel (jameinel) wrote :

We are looking to model constraints as yet-another config item, so that you can have 'model-defaults' apply to create global default constraints as well. (Also solve issues like preferred architecture and other cleanups.)

Changed in juju:
importance: Undecided → High
milestone: none → 3.0.0
status: New → Triaged
Changed in juju:
milestone: 3.0.0 → 3.0.1
Changed in juju:
milestone: 3.0.1 → 3.0.2
Changed in juju:
milestone: 3.0.2 → 3.0.3
Revision history for this message
Juan M. Tirado (tiradojm) wrote :

Old issue. Reopen if needed.

Changed in juju:
milestone: 3.0.3 → none
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Canonical Juju because there has been no activity for 60 days.]

Changed in juju:
status: Incomplete → Expired
Nobuto Murata (nobuto)
Changed in juju:
status: Expired → New
Changed in juju:
importance: High → Wishlist
status: New → Triaged
tags: added: config constraints openstack-provider
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.