Since the shift to handling nested stacks over RPC, error messages from within them have become utterly incomprehensible. The nested stack resource reports its status as:
ResourceUnknownStatus: Resource failed - Unknown status FAILED due to "..."
Which is ridiculous. The status isn't unknown, we should know exactly what FAILED means and just pass the error message along. A couple of layers of nested stacks deep (not uncommon) and we are quickly into absurdities the likes of which were previously restricted to such things as C++ linker errors:
ResourceUnknownStatus: Resource failed - Unknown status FAILED due to "Resource CREATE failed: ResourceUnknownStatus: Resource failed - Unknown status FAILED due to "Resource CREATE failed: Error: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 6""
It doesn't even add any useful information, like the name of the resource that failed, just noise.
Fix proposed to branch: master /review. openstack. org/188228
Review: https:/