Description of problem: heat_tempest_plugin.tests.scenario.test_server_cfn_init.CfnInitIntegrationTest.test_server_cfn_init is a test case to verify notification feature in heat. In this test case, it requires to have cfn-tools placed under /opt/aws/bin in the guest image. However, this path can not be found in RHEL, CentOS, and even Fedora image, which seems to be used in community testing, and we need to edit guest image to pass this test. I checked the latest these images, and confirmed we have cfn-tools under /usr/bin, IMO it would be better to change the path specified in the heat template. How reproducible: Always Steps to Reproduce: 1. run the said test case with RHEL, CentOS, or Fedora image Actual results: The test case fails without editing guest image Expected results: We can pass the test case without editing guest image Additional info:
Please find the attached gerrit url, about possible fix already proposed to community gerrit. It would be nice if I can get some help to land the patch .
Checked the latest tempest, the fix is there: Properties: ImageId: {Ref: image} InstanceType: {Ref: flavor} KeyName: {Ref: key_name} SubnetId: {Ref: subnet} SecurityGroups: - {Ref: SmokeSecurityGroup} UserData: Fn::Replace: - WaitHandle: {Ref: WaitHandle} - | #!/bin/bash -v /usr/bin/cfn-init /usr/bin/cfn-signal -e 0 --data "`cat /tmp/smoke-status`" \ --id smoke_status "WaitHandle" Verified
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/RHBA-2019:0926