Bug 1787516 - [ceph-ansible] ansible-playbook site.yml --limit mgrs fails
Summary: [ceph-ansible] ansible-playbook site.yml --limit mgrs fails
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 4.0
Assignee: Guillaume Abrioux
QA Contact: Vasishta
URL:
Whiteboard:
Depends On:
Blocks: 1677431
TreeView+ depends on / blocked
 
Reported: 2020-01-03 08:53 UTC by Ameena Suhani S H
Modified: 2020-01-03 09:01 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-03 09:01:03 UTC
Embargoed:


Attachments (Terms of Use)
group_vars, inventory and ansible logs (1.86 KB, text/plain)
2020-01-03 08:53 UTC, Ameena Suhani S H
no flags Details

Description Ameena Suhani S H 2020-01-03 08:53:13 UTC
Created attachment 1649349 [details]
group_vars, inventory and ansible logs

Description of problem:
ansible-playbook site.yml --limit mgrs fails

Version-Release number of selected component (if applicable):
ceph version 14.2.4-31.el7cp

How reproducible:
3/3

Steps to Reproduce:
1.deploy 3.x cluster on rhel 7
2.upgrade to 4.x
3.add new mgr in inventory
4.run ansible-playbook site.yml --limit mgrs

Actual results:
Following error is seen
$ansible-playbook site.yml --limit mgrs

ERROR! the role 'ceph-restapi' was not found in /usr/share/ceph-ansible/roles:/usr/share/ceph-ansible/roles:/usr/share/ceph-ansible

The error appears to be in '/usr/share/ceph-ansible/site.yml': line 295, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

        - ceph_release_num[ceph_release] <= ceph_release_num.luminous
    - role: ceph-restapi
      ^ here



Expected results:
mgr should be added successfully

Additional info:


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