nova/virt/disk/api.py imports crypt, doesn't work on Windows
Bug #1034043 reported by
Alessandro Pilotti
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Alessandro Pilotti |
Bug Description
At line 28:
import crypt
breaks Windows compatibility.
The crypt module is used only in _set_passwd (line 498).
I'd suggest to move the import there or to do a conditional import, like in the attached diff.
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → folsom-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-rc1 → 2012.2 |
To post a comment you must log in.
It looks like the usage of crypt is pretty basic. We should be able to change to something else that is compatible.