If the user name does not match the name of the node that started the RADOSGW service, this will cause confusion for those who are new to ceph. Because they can't start the radosgw service normally as shown in the tutorial.
Signed-off-by: hejindong <wodeshijie3394@126.com>
(cherry picked from commit
128e6451d8c4764025d4a2565f15ec175c857bb2)
.. prompt:: bash #
- ceph auth get-or-create client.short-hostname-of-rgw mon 'allow rw' osd 'allow rwx'
+ ceph auth get-or-create client.$(hostname -s) mon 'allow rw' osd 'allow rwx'
#. On one of the RGW nodes, do the following: