_get_zpool_info() may fail if locale is not english
Bug #1757371 reported by
Adrien Cunin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nova-lxd |
Fix Committed
|
Low
|
Unassigned |
Bug Description
In nova/virt/
Changed in nova-lxd: | |
assignee: | nobody → Alex Kavanagh (ajkavanagh) |
status: | Triaged → In Progress |
Changed in nova-lxd: | |
status: | Fix Released → Fix Committed |
Changed in nova-lxd: | |
assignee: | Alex Kavanagh (ajkavanagh) → nobody |
To post a comment you must log in.
We use oslo strutils to parse the number, which also isn't locale sensitive. As zfs uses snprintf() for the number printing, and that IS locale sensitive, then yes, it would probably fail. Work around is to not install on locale other than English.