HyperV destroy vm fails on Windows Server 2008R2
Bug #1467409 reported by
Adelina Tuvenie
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Adelina Tuvenie |
Bug Description
Delete vm fails on Windows Server 2008R2 with the following error:
WindowsError: [Error 145] The directory is not empty: 'C:\\OpenStack\
This is happening because on Windows 2008R2 it takes a while (1-2 sec. ) for Hyper-V to delete the instance specific files that it stores in the instance folder.
summary: |
- HyperV destroy vm fails on Windows Server 2008 + HyperV destroy vm fails on Windows Server 2008R2 |
tags: | added: hyper-v |
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Adelina Tuvenie (atuvenie) |
status: | Confirmed → In Progress |
Changed in nova: | |
importance: | Medium → Low |
status: | In Progress → Triaged |
tags: | added: kilo-backport-potential |
Changed in nova: | |
milestone: | none → liberty-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | liberty-2 → 12.0.0 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/194089 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=d2735ddb066 6381bfbc5fa5f8d 4b2157cceeabbb
Committed: https:/
Submitter: Jenkins
Branch: master
commit d2735ddb0666381 bfbc5fa5f8d4b21 57cceeabbb
Author: Adelina Tuvenie <email address hidden>
Date: Mon Jun 22 00:48:28 2015 -0700
Fixes "Hyper-V destroy vm fails on Windows Server 2008R2"
Delete vm fails on Windows Server 2008R2 with the following error: \Instances\ \instance- 00000003'
[Error 145] The directory is not empty: 'C:\\OpenStack\
This is happening because on Windows 2008R2 it takes a while (1-2 sec. )
for Hyper-V to delete the instance specific files that it stores in the
instance folder.
This patch fixes this bug by adding a retry in the delete method if
it gets that specific error: WindowsError 145
Closes Bug: 1467409 a00ede3cd5bf384 46f896156e3
Change-Id: I8c194320dfa0c9