Bug 1492160 - [ceph-ansible]: mandatory variable check failed even though its enabled
Summary: [ceph-ansible]: mandatory variable check failed even though its enabled
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.0
Hardware: Unspecified
OS: Linux
high
medium
Target Milestone: rc
: 3.0
Assignee: Sébastien Han
QA Contact: Vasishta
URL:
Whiteboard:
Depends On:
Blocks: 1484083
TreeView+ depends on / blocked
 
Reported: 2017-09-15 15:53 UTC by Tejas
Modified: 2017-12-05 23:43 UTC (History)
8 users (show)

Fixed In Version: RHEL: ceph-ansible-3.0.0-0.1.rc9.el7cp Ubuntu: ceph-ansible_3.0.0~rc9-2redhat1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-05 23:43:31 UTC
Embargoed:


Attachments (Terms of Use)
ceph-anible playbook (62.44 KB, text/plain)
2017-09-15 15:53 UTC, Tejas
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 1900 0 None closed rpm: ship rhcs.yaml.sample as all.yml.sample on RHEL 2020-11-20 04:54:51 UTC
Red Hat Product Errata RHBA-2017:3387 0 normal SHIPPED_LIVE Red Hat Ceph Storage 3.0 bug fix and enhancement update 2017-12-06 03:03:45 UTC

Description Tejas 2017-09-15 15:53:37 UTC
Created attachment 1326543 [details]
ceph-anible playbook

Description of problem:
      Running site.yml on a existing cluster, for configuring iSCSI gateways.
Seeing this error:

TASK [ceph-common : make sure an installation origin was chosen] ************************************************************************************************************
task path: /usr/share/ceph-ansible/roles/ceph-common/tasks/checks/check_mandatory_vars.yml:2
fatal: [havoc]: FAILED! => {"changed": false, "failed": true, "msg": "choose an installation origin between repository, distro and local\nValid ceph_origin are: [u'repository', u'distro', u'local']"}
fatal: [mustang]: FAILED! => {"changed": false, "failed": true, "msg": "choose an installation origin between repository, distro and local\nValid ceph_origin are: [u'repository', u'distro', u'local']"}
fatal: [skytrain]: FAILED! => {"changed": false, "failed": true, "msg": "choose an installation origin between repository, distro and local\nValid ceph_origin are: [u'repository', u'distro', u'local']"}



Version-Release number of selected component (if applicable):
ceph-ansible-3.0.0-0.1.rc8.1.el7cp.noarch
ansible-2.3.2.0-2.el7.noarch


Additional info:
Attaching the playbook log.

options enabled in rhcs.yml:
ceph_origin: distro
ceph_repository: rhcs
ceph_stable_release: luminous
monitor_interface: ens2f0
public_network: 10.70.39.0/24

Comment 2 seb 2017-09-18 13:49:44 UTC
sorry you have to copy rhcs.yml to all.yml
fix upstream, tag today https://github.com/ceph/ceph-ansible/pull/1900

Comment 9 errata-xmlrpc 2017-12-05 23:43:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:3387


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