Bug 1498490
Summary: | [ceph-ansible]: configuring iscsi gateways through ansible failed with "gateway_ip_list" error. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Manohar Murthy <mmurthy> | ||||||
Component: | Ceph-Ansible | Assignee: | Sébastien Han <shan> | ||||||
Status: | CLOSED ERRATA | QA Contact: | ceph-qe-bugs <ceph-qe-bugs> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 3.0 | CC: | adeza, anharris, aschoen, bancinco, ceph-eng-bugs, gmeno, nthomas, sankarshan, shan, tchandra | ||||||
Target Milestone: | rc | ||||||||
Target Release: | 3.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | RHEL: ceph-ansible-3.0.0-0.1.rc17 Ubuntu: ceph-ansible-3.0.0~rc17-2redhat1 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2017-12-05 23:46:42 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Created attachment 1334220 [details]
iscsi-gws.yml
iscsi-gws.yml does not exist in ceph-ansible anymore, also it's not attached to the BZ. You need to use site.yml to deploy iscsi-gws. Then run: cp group_vars/iscsi-gws.yml.sample group_vars/iscsi-gws.yml Edit group_vars/iscsi-gws.yml and change gateway_ip_list This is not a bug, more a doc fix for me. Bara, what do you think? Thanks! Seb, We have run site.yml itself. Attached is the iscsi-gws.yml file which we have used. You can also see the ansible playbook run log attached. Thanks, Tejas If the MON section has been erased this means you failed to pass a mandatory variable (like monitor_interface or so), can I see your all.yml file? I'm receiving a mixed message from this BZ, at first, someone said you used iscsi-gws.yml, the site.yml, this is not very clear. Also on your machine, I don't see any /usr/share/ceph-ansible, and ansible is not installed. I don't know where to look. Thanks. Sorry, ignore my previous comments on iscsi-gws.yml I thought you were using the 'old' playbook to deploy gateways. I'm looking into your setup at the moment. Thanks! fix will be in rc17 Issue is solved in below build. Able to configure iSCSI GWs using ceph-ansible. ceph-ansible: ceph-ansible-3.0.0-0.1.rc17.el7cp.noarch iSCSI config : ceph-iscsi-config-2.3-11.el7cp.noarch 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 |
Created attachment 1334219 [details] ansible-error-log Description of problem: Configuring the iscsi GWs through ansible failed. Able to configure through gwcli Version-Release number of selected component (if applicable): ceph-ansible-3.0.0-0.1.rc15.el7cp.noarch ceph-iscsi-cli-2.5-8.el7cp.noarch ceph-iscsi-config-2.3-10.el7cp.noarch Steps to Reproduce: 1.Cluster is up and running then updated iscsi GW details in iscsi-gws.yml and ran playbook again. 2.Nothing was created from gwcli, tried to create target,Gateways and disks from ansible 3.trusted ip list error is shown . Tried with even single ip and removing double quotes but still same error is seen. Added ansible-console log and iscsi-gws.yml files. Error message : fatal: [avenger]: FAILED! => {"changed": false, "failed": true, "msg": "you must set a list of IPs (comma separated) for gateway_ip_list"} fatal: [banshee]: FAILED! => {"changed": false, "failed": true, "msg": "you must set a list of IPs (comma separated) for gateway_ip_list"} [WARNING]: when statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: ceph_release_num.{{ ceph_stable_release }} >= ceph_release_num.luminous fatal: [catalina]: FAILED! => {"changed": false, "failed": true, "msg": "you must set a list of IPs (comma separated) for gateway_ip_list"} fatal: [cornell]: FAILED! => {"changed": false, "failed": true, "msg": "you must set a list of IPs (comma separated) for gateway_ip_list"}