Hi Alfredo Deza,
I confirmed that the problem is still there when using latest ceph-deploy
whatever install ceph-deploy through bootstrap or in deb package format.
https://tracker.ceph.com/issues/41609
B.R.
Changcheng
-----Original Message-----
From: Liu, Changcheng
Sent: Tuesday, September 3, 2019 9:17 PM
To: 'Liu, Changcheng' <[email protected]>; Alfredo Deza
<[email protected]>
Cc: [email protected]
Subject: RE: ceph-volume 'ascii' codec can't decode byte 0xe2
Hi Alfredo Deza,
Could you help check below problem? I meet with one problem when trying
to install latest ceph-deploy on host.
https://tracker.ceph.com/issues/41616
B.R.
Changcheng
-----Original Message-----
From: Liu, Changcheng [mailto:[email protected]]
Sent: Tuesday, September 3, 2019 8:21 PM
To: Alfredo Deza <[email protected]>
Cc: [email protected]
Subject: Re: ceph-volume 'ascii' codec can't decode byte 0xe2
Hi Alfredo Deza,
I've updated all info to https://tracker.ceph.com/issues/41609
It succeed to below command to create OSD directly:
sudo /usr/sbin/ceph-volume --log-path ceph-volume.log --cluster ceph lvm
create --bluestore --data /dev/sdc
However, it failed to create OSD with below command:
ceph-deploy -v osd create --data /dev/sdc nstcloudcc1
It this a known/fixed problem in ceph-deploy?
It succeed to use ceph-deploy to create mon & mgr on nstcloudcc1 before
creating OSD.
B.R.
Changcheng
On 07:50 Tue 03 Sep, Alfredo Deza wrote:
> On Mon, Sep 2, 2019 at 9:46 PM Liu, Changcheng <[email protected]>
> wrote:
> >
> > 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?
>
> Can you get the ceph-volume logs as well? I can't tell if this is
> ceph-deploy or ceph-volume, the logs seemed trimmed from other details
> that would be useful here
> >
> > 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
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com