virsh calls do not unset locale in MAAS 2.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Unassigned | ||
2.0 |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
I just upgraded my home MAAS (with virtual machines) to 2.0.0~rc3+
"Unknown state: заустављено"
Unsurprisingly, this is exactly the same thing ("заустављено") I get if I run "virsh -c qemu+ssh:
Along those lines, http://
Do note that this is not necessarily enough: LC_*, LANG and LANGUAGE variables have different precedence and this worked for me because I had LANGUAGE=sr and LC_ALL=sr_RS.utf8 set.
Related branches
- Gavin Panella (community): Approve
-
Diff: 54 lines (+17/-1)2 files modifiedsrc/provisioningserver/drivers/hardware/tests/test_virsh.py (+14/-0)
src/provisioningserver/drivers/hardware/virsh.py (+3/-1)
Changed in maas: | |
milestone: | 2.1.0 → 2.1.1 |
Changed in maas: | |
milestone: | 2.1.1 → 2.1.2 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
I've hit this again upgrading to MAAS 2.1 so I've proposed a fix along with the test. Hopefully it helps.
I've hit issues trying to 'make build' inside MAAS trunk on xenial: https:/ /pastebin. canonical. com/169926/ — this seems to come from an ipdb/ipython dependency, so commenting that out works https:/ /pastebin. canonical. com/169925/. Without wanting to spend more time investigating if it's a problem with upstream dep or MAAS itself, I've left it at that.