Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-16124

"TypeError: string.split is not a function" when accessing ansible variables on a host

XMLWordPrintable

    • Rocket Sprint 10, Rocket Sprint 11, Rocket Sprint 12
    • Moderate
    • Yes

      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

              rh-ee-nalfassi Nofar Alfassi
              jira-bugzilla-migration RH Bugzilla Integration
              Adarsh Dubey Adarsh Dubey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: