When executing 'dd' command, baremetal provisioning fails on OS with
Japanese because of ascii codec error:
InstanceDeployFailure: Deploy failed for instance <uuid>.
Error: 'ascii' codec can't decode byte 0xc2 in position 24:
ordinal not in range(128)
This fixes it by using standard locale when executing 'dd'.
Reviewed: https:/ /review. openstack. org/229434 /git.openstack. org/cgit/ openstack/ ironic- lib/commit/ ?id=618ab03b607 1ff686dc8d38589 3c1461cf186527
Committed: https:/
Submitter: Jenkins
Branch: master
commit 618ab03b6071ff6 86dc8d385893c14 61cf186527
Author: Ruby Loo <email address hidden>
Date: Wed Sep 30 13:47:20 2015 +0000
Use standard locale when executing 'dd' command
When executing 'dd' command, baremetal provisioning fails on OS with ployFailure: Deploy failed for instance <uuid>.
Japanese because of ascii codec error:
InstanceDe
Error: 'ascii' codec can't decode byte 0xc2 in position 24:
ordinal not in range(128)
This fixes it by using standard locale when executing 'dd'.
Change-Id: I1248adb71489a8 18cfe1b5218f3bb 6c961e66692 Bug:#1488289
Closes-