These aliases have led to several issues making believe that ceph
binaries are actually present on the host when running the command.
However it wasn't explicit that the commands were only ran inside a
container.
It has brought to much confusion so we decided to remove them.
Closes: https://github.com/ceph/ceph-ansible/issues/3445
Signed-off-by: Sébastien Han <seb@redhat.com>
+++ /dev/null
----
-- name: configure ceph profile.d aliases
- template:
- src: ceph-aliases.sh.j2
- dest: "/etc/profile.d/ceph-aliases.sh"
- mode: 0755
- owner: root
- group: root
- name: crush_rules.yml
include_tasks: crush_rules.yml
when:
- - crush_rule_config
-
-- name: include configure_ceph_command_aliases.yml
- include_tasks: configure_ceph_command_aliases.yml
- when:
- - containerized_deployment
\ No newline at end of file
+ - crush_rule_config
\ No newline at end of file
+++ /dev/null
-#!/bin/bash
-# Sets up handy aliases for ceph.
-ceph() {
- sudo {{ docker_exec_cmd }} ceph --cluster {{ cluster }} ${@}
-}
-
-radosgw-admin() {
- sudo {{ docker_exec_cmd }} radosgw-admin --cluster {{ cluster }} ${@}
-}
-
-rados() {
- sudo {{ docker_exec_cmd }} rados --cluster {{ cluster }} ${@}
-}
-
-rbd() {
- sudo {{ docker_exec_cmd }} rbd --cluster {{ cluster }} ${@}
-}