MBR is not cleaned after node/cluster deletion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Dmitry Guryanov | ||
Mitaka |
Fix Released
|
High
|
Dmitry Guryanov |
Bug Description
Fuel version info (9.0 #250): http://
After node or whole cluster removal it still can boot from disk, so sometimes (when 1st PXE try fails due to STP forward delay) baremetal servers are marked as discovered, but actually they are booted into old target system. I added debug logging with `dd` command to the erase_node mcollective agent and got this:
"Running command 'dd if=/dev/zero of=sda bs=446 count=1 oflag=direct'"
(full output: http://
As you can see value for `of=` arg is pasted incorrectly, '/dev/' is missed.
Steps to reproduce:
1. Deploy cluster
2. Remove cluster
3. Try to boot deleted node from HDD
Expected result:
node does't boot from HDD, MBR is clean
Actual result:
node boots from hard drive
Reproducibility:
always
tags: | added: area-library |
Fix proposed to branch: master /review. openstack. org/314187
Review: https:/