mirror of https://github.com/ceph/ceph-ansible.git
7e5e4229b7
Since https://github.com/ceph/ceph/commit/77912c0 ceph-volume uses stdout encoding based on LC_CTYPE and PYTHONIOENCODING environment variables. Thoses variables aren't set when using ansible. Currently this commit breaks non containerized deployment on Ubuntu. TASK [use ceph-volume to create bluestore osds] ******************** cmd: - ceph-volume - --cluster - ceph - lvm - create - --bluestore - --data - /dev/sdb rc: 1 stderr: |- Traceback (most recent call last): (...) UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 132: ordinal not in range(128) Note that the task is failing on ansible side due to the stdout decoding but the osd creation is successful. Signed-off-by: Dimitri Savineau <dsavinea@redhat.com> |
||
---|---|---|
.. | ||
scenarios | ||
activate_osds.yml | ||
build_devices.yml | ||
ceph_disk_cli_options_facts.yml | ||
check_gpt.yml | ||
common.yml | ||
main.yml | ||
openstack_config.yml | ||
start_osds.yml | ||
system_tuning.yml |