Node cleaning fails if the _ata_erase fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ironic-python-agent |
Fix Released
|
High
|
Julia Kreger |
Bug Description
As per understanding, node cleaning should fall back to dd if the the _ata_erase fails.
| maintenance_reason | Agent returned error for clean step {u'priority': 10, u'interface': |
| | u'deploy', u'step': u'erase_devices', u'abortable': True, |
| | u'reboot_
| | : {u'message': u'Clean step failed: Error performing clean_step |
| | erase_devices: Error erasing block device: Block device /dev/sda is |
| | frozen and cannot be erased', u'code': 500, u'type': u'CleaningError', |
| | u'details': u'Error performing clean_step erase_devices: Error erasing |
| | block device: Block device /dev/sda is frozen and cannot be erased'}. |
| provision_state | clean failed
| e3143045-
stack@test-blade:~$ sudo hdparm -I /dev/sda
/dev/sda:
ATA device, with non-removable media
Model Number: XR0480GEBLV
Serial Number: 14120D0FA6F5
Firmware Revision: HPS4
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Used: unknown (minor revision code 0x0028)
Supported: 9 8 7 6 5
Likely used: 9
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 937703088
Logical Sector size: 512 bytes
Physical Sector size: 4096 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 457862 MBytes
device size with M = 1000*1000: 480103 MBytes (480 GB)
Form Factor: less than 1.8 inch
Nominal Media Rotation Rate: Solid State Device
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
* Power Management feature set
* Look-ahead
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* 64-bit World wide name
* IDLE_IMMEDIATE with UNLOAD
* WRITE_UNCORRECT
* {READ,WRITE}
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
* Native Command Queueing (NCQ)
* Phy event counters
* Device automatic Partial to Slumber transitions
* READ_LOG_DMA_EXT equivalent to READ_LOG_EXT
* DMA Setup Auto-Activate optimization
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Write Same (AC2)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
* reserved 69[4]
* Data Set Management TRIM supported (limit 8 blocks)
* Deterministic read ZEROs after TRIM
Security:
Master password revision code = 65534
not enabled
not locked
not expired: security count
2min for SECURITY ERASE UNIT. 2min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 500a07510d0fa6f5
NAA : 5
IEEE OUI : 00a075
Unique ID : 10d0fa6f5
Checksum: correct
description: | updated |
Changed in ironic-python-agent: | |
assignee: | nobody → Julia Kreger (juliaashleykreger) |
Changed in ironic-python-agent: | |
importance: | Undecided → High |
Fix proposed to branch: master /review. openstack. org/270902
Review: https:/