Merge lp:~jameinel/maas/sampledata-nodegroup into lp:maas/trunk
Proposed by
John A Meinel
on 2012-10-04
| Status: | Merged |
|---|---|
| Approved by: | John A Meinel on 2012-10-04 |
| Approved revision: | 1158 |
| Merged at revision: | 1160 |
| Proposed branch: | lp:~jameinel/maas/sampledata-nodegroup |
| Merge into: | lp:maas/trunk |
| Diff against target: |
43 lines (+5/-5) 1 file modified
src/maasserver/fixtures/dev_fixture.yaml (+5/-5) |
| To merge this branch: | bzr merge lp:~jameinel/maas/sampledata-nodegroup |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Raphaël Badin (community) | 2012-10-04 | Approve on 2012-10-04 | |
|
Review via email:
|
|||
Commit Message
Fix 'make sampledata'. Nodegroups are now naturally keyed on UUID, but that isn't as convenient in the sample data vs just using the id primary key.
(1 vs 'adfd3977-
Description of the Change
'make sample
To post a comment you must log in.


Looks good. Note that this is a bit dangerous: you're relying on the fact that the master nodegroup (created by ensure_master) has id=1. This is the case in practice but a fit fragile.
Sill, with this branch, the situation is better than the one we have now where the sampledata cannot be loaded once the cluster controller has been connected to the region and thus has changed its uuid from 'master' to a proper uuid.