ceph-ansible/roles/ceph-osd/tasks/scenarios
Dimitri Savineau 7e5e4229b7 ceph-volume: Add PYTHONIOENCODING env variable
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>
2019-04-02 12:41:55 +02:00
..
collocated.yml Add new container scenario 2018-11-27 16:47:40 +00:00
lvm-batch.yml ceph-volume: Add PYTHONIOENCODING env variable 2019-04-02 12:41:55 +02:00
lvm.yml ceph-volume: Add PYTHONIOENCODING env variable 2019-04-02 12:41:55 +02:00
non-collocated.yml add support for rocksdb and wal on the same partition in non-collocated 2018-12-20 14:19:46 +01:00