Use standard locale when executing 'parted' command
Not only 'dd' command but also 'parted' makes iscsi deploy fail in
Japanese environment. This patch applies the same fix as 'dd'.
ironic.drivers.modules.iscsi_deploy [-] Deploy failed for instance
<uuid>. Error: 'ascii' codec can't decode byte 0xe8 in position 20:
ordinal not in range(128)
Change-Id: If6c3fbd08ff380470d88b16605b44eb00c271352
Related-Bug: #1488289
(cherry picked from commit da5ddf4e703b6de9ef67420a0eb4baaa740980d7)
Reviewed: https:/ /review. openstack. org/234389 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=886bb911565 56589d4d5a36dd9 69d0133831b1dc
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 886bb9115655658 9d4d5a36dd969d0 133831b1dc
Author: Naohiro Tamura <email address hidden>
Date: Tue Oct 6 16:36:47 2015 +0900
Use standard locale when executing 'parted' command
Not only 'dd' command but also 'parted' makes iscsi deploy fail in
Japanese environment. This patch applies the same fix as 'dd'.
ironic. drivers. modules. iscsi_deploy [-] Deploy failed for instance
<uuid>. Error: 'ascii' codec can't decode byte 0xe8 in position 20:
ordinal not in range(128)
Change-Id: If6c3fbd08ff380 470d88b16605b44 eb00c271352 9ef67420a0eb4ba aa740980d7)
Related-Bug: #1488289
(cherry picked from commit da5ddf4e703b6de