Skip to content

Commit

Permalink
Add custom layout partitioning
Browse files Browse the repository at this point in the history
  * In case of 'non-clean' partitioning, we may stuck in 400 error from MAAS
    The  RC of such issue, that we trying to apply totally custom schema, to
    any auto-predefined(or not cleaned previosly)
  * Add new layout: custom - which means, drop everything befere start part.
  * Misc: remove broken and unused func `create_partition_filesystem`

Closes-Bug: PROD-20317 (PROD:20317) 

Change-Id: I574c669616b9318b8ecafaf9c8ad4162c01b44e1
  • Loading branch information
alexz-kh committed May 29, 2018
1 parent 864a329 commit bca1f46
Show file tree
Hide file tree
Showing 3 changed files with 199 additions and 105 deletions.
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ Define more complex layout
machines:
server3:
disk_layout:
type: flat #This is simplies setup
type: custom
bootable_device: vda
disk:
vda:
Expand Down Expand Up @@ -316,8 +316,8 @@ Raid setup, 4x HDD
machines:
serverWithRaidExample:
disk_layout:
#type: flat
#bootable_device: sda
type: custom
bootable_device: sda
disk:
md0:
type: raid
Expand Down Expand Up @@ -356,7 +356,7 @@ delete the partition and then recreated. That fails as maas rejects remove parti
machines:
serverWithRaidExample2:
disk_layout:
#type: flat
type: custom
#bootable_device: vgssd-root
disk:
sda: &maas_disk_physical_ssd
Expand Down
Loading

0 comments on commit bca1f46

Please sign in to comment.