Comment 0 for bug 1635725

Revision history for this message
José Pekkarinen (koalinux) wrote : Bcache on raid won't commission for hwe > hwe-t on Trusty

Hi,

Deploying a trusty server which has configured 2 raid devices(one for the system, and one for storage), I try to cache the storage raid with bcache on MaaS. The deployment proceed correctly if I select the hwe-t kernel before deploying, however, for any newer kernel it will fail. For hwe-u and hwe-v, maas reports the following output:

Creating new GPT entries.
The operation has completed successfully.
Error: /dev/nvme0n1: unrecognised disk label
Error: /dev/nvme0n1: unrecognised disk label
Error: /dev/md1: unrecognised disk label
Error: /dev/md1: unrecognised disk label
Error: /dev/nvme0n1: unrecognised disk label
Invalid number 0 of holding devices: "[]"
An error occured handling 'bcache0': ValueError - Invalid number 0 of holding devices: "[]"
Invalid number 0 of holding devices: "[]"
Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'block-meta', 'custom']
Exit code: 3
Reason: -
Stdout: 'Creating new GPT entries.\nThe operation has completed successfully.\nError: /dev/nvme0n1: unrecognised disk label\nError: /dev/nvme0n1: unrecognised disk label\nError: /dev/md1: unrecognised disk label\nError: /dev/md1: unrecognised disk label\nError: /dev/nvme0n1: unrecognised disk label\nInvalid number 0 of holding devices: "[]"\nAn error occured handling \'bcache0\': ValueError - Invalid number 0 of holding devices: "[]"\nInvalid number 0 of holding devices: "[]"\n'
Stderr: ''

For hwe-w and hwe-x it shows:

Creating new GPT entries.
The operation has completed successfully.
Error: Could not stat device /dev/nvme0n1 - No such file or directory.
An error occured handling 'nvme0n1': OSError - [Errno Failed to find device at path: %s] /dev/nvme0n1
[Errno Failed to find device at path: %s] /dev/nvme0n1
Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'block-meta', 'custom']
Exit code: 3
Reason: -
Stdout: "Creating new GPT entries.\nThe operation has completed successfully.\nError: Could not stat device /dev/nvme0n1 - No such file or directory.\nAn error occured handling 'nvme0n1': OSError - [Errno Failed to find device at path: %s] /dev/nvme0n1\n[Errno Failed to find device at path: %s] /dev/nvme0n1\n"
Stderr: ''

Thanks!

José.