Comment 42 for bug 1562249

Revision history for this message
Ryan Harper (raharper) wrote : Re: [Bug 1562249] Re: Failed to deploy machine with HP Smart Array Raid 6i

On Fri, Jul 8, 2016 at 5:53 PM, Wesley Wiedenmeier <
<email address hidden>> wrote:

> Hi DeeVee,
>
> Sorry about that, thanks for testing so many times.
>
> With curtin version curtin_0.1.0~bzr415-0ubuntu1, the lastest in the
> repo, the name of the dname rule file is just based on the 'name'
> attribute of the disk, the 'id' is no longer used for the filename. I
> think what's happened for you is that the name of the disk contained a
> slash. From the error you posted I woul dguess that the 'name' attribute
> of your cciss device is 'cciss/c0d0' or something like that.
>
> Because the name attribute is used as the target for a link in /dev/disk
> /by-dname it can't really have a slash in it.
>

I bet maas is generating those names from what it discovered in
commissioning.
We likely need to sanitize the name, much like with serial numbers, so
something
like replacing ['/', ' ',] with '_'

>
> --
> You received this bug notification because you are subscribed to curtin.
> Matching subscriptions: curtin-bugs-all
> https://bugs.launchpad.net/bugs/1562249
>
> Title:
> Failed to deploy machine with HP Smart Array Raid 6i
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/curtin/+bug/1562249/+subscriptions
>