create_disk_from_image hangs compute process
Bug #1679720 reported by
Eric Berglund
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-powervm |
Fix Released
|
Critical
|
Eric Fried | ||
pypowervm |
Fix Released
|
Critical
|
Eric Fried |
Bug Description
The disk driver code that creates a new disk from a glance image will hang the compute process. This is due to a problem with threading. Python contains a Global Interpreter Lock which will run only one thread, causing all of the others to stop. This is normally fine because threads can yield and allow other threads to run. The problem is that the thread is blocking on the open() syscall in nova.image.
The solution will come in two parts. First a new version of pypowervm will be created that will avoid threading altogether. Second, FUNC needs to be disabled in nova-powervm.
Changed in nova-powervm: | |
importance: | Undecided → Critical |
assignee: | nobody → Eric Fried (efried) |
summary: |
- Openstack image upload failure + create_disk_from_image hangs |
summary: |
- create_disk_from_image hangs + create_disk_from_image hangs compute process |
description: | updated |
Changed in pypowervm: | |
importance: | Undecided → Critical |
assignee: | nobody → Eric Fried (efried) |
Changed in nova-powervm: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/453233
Review: https:/