Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(6218)

Issue 6569053: Add generic and tag constraints to maas provider

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by gz
Modified:
11 years, 7 months ago
Reviewers:
hazmat, mp+126203
Visibility:
Public.

Description

Add generic and tag constraints to maas provider Passes through standard constraints 'arch', 'cpu', and 'mem', also specific 'maas-tags' which can be used to indicate other properties. Launching a new machine still involves calling acquire in the MaaS api which returns only one node rather than a list of candidates to select from, so the constraints are still not used on the Juju side for now. https://code.launchpad.net/~gz/juju/add_maas_constraints/+merge/126203 (do not edit description out of merge proposal)

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add generic and tag constraints to maas provider #

Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -8 lines) Patch
A [revision details] View 1 1 chunk +2 lines, -0 lines 0 comments Download
M juju/providers/maas/maas.py View 1 3 chunks +20 lines, -3 lines 0 comments Download
M juju/providers/maas/provider.py View 1 2 chunks +39 lines, -0 lines 0 comments Download
M juju/providers/maas/tests/test_launch.py View 4 chunks +4 lines, -4 lines 0 comments Download
M juju/providers/maas/tests/test_maas.py View 1 chunk +32 lines, -0 lines 0 comments Download
M juju/providers/maas/tests/test_provider.py View 1 3 chunks +31 lines, -1 line 0 comments Download
M juju/providers/maas/tests/testing.py View 1 2 chunks +6 lines, -0 lines 0 comments Download

Messages

Total messages: 5
gz
Please take a look.
11 years, 7 months ago (2012-09-25 09:18:13 UTC) #1
hazmat
from irc Sep 25 05:27:05 <jam> mgz: well I know hazmat asked us to make ...
11 years, 7 months ago (2012-09-27 04:54:45 UTC) #2
gz
Please take a look.
11 years, 7 months ago (2012-09-28 11:34:38 UTC) #3
hazmat
looks nice, thanks. One concern for which i'd request you'd file a new bug for ...
11 years, 7 months ago (2012-10-01 14:39:59 UTC) #4
gz
11 years, 7 months ago (2012-10-01 17:35:39 UTC) #5
On 2012/10/01 14:39:59, hazmat wrote:
> looks nice, thanks.
> 
> One concern for which i'd request you'd file a new bug for future ref, is that
> given the valid tag set could change at any time, a previously valid set could
> become invalid. That's deferrable for now, at the moment it will just yield a
> problem creating services.

I've filed bug 1059753 which I hope captures this issue, feel free to edit the
summary if I have any terminology or details confused. Thanks!
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b