Bug 1609050
| Summary: | Logging environment file causes error in existing deployment | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Christopher Brown <chris.brown> | ||||
| Component: | rhosp-director | Assignee: | Juan Badia Payno <jbadiapa> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | Gurenko Alex <agurenko> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 10.0 (Newton) | CC: | chris.brown, dbecker, jslagle, mburns, morazi, mtenheuv, pkilambi | ||||
| Target Milestone: | --- | Keywords: | Triaged, ZStream | ||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2018-10-01 14:52:20 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Christopher Brown
2018-07-26 20:14:41 UTC
Thank you for this bug report. I don't see the logging-environment.yaml you mention attached; please would you check this? Thanks, David Created attachment 1471001 [details]
logging environment file
(In reply to David Peacock from comment #1) > Thank you for this bug report. I don't see the logging-environment.yaml you > mention attached; please would you check this? Ok, have attached, as mentioned, its as basic as can be. Let's try to find out where the problem is without logging into the servers.
Could you run the following commands and upload the overcloud_resource_failed.log?
for failed in $(openstack stack resource list \
--nested-depth 5 overcloud | grep FAILED |
grep 'StructuredDeployment ' | cut -d '|' -f3)
do
echo "heat deployment-show out put for deployment: $failed" >> overcloud_resource_failed.log
echo "######################################################" >> overcloud_resource_failed.log
heat deployment-show $failed >> overcloud_resource_failed.log
echo "######################################################" >> overcloud_resource_failed.log
echo "puppet standard error for deployment: $failed" >> overcloud_resource_failed.log
echo "######################################################" >> overcloud_resource_failed.log
# the sed part removes color codes from the text
heat deployment-show $failed |
jq -r .output_values.deploy_stderr |
sed -r "s:\x1B\[[0-9;]*[mK]::g" >> overcloud_resource_failed.log
echo "######################################################" >> overcloud_resource_failed.log
done
BTW, if the problem persists with and without the logging-environment file, IMO the problem should be somewhere else.
Could you attach the common.yaml file?
Hi Juan, We have worked around this by automating elsewhere in the templates. I don't currently have access to an environment where I can test this now but may do in a few days. Will update if so. Thanks Chris Hi Juan, I don't have access to this environment any longer. The error occurred by including this file so I don't think its anything specific to my environment. If you cannot replicate feel free to close. Cheers Chris I was not able to replicate the error. |