Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1552210 - [ceph-ansible] [ceph-container] : failed to add new mgr with '--limit' option - trying to copy mgr keyring without generating
[ceph-ansible] [ceph-container] : failed to add new mgr with '--limit' option...
Status: NEW
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Ceph-Ansible (Show other bugs)
3.0
Unspecified Unspecified
unspecified Severity medium
: rc
: 3.*
Assigned To: leseb
ceph-qe-bugs
Aron Gunn
:
Depends On:
Blocks: 1494421 1544643
  Show dependency treegraph
 
Reported: 2018-03-06 11:53 EST by Vasishta
Modified: 2018-11-02 13:02 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
.Adding a new Ceph Manager node will fail when using the Ansible `limit` option Adding a new Ceph Manager to an existing storage cluster using the Ansible `limit` option, tries to copy the Ceph Manager's keyring without generating it first. This causes the Ansible playbook to fail and the new Ceph Manager node will not be configured properly. To workaround this issue, do not use the `limit` option while running the Ansible playbook. This will result in a newly generated keyring to be copied successfully.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
File contains contents of ansible-playbook log (1.17 MB, text/plain)
2018-03-06 11:53 EST, Vasishta
no flags Details

  None (edit)
Description Vasishta 2018-03-06 11:53:24 EST
Created attachment 1404942 [details]
File contains contents of ansible-playbook log

Description of problem:
After upgrading containerized cluster from 3.0 to 3.0.z1, tried to add new mgr with --limit option. ansible-playbook failed trying to copy new mgr's keyring without generating

Version-Release number of selected component (if applicable):
ceph-ansible-3.0.27-1.el7cp.noarch

How reproducible:
Always (1/1)

Steps to Reproduce:
1. Configure containerized cluster.
2. Add new mgr with limit option to limit configuration to mgrs while running playbook.

Actual results: (magna035 had existing mgr, new mgr was planned to be configured on magna036)
TASK [ceph-mgr : copy mgr key to /var/lib/ceph/mgr/ondu-magna035/keyring] *************************
"stderr": "cp: cannot stat ‘/etc/ceph/ondu.mgr.magna036.keyring’: No such file or directory", "stderr_lines": ["cp: cannot stat ‘/etc/ceph/ondu.mgr.magna036.keyring’: No such file or directory"]

Expected results:
Playbook must complete its run with successfully configuring new mgr

Additional info:
Though it was time consuming, Without using limit option, mgr could be added successfully.

Note You need to log in before you can comment on or make changes to this bug.