docs: def get_erasure_profile(service, name):
      """
      :param service: six.string_types. The Ceph user name to run the command under
      :param name:
      :return:
      """
      try:
          out = check_output(['ceph', '--id', service,
                              'osd', 'erasure-code-profile', 'get',
                              name, '--format=json'])
          if six.PY3:
              out = out.decode('UTF-8')
          return json.loads(out)
      except (CalledProcessError, OSError, ValueError):
          return None