yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #03881
[Bug 1191084] Re: baremetal fdisk failures
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => havana-2
--
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/1191084
Title:
baremetal fdisk failures
Status in Ironic (Bare Metal Provisioning):
Fix Committed
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Using the latest Nova Havana code I'm seeing the following errors from
the nova-baremetal-deploy-helper log:
2013-06-14 16:48:11,280.280 6570 INFO nova.virt.baremetal.deploy_helper [req-ba93e66c-c23b-42fb-8141-f56d8f0aa23f None None] start deployment for node 1, params {'swap_mb': 1, 'iqn': 'iqn-80c3956b-a696-4fa5-9d36-7b034d44b9b0', 'image_path': u'/var/lib/nova/instances/instance-00000002/disk', 'address': '192.0.2.69', 'pxe_config_path': u'/tftpboot/80c3956b-a696-4fa5-9d36-7b034d44b9b0/config', 'port': '3260', 'lun': '1', 'root_mb': 10240}
2013-06-14 16:48:15,414.414 6570 ERROR nova.virt.baremetal.deploy_helper [req-ba93e66c-c23b-42fb-8141-f56d8f0aa23f None None] Cmd : sudo nova-rootwrap /etc/nova/rootwrap.conf sfdisk -uM /dev/disk/by-path/ip-192.0.2.69:3260-iscsi-iqn-80c3956b-a696-4fa5-9d36-7b034d44b9b0-lun-1
2013-06-14 16:48:15,415.415 6570 ERROR nova.virt.baremetal.deploy_helper [req-ba93e66c-c23b-42fb-8141-f56d8f0aa23f None None] StdOut :
Disk /dev/disk/by-path/ip-192.0.2.69:3260-iscsi-iqn-80c3956b-a696-4fa5-9d36-7b034d44b9b0-lun-1: 17849 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-192.0.2.69:3260-iscsi-iqn-80c3956b-a696-4fa5-9d36-7b034d44b9b0-lun-1-part1 0+ 10244- 10245- 10490444+ 83 Linux
/dev/disk/by-path/ip-192.0.2.69:3260-iscsi-iqn-80c3956b-a696-4fa5-9d36-7b034d44b9b0-lun-1-part2 10244+ 10252- 8- 8032+ 82 Linux swap / Solaris
/dev/disk/by-path/ip-192.0.2.69:3260-iscsi-iqn-80c3956b-a696-4fa5-9d36-7b034d44b9b0-lun-1-part3 0 - 0 0 0 Empty
/dev/disk/by-path/ip-192.0.2.69:3260-iscsi-iqn-80c3956b-a696-4fa5-9d36-7b034d44b9b0-lun-1-part4 0 - 0 0 0 Empty
New 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-192.0.2.69:3260-iscsi-iqn-80c3956b-a696-4fa5-9d36-7b034d44b9b0-lun-1-part1 0+ 10244- 10245- 10490444+ 83 Linux
/dev/disk/by-path/ip-192.0.2.69:3260-iscsi-iqn-80c3956b-a696-4fa5-9d36-7b034d44b9b0-lun-1-part2 10244+ 10252- 8- 8032+ 82 Linux swap / Solaris
/dev/disk/by-path/ip-192.0.2.69:3260-iscsi-iqn-80c3956b-a696-4fa5-9d36-7b034d44b9b0-lun-1-part3 0 - 0 0 0 Empty
/dev/disk/by-path/ip-192.0.2.69:3260-iscsi-iqn-80c3956b-a696-4fa5-9d36-7b034d44b9b0-lun-1-part4 0 - 0 0 0 Empty
Successfully wrote the new partition table
Re-reading the partition table ...
2013-06-14 16:48:15,416.416 6570 ERROR nova.virt.baremetal.deploy_helper [req-ba93e66c-c23b-42fb-8141-f56d8f0aa23f None None] StdErr : Checking that no-one is using this disk right now ...
OK
Warning: no primary partition is marked bootable (active)
This does not matter for LILO, but the DOS MBR will not boot this disk.
BLKRRPART: Device or resource busy
The command to re-read the partition table failed.
Run partprobe(8), kpartx(8) or reboot your system now,
before using mkfs
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
2013-06-14 16:48:16,115.115 6570 ERROR
nova.virt.baremetal.deploy_helper [req-ba93e66c-c23b-
42fb-8141-f56d8f0aa23f None None] deployment to node 1 failed
---
This seems to occur about 1/3 of the time on our Dell R910's.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ironic/+bug/1191084/+subscriptions