[feature] group nodes by hardware features
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When using FCE to enlist and configure nodes, we generate buckets of nodes based on hardware characteristics of the nodes we derive from API calls made to maas - this is done by a step called 'generate_buckets.
We use the buckets for a couple of reasons:
1) Identifying outliers in hardware config - we generally expect machines to be have the same type of hardware, maybe 2 or 3 models used per deployment. If a machine has a different number of disks, number or speed of interfaces and network links, disks with different sizes, is attached to different vlans, different amount of RAM, different CPU characteristics, different firmware versions, different graphics cards, we want to know it about. Grouping by these characteristics allows this to stand out.
2) Applying a templated config. We generally want to apply the same config to all nodes with the same set of hardware configuration.
generate_buckets makes a couple of maas api calls per node (machine details and node results read)
We'd like for MAAS to speed this up. When there are 100's of nodes, it takes a long time to make all of these API calls. Also, we would like to be able to use this feature with the upcoming templating feature, to apply a template to a group of nodes. We'd also like to read the list of groups, and see which machines are in which groups, in an efficient manner, so we can see if it matches expectations for machines.
Changed in maas: | |
milestone: | next → none |
Hi Jason,
I don't understand what you actually mean with this request. Can you expand on what you would actually expect this request would do? The bug report talks about the fact that you do multiple API calls from a script, but it doesn't present any context whatsoever on what this request is about, what user stories, what is the expected result, what is the expected use for this.
Thanks