Description of problem: $ tox -epep8 ... pep8 runtests: commands[3] | bash -c ./tools/roles-data-validation.sh WARNING:test command found but not installed in testenv cmd: /usr/bin/bash env: /tmp/openstack-tripleo-heat-templates/.tox/pep8 Maybe you forgot to specify a dependency? See also the whitelist_externals envconfig setting. Generating /tmp/tmp.VPryKRFDe5/roles_data.yaml Generating /tmp/tmp.VPryKRFDe5/roles_data_undercloud.yaml Performing diff on /tmp/openstack-tripleo-heat-templates/roles_data.yaml /tmp/tmp.VPryKRFDe5/roles_data.yaml... ERROR: Generated roles file not match the current /tmp/openstack-tripleo-heat-templates/roles_data.yaml Please make sure to update the appropriate roles/* files. Here is the diff /tmp/openstack-tripleo-heat-templates/roles_data.yaml /tmp/tmp.VPryKRFDe5/roles_data.yaml 162a163 > HostnameFormatDefault: '%stackname%-novacompute-%index%' ERROR: InvocationError: '/usr/bin/bash -c ./tools/roles-data-validation.sh' _____________________________________________________________________________________________________ summary _____________________________________________________________________________________________________ ERROR: pep8: commands failed Version-Release number of selected component (if applicable): 06c3578b13befea71b6efe78910bb95accdf6736
Verified on puddle 2018-02-27.3 [stack@undercloud-0 ~]$ rpm -q openstack-tripleo-heat-templates openstack-tripleo-heat-templates-7.0.9-2.el7ost.noarch [stack@undercloud-0 ~]$ bash -c $(locate roles-data-validation.sh) Generating /tmp/tmp.nTlXXO5hJq/roles_data.yaml Generating /tmp/tmp.nTlXXO5hJq/roles_data_undercloud.yaml Performing diff on /usr/share/openstack-tripleo-heat-templates/roles_data.yaml /tmp/tmp.nTlXXO5hJq/roles_data.yaml... OK! Performing diff on /usr/share/openstack-tripleo-heat-templates/roles_data_undercloud.yaml /tmp/tmp.nTlXXO5hJq/roles_data_undercloud.yaml... OK!
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0602