Comment 7 for bug 1799161

Revision history for this message
Vladimir Grevtsev (vlgrevtsev) wrote : Re: [2.3.x] "Failed to render preseed: 'NoneType' object has no attribute 'get_parent'" on Juju acquisition event

No, we don't.

But looks like I found a wrong place in configuration of storage on server.

Before:

- partition from spin drive created
- added format options to partition
- set mountpoint for partition
- create bcache device, set "backing device" to partition, "caching device" to appropriate part of NVMe drive

After:

- partition from spin drive created
- bcache device created, set "backing device" to partition, "caching device" to NVMe
- added format options for bcache device
- set mountpoint for bcache device

The difference is - in first run (where a bug was originally reported) we have created a ext4 partitions on top of spinning drives, while bcache devices was left intact. The problem was, I guess, in something like - bcache device was created without any filesystem and thus was causing a problems while rendering curtin config.

I will try to share step-by-step MAAS CLI configuration commands to reproduce this case - I believe a little more diagnosis outputs (or some kind of checks) should be added in scope of this.