Hi Alfredo Deza
I see your below PR in ceph
PR 23289 "ceph-volume ensure encoded bytes are always used"
I meet with one problem when using ceph-deploy to deploy ceph cluster.
During running ceph-volume command to create OSD through ceph-deploy, it
always hit below problem:
nstcc1@nstcloudcc1:deploy$ PYTHONIOENCODING=UTF8 ceph-deploy osd create
--data /dev/sdc nstcloudcc1
[nstcloudcc1][WARNIN] stderr: purged osd.0
[nstcloudcc1][WARNIN] --> UnicodeDecodeError: 'ascii' codec can't decode
byte 0xe2 in position 132: ordinal not in range(128)
[nstcloudcc1][ERROR ] RuntimeError: command returned non-zero exit status:
1
[ceph_deploy.osd][ERROR ] Failed to execute command: /usr/sbin/ceph-volume
--cluster ceph lvm create --bluestore --data /dev/sdc
[ceph_deploy][ERROR ] GenericError: Failed to create 1 OSDs
Do you know how to solve the problem?
Below is the deploy host environment:
nstcc1@nstcloudcc1:deploy$ cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.1 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.1 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic
nstcc1@nstcloudcc1:deploy$ env | grep 'LC_\|PYTHON'
LC_ALL=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_PAPER=en_US.UTF-8
LC_MONETARY=en_US.UTF-8
PYTHONIOENCODING=UTF8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_NUMERIC=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_TIME=en_US.UTF-8
nstcc1@nstcloudcc1:deploy$ python --version
Python 2.7.15rc1
B.R.
Changcheng
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io