← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1174849] Re: baremetal-helper fails to partition >=2TB disks

 

Not a bug, specified MB in devstack lib/baremetal file, when it expected
GB. It will very helpful if the documentation in this file will include
the units that need to be used for root and swap partitions.

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1174849

Title:
  baremetal-helper fails to partition >=2TB disks

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  I have being trying to use a relatively new machine for baremetal. The machine has a 2TB disk.
  sfdisk complains for its size. We are running 13.04/Grizzly - devstack.

  Here is a fragment of the log from the baremetal file

  2013-04-30 13:07:19    ERROR [nova.virt.baremetal.deploy_helper] Cmd     : sudo nova-rootwrap /etc/nova/rootwrap.conf sfdisk -uM /dev/disk/by-path/ip-10.3.0.197:3260-iscsi-iqn-085d7599-3698-4eeb-b577-6e3126d71b32-lun-1
  2013-04-30 13:07:19    ERROR [nova.virt.baremetal.deploy_helper] StdOut  :
  Disk /dev/disk/by-path/ip-10.3.0.197:3260-iscsi-iqn-085d7599-3698-4eeb-b577-6e3126d71b32-lun-1: 243201 cylinders, 255 heads, 63 sectors/track
  Old situation:
  Units = mebibytes of 1048576 bytes, blocks of 1024 bytes, counting from 0

     Device Boot Start   End    MiB    #blocks   Id  System
  /dev/disk/by-path/ip-10.3.0.197:3260-iscsi-iqn-085d7599-3698-4eeb-b577-6e3126d71b32-lun-1-part1   *     1  1768535  1768535  1810979840   83  Linux
  /dev/disk/by-path/ip-10.3.0.197:3260-iscsi-iqn-085d7599-3698-4eeb-b577-6e3126d71b32-lun-1-part2     1768536  1907728  139193  142533632   82  Linux swap / Solaris
  /dev/disk/by-path/ip-10.3.0.197:3260-iscsi-iqn-085d7599-3698-4eeb-b577-6e3126d71b32-lun-1-part3         0      -      0          0    0  Empty
  /dev/disk/by-path/ip-10.3.0.197:3260-iscsi-iqn-085d7599-3698-4eeb-b577-6e3126d71b32-lun-1-part4         0      -      0          0    0  Empty

  2013-04-30 13:07:19    ERROR [nova.virt.baremetal.deploy_helper] StdErr  : Checking that no-one is using this disk right now ...
  OK
  Warning: given size (2045958) exceeds max allowable size (1907726)

  sfdisk: bad input

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1174849/+subscriptions