On Sat, Mar 5, 2016 at 3:56 AM, Rob Sanderson <email address hidden> wrote:
> Hi, > > I'm still seeing this issue on Xenial. > > root@maas1:~# cat /etc/lsb-release > DISTRIB_ID=Ubuntu > DISTRIB_RELEASE=16.04 > DISTRIB_CODENAME=xenial > DISTRIB_DESCRIPTION="Ubuntu Xenial Xerus (development branch)" > root@maas1:~# uname -a > Linux maas1 4.4.0-6-generic #21-Ubuntu SMP Tue Feb 16 20:32:27 UTC 2016 > x86_64 x86_64 x86_64 GNU/Linux > root@maas1:~# dpkg -l|grep curtin > ii curtin-common 0.1.0~bzr359-0ubuntu1 all > Library and tools for curtin installer > ii python3-curtin 0.1.0~bzr359-0ubuntu1 all > Library and tools for curtin installer > > I have tried with the default curtin_userdata and have also tried: > > partitioning_commands: > builtin: curtin block-meta custom > > storage: > version: 1 > config: > - id: nvme0n1 > type: disk > ptable: msdos >
If you don't specify a 'serial': or 'path' then curtin will attempt to deduce the path via the id.
Can you try adding:
path: /dev/nvme0
If that is indeed the path to the device.
> - id: nvme0n1p1 > type: partition > number: 1 > size: 128GB > device: nvme0n1 > flag: boot > - id: nvme0n1p1_root > type: format > fstype: ext4 > volume: nvme0n1p1 > - id: nvme0n1p1_mount > type: mount > path: / > device: nvme0n1p1_root > > The error is as follows: > > + exec curtin --install-deps install --config=configs/config-000.cfg > --config=configs/config-001.cfg --config=configs/config-002.cfg > --config=configs/config-003.cfg --config=configs/config-004.cfg > http://10.10.4.221:5248/images/ubuntu/amd64/generic/trusty/release/root-tgz > Error: /dev/sda: unrecognised disk label > Error: /dev/sda: unrecognised disk label > Error: /dev/sdb: unrecognised disk label > Error: /dev/sdb: unrecognised disk label > Error: /dev/sdc: unrecognised disk label > Error: /dev/sdc: unrecognised disk label > An error occured handling 'nvme0n1-part1_format': ValueError - > '/dev/nvme0n11': no such file or directory > '/dev/nvme0n11': no such file or directory > Installation failed with exception: Unexpected error while running command. > Command: ['curtin', 'block-meta', 'custom'] > Exit code: 3 > Reason: - > Stdout: "Error: /dev/sda: unrecognised disk label\nError: /dev/sda: > unrecognised disk label\nError: /dev/sdb: unrecognised disk label\nError: > /dev/sdb: unrecognised disk label\nError: /dev/sdc: unrecognised disk > label\nError: /dev/sdc: unrecognised disk label\nAn error occured handling > 'nvme0n1-part1_format': ValueError - '/dev/nvme0n11': no such file or > directory\n'/dev/nvme0n11': no such file or directory\n" > Stderr: '' > Unexpected error while running command. > Command: ['curtin', 'block-meta', 'custom'] > Exit code: 3 > Reason: - > Stdout: "Error: /dev/sda: unrecognised disk label\nError: /dev/sda: > unrecognised disk label\nError: /dev/sdb: unrecognised disk label\nError: > /dev/sdb: unrecognised disk label\nError: /dev/sdc: unrecognised disk > label\nError: /dev/sdc: unrecognised disk label\nAn error occured handling > 'nvme0n1-part1_format': ValueError - '/dev/nvme0n11': no such file or > directory\n'/dev/nvme0n11': no such file or directory\n" > Stderr: '' > > -- > You received this bug notification because you are subscribed to curtin > in Ubuntu. > Matching subscriptions: curtin-bugs, curtin-bugs-all > https://bugs.launchpad.net/bugs/1401190 > > Title: > curtin makes assumptions about partition names on all devices > > To manage notifications about this bug go to: > https://bugs.launchpad.net/curtin/+bug/1401190/+subscriptions >
On Sat, Mar 5, 2016 at 3:56 AM, Rob Sanderson <email address hidden>
wrote:
> Hi, RELEASE= 16.04 CODENAME= xenial DESCRIPTION= "Ubuntu Xenial Xerus (development branch)" 0ubuntu1 all 0ubuntu1 all commands:
>
> I'm still seeing this issue on Xenial.
>
> root@maas1:~# cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_
> DISTRIB_
> DISTRIB_
> root@maas1:~# uname -a
> Linux maas1 4.4.0-6-generic #21-Ubuntu SMP Tue Feb 16 20:32:27 UTC 2016
> x86_64 x86_64 x86_64 GNU/Linux
> root@maas1:~# dpkg -l|grep curtin
> ii curtin-common 0.1.0~bzr359-
> Library and tools for curtin installer
> ii python3-curtin 0.1.0~bzr359-
> Library and tools for curtin installer
>
> I have tried with the default curtin_userdata and have also tried:
>
> partitioning_
> builtin: curtin block-meta custom
>
> storage:
> version: 1
> config:
> - id: nvme0n1
> type: disk
> ptable: msdos
>
If you don't specify a 'serial': or 'path' then curtin will attempt to
deduce the path via the id.
Can you try adding:
path: /dev/nvme0
If that is indeed the path to the device.
> - id: nvme0n1p1 configs/ config- 000.cfg configs/ config- 001.cfg --config= configs/ config- 002.cfg configs/ config- 003.cfg --config= configs/ config- 004.cfg 10.10.4. 221:5248/ images/ ubuntu/ amd64/generic/ trusty/ release/ root-tgz part1_format' : ValueError - part1_format' : ValueError - '/dev/nvme0n11': no such file or n'/dev/ nvme0n11' : no such file or directory\n" part1_format' : ValueError - '/dev/nvme0n11': no such file or n'/dev/ nvme0n11' : no such file or directory\n" /bugs.launchpad .net/bugs/ 1401190 /bugs.launchpad .net/curtin/ +bug/1401190/ +subscriptions
> type: partition
> number: 1
> size: 128GB
> device: nvme0n1
> flag: boot
> - id: nvme0n1p1_root
> type: format
> fstype: ext4
> volume: nvme0n1p1
> - id: nvme0n1p1_mount
> type: mount
> path: /
> device: nvme0n1p1_root
>
> The error is as follows:
>
> + exec curtin --install-deps install --config=
> --config=
> --config=
> http://
> Error: /dev/sda: unrecognised disk label
> Error: /dev/sda: unrecognised disk label
> Error: /dev/sdb: unrecognised disk label
> Error: /dev/sdb: unrecognised disk label
> Error: /dev/sdc: unrecognised disk label
> Error: /dev/sdc: unrecognised disk label
> An error occured handling 'nvme0n1-
> '/dev/nvme0n11': no such file or directory
> '/dev/nvme0n11': no such file or directory
> Installation failed with exception: Unexpected error while running command.
> Command: ['curtin', 'block-meta', 'custom']
> Exit code: 3
> Reason: -
> Stdout: "Error: /dev/sda: unrecognised disk label\nError: /dev/sda:
> unrecognised disk label\nError: /dev/sdb: unrecognised disk label\nError:
> /dev/sdb: unrecognised disk label\nError: /dev/sdc: unrecognised disk
> label\nError: /dev/sdc: unrecognised disk label\nAn error occured handling
> 'nvme0n1-
> directory\
> Stderr: ''
> Unexpected error while running command.
> Command: ['curtin', 'block-meta', 'custom']
> Exit code: 3
> Reason: -
> Stdout: "Error: /dev/sda: unrecognised disk label\nError: /dev/sda:
> unrecognised disk label\nError: /dev/sdb: unrecognised disk label\nError:
> /dev/sdb: unrecognised disk label\nError: /dev/sdc: unrecognised disk
> label\nError: /dev/sdc: unrecognised disk label\nAn error occured handling
> 'nvme0n1-
> directory\
> Stderr: ''
>
> --
> You received this bug notification because you are subscribed to curtin
> in Ubuntu.
> Matching subscriptions: curtin-bugs, curtin-bugs-all
> https:/
>
> Title:
> curtin makes assumptions about partition names on all devices
>
> To manage notifications about this bug go to:
> https:/
>