Bug 1658477 - Fail to run playbook rhel_subscribe.yml on ocp Atomic env
Summary: Fail to run playbook rhel_subscribe.yml on ocp Atomic env
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.7.1
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 3.7.z
Assignee: Scott Dodson
QA Contact: Johnny Liu
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-12 09:08 UTC by ge liu
Modified: 2019-02-15 21:21 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-15 21:21:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Inventory file (4.71 KB, text/plain)
2018-12-12 09:16 UTC, ge liu
no flags Details

Description ge liu 2018-12-12 09:08:23 UTC
Description of problem:
run playbook:rhel_subscribe.yml, got error:  "msg": "missing required arguments: image, backend", it only fails on atomic, but pass successfully on rhel.
it seems have some root cause with bug:https://bugzilla.redhat.com/show_bug.cgi?id=1646887


ansible-2.6.6-1.el7ae.noarch
openshift-ansible-3.7.76-1.git.0.1c49d6d.el7.noarch

How reproducible:
Always

Steps to Reproduce:

# ansible-playbook rhel_subscribe.yml -i /tmp/37inventory1 -v
.......
....
TASK [os_update_latest : Update all packages] ****************************************************************************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|success` use `result is success`. This feature will be removed in 
version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
FAILED - RETRYING: Update all packages (3 retries left).
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|success` use `result is success`. This feature will be removed in 
version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
FAILED - RETRYING: Update all packages (3 retries left).
FAILED - RETRYING: Update all packages (2 retries left).
FAILED - RETRYING: Update all packages (2 retries left).
FAILED - RETRYING: Update all packages (1 retries left).
FAILED - RETRYING: Update all packages (1 retries left).
fatal: [host-8-241-106.host.centralci.eng.rdu2.redhat.com]: FAILED! => {"attempts": 3, "changed": false, "msg": "missing required arguments: image, backend"}
fatal: [host-8-246-224.host.centralci.eng.rdu2.redhat.com]: FAILED! => {"attempts": 3, "changed": false, "msg": "missing required arguments: image, backend"}
    to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/rhel_subscribe.retry

PLAY RECAP ***************************************************************************************************************************************************
host-8-241-106.host.centralci.eng.rdu2.redhat.com : ok=8    changed=1    unreachable=0    failed=1   
host-8-246-224.host.centralci.eng.rdu2.redhat.com : ok=8    changed=2    unreachable=0    failed=1   
localhost                  : ok=1    changed=0    unreachable=0    failed=0   


Actual results:
As title
Expected results:
Run playbook successfully

Comment 1 ge liu 2018-12-12 09:10:45 UTC
oc v3.7.76
kubernetes v1.7.6+a08f5eeb62
features: Basic-Auth GSSAPI Kerberos SPNEGO

Comment 2 ge liu 2018-12-12 09:16:01 UTC
Created attachment 1513624 [details]
Inventory file

Comment 3 Scott Dodson 2019-02-15 21:21:57 UTC
There appear to be no active cases related to this bug. As such we're closing this bug in order to focus on bugs that are still tied to active customer cases. Please re-open this bug if you feel it was closed in error or a new active case is attached.


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