[Openstack-security] [Bug 1590185] Re: "V-38496 - Gather problematic system accounts" check fails on RHEL 7

Major Hayden major at mhtx.net
Wed Aug 24 20:58:51 UTC 2016


** Changed in: openstack-ansible
       Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of OpenStack
Security, which is subscribed to OpenStack.
https://bugs.launchpad.net/bugs/1590185

Title:
  "V-38496 - Gather problematic system accounts" check fails on RHEL 7

Status in openstack-ansible:
  Incomplete

Bug description:
  The check "V-38496 - Gather problematic system accounts" fails
  gloriously due to RHEL 7 not using jinja2.8 by default.  The specific
  issue is due to Jinja being 2.7 and not 2.8.

  If see the following error then you need to run "pip install Jinja2
  --upgrade":

  TASK: [openstack-ansible-security | V-38496 - Gather problematic system accounts] *** 
  fatal: [172.31.255.20] => Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/ansible/runner/__init__.py", line 586, in _executor
      exec_rc = self._executor_internal(host, new_stdin)
    File "/usr/lib/python2.7/site-packages/ansible/runner/__init__.py", line 789, in _executor_internal
      return self._executor_internal_inner(host, self.module_name, self.module_args, inject, port, complex_args=complex_args)
    File "/usr/lib/python2.7/site-packages/ansible/runner/__init__.py", line 1013, in _executor_internal_inner
      complex_args = template.template(self.basedir, complex_args, inject, fail_on_undefined=self.error_on_undefined_vars)
    File "/usr/lib/python2.7/site-packages/ansible/utils/template.py", line 140, in template
      d[k] = template(basedir, v, templatevars, lookup_fatal, depth, expand_lists, convert_bare, fail_on_undefined, filter_fatal)
    File "/usr/lib/python2.7/site-packages/ansible/utils/template.py", line 124, in template
      varname = template_from_string(basedir, varname, templatevars, fail_on_undefined)
    File "/usr/lib/python2.7/site-packages/ansible/utils/template.py", line 382, in template_from_string
      res = jinja2.utils.concat(rf)
    File "<template>", line 11, in root
    File "/usr/lib/python2.7/site-packages/jinja2/filters.py", line 318, in do_join
      return text_type(d).join(imap(text_type, value))
    File "/usr/lib/python2.7/site-packages/jinja2/filters.py", line 931, in _select_or_reject
      if modfunc(func(transfunc(item))):
    File "/usr/lib/python2.7/site-packages/jinja2/filters.py", line 925, in <lambda>
      name, item, args, kwargs)
    File "/usr/lib/python2.7/site-packages/jinja2/environment.py", line 438, in call_test
      raise TemplateRuntimeError('no test named %r' % name)
  TemplateRuntimeError: no test named 'equalto'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstack-ansible/+bug/1590185/+subscriptions




More information about the Openstack-security mailing list