VMware: move file name handling to utility methods
Bug #1240653 reported by
Tracy Jones
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Low
|
Unassigned |
Bug Description
It's tempting to use os.path to create proper file names in nova-compute. However for the vmware driver this breaks if nova-compute is run on windows. We should use utility methods to create the filename/path so that people don't need to know to not to use os.path.
Another option is to use os_posix.path()
Changed in nova: | |
assignee: | nobody → Tracy Jones (tjones-i) |
tags: | added: vmware |
tags: | added: low-hanging-fruit |
Changed in nova: | |
assignee: | Tracy Jones (tjones-i) → nobody |
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Kai Tong (tongkai) |
Changed in nova: | |
assignee: | Kai Tong (tongkai) → nobody |
Changed in nova: | |
assignee: | Markus Zoeller (mzoeller) → nobody |
Changed in nova: | |
assignee: | nobody → pradeep kumar singh (pradeep-singh-u) |
Changed in nova: | |
assignee: | pradeep kumar singh (pradeep-singh-u) → nobody |
To post a comment you must log in.
for example -
import posixpath
posixpath.join('a', 'b')