ceph_client: client commands should be executed by non-root user
Bug #1773925 reported by
Juha Kosonen
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Wishlist
|
Dmitriy Rabotyagov |
Bug Description
When root login is disabled in target host, one should use non-root sudo user in login and execution of following task in tasks/ceph_
# look for 1 ceph monitor host that is up
- name: Verify Ceph monitors are up
local_action: >
command ssh
-o ConnectTimeout=6
-o UserKnownHostsF
-o StrictHostKeyCh
{{ item }}
exit
with_items: "{{ ceph_mons }}"
changed_when: false
failed_when: false
register: ceph_mon_upcheck
Changed in openstack-ansible: | |
assignee: | nobody → Dmitriy Rabotjagov (noonedeadpunk) |
Changed in openstack-ansible: | |
status: | Confirmed → Fix Committed |
Changed in openstack-ansible: | |
status: | Fix Committed → In Progress |
To post a comment you must log in.
Hi Juha, Were you able to resolve this issue? if so how? Looks like we need to do some work in the ceph client role to remove root assumptions. Given that this is a known requirement of the playbooks we're marking this as wishlist however if there's something we can do to help this along please report the steps to resovle here or join the OSA channel and let us know how best to assist.