Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
maas: Make spaces constraints work on MAAS 1.9+ #3921
Conversation
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
added some commits
Dec 8, 2015
|
Build failed: boo |
added some commits
Dec 11, 2015
|
$$finally$$ |
dimitern
closed this
Dec 15, 2015
dimitern
reopened this
Dec 15, 2015
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
|
Build failed: Generating tarball failed |
|
$$suckerpunch$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
added a commit
that referenced
this pull request
Dec 15, 2015
jujubot
merged commit 7774ee9
into
juju:maas-spaces
Dec 15, 2015
dimitern
deleted the
dimitern:maas-spaces-fix-subnets-maas
branch
Dec 15, 2015
kisahm
commented
May 10, 2016
|
If i try to use spaces in juju 1.25.5 with MAAS 1.9.2 is get this error:
Must i activate the space usage first? |
|
On 05/10/2016 04:47 PM, Kim-Norman Sahm wrote:
Juju 1.25 does not yet support spaces on MAAS, Juju 2.0 does, but the Also, spaces are only discovered by Juju (automatically at bootstrap), Cheers,Dimiter Naydenov dimiter.naydenov@canonical.com |
dimitern commentedDec 8, 2015
This PR introduces 2 main changes:
IDs when we detect the new MAAS 1.9 API is available
bindings into "interfaces=" argument. Bindings override spaces
constraints when both exist, however there's no way yet to pass
explicit interface bindings.
Added more tests around the various ways Subnets() is being called and
implemented - with older and newer MAAS APIs.
Live tested on MAAS 1.9RC3 to ensure the following steps work:
Also, for a more real-life-like demo, I managed to deploy a modified
mediawiki bundle (http://paste.ubuntu.com/13837091/) once the subnets,
VLANs, and spaces were preconfigured like this: http://paste.ubuntu.com/13837104/
and I've run:
Discovered an issue with the bridge script - it's not handling VLANs
correctly, so I needed to use
disable-network-management: trueas aworkaround (otherwise bootstrap failed).
(Review request: http://reviews.vapour.ws/r/3342/)