ceph-ansible/roles
Dimitri Savineau 0274b880f1 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>
(cherry picked from commit 7e5e4229b7)
2019-04-03 11:27:46 +02:00
..
ceph-agent retry on packages and repositories failures 2018-12-19 14:48:27 +00:00
ceph-client remove all NBSPs on master branch 2019-03-28 11:57:55 +00:00
ceph-common ceph-common: Install yum plugin priorities 2019-03-16 06:24:55 +00:00
ceph-config ceph-volume: Add PYTHONIOENCODING env variable 2019-04-03 11:27:46 +02:00
ceph-container-common container: Add python3-docker on Ubuntu bionic 2019-03-28 08:03:58 +00:00
ceph-defaults Set the default crush rule in ceph.conf 2019-03-14 08:56:52 +00:00
ceph-facts remove all NBSPs on master branch 2019-03-28 11:57:55 +00:00
ceph-fetch-keys meta: set the right minimum ansible version required for galaxy 2018-12-11 09:59:25 +01:00
ceph-handler handlers: do not trigger handlers on rolling_update 2019-03-25 16:02:56 -04:00
ceph-infra ceph-infra: Remove restart firewalld handler 2019-02-22 18:15:47 +00:00
ceph-iscsi-gw update: mask systemd service units during upgrade 2019-03-25 16:02:56 -04:00
ceph-mds update: add containerized deployment upgrade support (L->N) 2019-03-25 16:02:56 -04:00
ceph-mgr update: mask systemd service units during upgrade 2019-03-25 16:02:56 -04:00
ceph-mon mon: fetch initial keyring even when running rolling_update 2019-03-25 16:02:56 -04:00
ceph-nfs update: mask systemd service units during upgrade 2019-03-25 16:02:56 -04:00
ceph-osd ceph-volume: Add PYTHONIOENCODING env variable 2019-04-03 11:27:46 +02:00
ceph-rbd-mirror update: mask systemd service units during upgrade 2019-03-25 16:02:56 -04:00
ceph-rgw rgw: fix a typo 2019-03-25 16:02:56 -04:00
ceph-validate ceph-validate: fail if there's no ipaddr available in monitor_address_block subnet 2019-03-18 16:35:36 +00:00