[Openstack] [openstack] Baremetal Deploy issue

严超 yanchao727 at gmail.com
Fri Jul 11 05:43:08 UTC 2014


Hi, all:
  I have being trying to use a relatively new machine for baremetal.
  sfdisk complains for its size. I'm using undercloud to deploy a
baremetal in tripleO.
  Here is a fragment of the log from the baremetal file, Can anyone
tell me how to fix this?

  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
  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

  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



*Best Regards!*


*Chao Yan--------------**My twitter:Andy Yan @yanchao727
<https://twitter.com/yanchao727>*


*My Weibo:http://weibo.com/herewearenow
<http://weibo.com/herewearenow>--------------*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140711/035a5175/attachment.html>


More information about the Openstack mailing list