bcache cache_mode setting not configured on servers

Bug #1510334 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
curtin
Fix Released
High
Unassigned

Bug Description

MAAS 1.9 alpha.

$ maas env node set-storage-layout $node storage_layout=bcache cache_mode=writeback

Servers are correctly configured using bcache on the root fs, however the cache_mode is writethrough rather than writeback post deployment.

Related branches

Changed in maas:
milestone: none → 1.9.0
importance: Undecided → High
Gavin Panella (allenap)
Changed in maas:
status: New → Triaged
Revision history for this message
Blake Rouse (blake-rouse) wrote :

MAAS does pass this information to curtin:

- id: bcache0
  name: bcache0
  type: bcache
  backing_device: sda-part3
  cache_device: sdb-part1
  cache_mode: writethrough <-- passed to curtin

Looking at the curtin code: http://bazaar.launchpad.net/~curtin-dev/curtin/trunk/view/head:/curtin/commands/block_meta.py#L880

Curtin is not using that value to set the cache mode for the newly created bcache device.

Changed in curtin:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Ryan Harper (raharper) wrote :

Apply branch to trunk after successful make vmtest.

Changed in curtin:
status: Triaged → Fix Committed
no longer affects: maas
Revision history for this message
Scott Moser (smoser) wrote : Fixed in Curtin 17.1

This bug is believed to be fixed in curtin in 17.1. If this is still a problem for you, please make a comment and set the state back to New

Thank you.

Changed in curtin:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.