Bug 2170727
| Summary: | "TypeError: string.split is not a function" when accessing ansible variables on a host | |||
|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | matt jia <mjia> | |
| Component: | Ansible | Assignee: | nalfassi | |
| Status: | POST --- | QA Contact: | Satellite QE Team <sat-qe-bz-list> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 6.12.1 | CC: | addubey, ahumbe, kkinge, lstejska, nalfassi, swachira, sysadmin5 | |
| Target Milestone: | Unspecified | Keywords: | Regression, Triaged | |
| Target Release: | Unused | |||
| Hardware: | All | |||
| OS: | All | |||
| Whiteboard: | ||||
| Fixed In Version: | rubygem-foreman_ansible-7.1.8 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2211966 (view as bug list) | Environment: | ||
| Last Closed: | 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: | ||||
We were able to reproduce it both on 6.12 and 6.13 Created redmine issue https://projects.theforeman.org/issues/36136 from this bug Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36136 has been resolved. |
Description of problem: Checking Ansible variables on a host hit: TypeError: string.split is not a function in O in a in f in div in s in t in t in f in l in d in s in d in C in t in t in t in t in d in section in PageSection in M in t in t in u in f in d in div in c in p in y in t in n in a in C in s in div in b in IntlProvider in I18nProviderWrapper(b) in d in StoreProvider(I18nProviderWrapper(b)) in DataProvider(StoreProvider(I18nProviderWrapper(b))) Version-Release number of selected component (if applicable): 6.12 How reproducible: Easy Steps to Reproduce: 1. create a new Ansible variable with array type. Default value is ["test"] 2. enable both 'Merge Overrides' and 'Merge Default' 3. add the variable to a role 4. attach the role to a host 5. check the ansible variables on the host Actual results: TypeError: string.split is not a function, in O in a in f in div in s in t in t in f in l in d in Expected results: should no error Additional info: the error only happens when both 'Merge Overrides' and 'Merge Default' are on