secure disk erase fails on big size disks

Bug #1748436 reported by Anshul Jain
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
proliantutils
Fix Released
Undecided
Unassigned

Bug Description

ERROR ironic.drivers.modules.agent_base_vendor [-] Agent returned error for clean step {u'interface': u'deploy', u'priority':
0, u'step': u'erase_devices', u'abortable': False, u'reboot_required': False} on node cf329d50-c851-4555-a721-7c919e53e58d : {u'message': u'Clean step
 failed: Error performing clean_step erase_devices: Disk erase failed.', u'code': 500, u'type': u'CleaningError', u'details': u'Error performing clean
_step erase_devices: Disk erase failed.'}.

proliantutils/hpssa/manager.py L381 - probably requires update based on the size of disk to set the time required for operation to complete.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to proliantutils (master)

Reviewed: https://review.openstack.org/546941
Committed: https://git.openstack.org/cgit/openstack/proliantutils/commit/?id=78978ed3b163bcd71f18ecc8ca9d85f19e2cd2b2
Submitter: Zuul
Branch: master

commit 78978ed3b163bcd71f18ecc8ca9d85f19e2cd2b2
Author: mallikarjuna.kolagatla <email address hidden>
Date: Thu Feb 22 09:30:06 2018 +0000

    Remove the disk erase timeout

    This patch modifies the erase_devices clean_step to wait beyond
    50 minutes for the secure disk erase to complete as the disks
    bigger in size may take longer than 50 minutes to complete the
    operation. Making it a perpetual wait as disk erase operation
    cannot be killed once started until it is completed.

    Change-Id: I822d7097689478905e206a4ccbaea9c4b48c8b1b
    Closes-bug: 1748436

Changed in proliantutils:
status: New → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to proliantutils (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/656566

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to proliantutils (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.opendev.org/657013

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to proliantutils (stable/queens)

Reviewed: https://review.opendev.org/656566
Committed: https://git.openstack.org/cgit/x/proliantutils/commit/?id=b2486a289fa4840a8148182eeae29267fd6ad962
Submitter: Zuul
Branch: stable/queens

commit b2486a289fa4840a8148182eeae29267fd6ad962
Author: mallikarjuna.kolagatla <email address hidden>
Date: Thu Feb 22 09:30:06 2018 +0000

    Remove the disk erase timeout

    This patch modifies the erase_devices clean_step to wait beyond
    50 minutes for the secure disk erase to complete as the disks
    bigger in size may take longer than 50 minutes to complete the
    operation. Making it a perpetual wait as disk erase operation
    cannot be killed once started until it is completed.

    Change-Id: I822d7097689478905e206a4ccbaea9c4b48c8b1b
    Closes-bug: 1748436
    (cherry picked from commit 78978ed3b163bcd71f18ecc8ca9d85f19e2cd2b2)

tags: added: in-stable-queens
tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to proliantutils (stable/pike)

Reviewed: https://review.opendev.org/657013
Committed: https://git.openstack.org/cgit/x/proliantutils/commit/?id=ec66207f05ef79edc4bc78011ec7a283f8123770
Submitter: Zuul
Branch: stable/pike

commit ec66207f05ef79edc4bc78011ec7a283f8123770
Author: mallikarjuna.kolagatla <email address hidden>
Date: Thu Feb 22 09:30:06 2018 +0000

    Remove the disk erase timeout

    This patch modifies the erase_devices clean_step to wait beyond
    50 minutes for the secure disk erase to complete as the disks
    bigger in size may take longer than 50 minutes to complete the
    operation. Making it a perpetual wait as disk erase operation
    cannot be killed once started until it is completed.

    Change-Id: I822d7097689478905e206a4ccbaea9c4b48c8b1b
    Closes-bug: 1748436
    (cherry picked from commit 78978ed3b163bcd71f18ecc8ca9d85f19e2cd2b2)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.