[Bug 1443542] [NEW] curtin race on vivid when /dev/sda1 doesn't exist

Robie Basak 1443542 at bugs.launchpad.net
Mon Apr 13 16:46:11 UTC 2015


Public bug reported:

The file /dev/sda1 does not exist and no size was specified.
Unexpected error while running command.
Command: ['mkfs.ext4', '-q', '-L', 'cloudimg-rootfs', '/dev/sda1']
Exit code: 1
Reason: -
Stdout: ''
Stderr: ''
Installation failed with exception: Unexpected error while running command.
Command: ['curtin', 'block-meta', 'simple']
Exit code: 3
Reason: -
Stdout: b"The file /dev/sda1 does not exist and no size was specified.\nUnexpected error while running command.\nCommand: ['mkfs.ext4', '-q', '-L', 'cloudimg-rootfs', '/dev/sda1']\nExit code: 1\nReason: -\nStdout: ''\nStderr: ''\n"
Stderr: ''

This happened 4 out of 10 times when Ryan tested it.

Could this be a race condition because /dev/sda1 hasn't had time to come
into existence between when curtin partitions the disk and when curtin
tries to create a filesystem on the partition?

** Affects: curtin (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: openstack uosci

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to curtin in Ubuntu.
https://bugs.launchpad.net/bugs/1443542

Title:
  curtin race on vivid when /dev/sda1 doesn't exist

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curtin/+bug/1443542/+subscriptions



More information about the Ubuntu-server-bugs mailing list