Merge ~ltrager/maas:lp1825240 into maas:master
Proposed by
Lee Trager
Status: | Merged |
---|---|
Approved by: | Lee Trager |
Approved revision: | 1f26fb3b9a7f93afeeb0c5d1343328eb55fe44ba |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~ltrager/maas:lp1825240 |
Merge into: | maas:master |
Prerequisite: | ~ltrager/maas:lp1821220 |
Diff against target: |
339 lines (+96/-19) 6 files modified
src/maasserver/api/tests/test_vmfs_datastores.py (+8/-1) src/maasserver/forms/__init__.py (+12/-0) src/maasserver/forms/tests/test_vmfs.py (+38/-15) src/maasserver/models/node.py (+18/-0) src/maasserver/models/tests/test_node.py (+11/-0) src/maasserver/websockets/handlers/tests/test_machine.py (+9/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Blake Rouse (community) | Approve | ||
Review via email: mp+366331@code.launchpad.net |
Commit message
LP: #1825240 - Do not allow datastores to be created unless the VMFS6 storage layout has been applied.
VMFS datastores only work with VMware ESXi. Prevent them from being created
unless the VMFS6 storage layout has been previously applied. This prevents
users from thinking we support VMFS Datastores on other operating systems.
To be backwards compatible with previous versions of MAAS VMware ESXi can
still be deployed without applying the VMFS6 storage layout. In that case
the default layout, including a datastore will be applied on deployment.
If the VMFS6 storage layout is applied make sure a datastore is defined
as one will always be created.
To post a comment you must log in.
Looks good, minus the very minor nitpick.