Bug 1587882
| Summary: | Etcd scale-up playbook couldn't work | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Gaoyun Pei <gpei> |
| Component: | Installer | Assignee: | Scott Dodson <sdodson> |
| Status: | CLOSED DUPLICATE | QA Contact: | Gaoyun Pei <gpei> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 3.10.0 | CC: | aos-bugs, jokerman, mmccomas, vlaad, xtian |
| Target Milestone: | --- | ||
| Target Release: | 3.10.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-06-06 14:55:26 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: | |||
Closing as its dup of existing bug, please see https://bugzilla.redhat.com/show_bug.cgi?id=1578482#c4 and raise the sev of needed on that bz. *** This bug has been marked as a duplicate of bug 1578482 *** |
Description of problem: Run etcd scale-up playbook but failed as below: TASK [etcd : Add new etcd members to cluster] ******************************************************************************************************************************* fatal: [ec2-34-207-200-174.compute-1.amazonaws.com]: FAILED! => {"failed": true, "msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'etcd_ip'\n\nThe error appears to have been in '/usr/share/ansible/openshift-ansible/roles/etcd/tasks/add_new_member.yml': line 5, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Add new etcd members to cluster\n ^ here\n\nexception type: <class 'ansible.errors.AnsibleUndefinedVariable'>\nexception: 'dict object' has no attribute 'etcd_ip'"} Version-Release number of the following components: openshift-ansible-3.10.0-0.60.0.git.0.bf95bf8.el7.noarch How reproducible: Always Steps to Reproduce: 1.Add [new_etcd] group in the inventory file, run etcd scale-up playbook #ansible-playbook -i 310_scale_etcd /usr/share/ansible/openshift-ansible/playbooks/openshift-etcd/scaleup.yml -v Actual results: Please include the entire output from the last TASK line through the end of output if an error is generated Expected results: Additional info: Please attach logs from ansible-playbook with the -vvv flag