Allow specifying subnet/vnet CIDR when bootstrapping to Azure

Bug #1716887 reported by Riordan Toms
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Ian Booth

Bug Description

With no way to specify CIDR for subnets/vnets this creates a major hindrance when taking into consideration multiple networks and sites that already use the existing hardcoded values if ever cross network communication is required.

azure/networking.go:39: internalSubnetPrefix = "192.168.0.0/20"
azure/networking.go:47: controllerSubnetPrefix = "192.168.16.0/20"

Is this already a road mapped feature? As I understand MAAS and AWS have this ability to specify subnet CIDR's and/or use existing VPC's when bootstrapping or creating/editing models.

What is the blocking issue for other clouds? Forgive my ignorance but what is so difficult about passing values from the CLI?

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

I believe this stems from a time before Azure Resource Manager update which allowed more flexible setting of IP ranges. I don't think there is any specific reason why we couldn't allow users to specify an existing subnet range anymore, just historical baggage and not having the time to come back and clean this one up.

Thanks for the bug report, we'll try to get it into the queue for the next major release.

Changed in juju:
importance: Undecided → High
status: New → Triaged
milestone: none → 2.3.0
Revision history for this message
Tim Penhey (thumper) wrote :

Space and subnet work across providers is on the roadmap for 18.04

Changed in juju:
milestone: 2.3.0 → 2.4-beta1
tags: added: cpe-onsite
Changed in juju:
milestone: 2.4-beta1 → none
Revision history for this message
Ian Booth (wallyworld) wrote :

Azure provider now supports spaces. So you can use a space constraint to provision instances to specific subnets. It's also now possible to provision a machine with multiple NIC, depending on how the constraint is specified (see juju spaces doc).

Changed in juju:
milestone: none → 2.9-beta1
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → Fix Committed
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.