Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create report file when applying config properties during image build. #203

Open
frowe opened this issue Feb 21, 2020 · 0 comments
Open

Comments

@frowe
Copy link
Contributor

frowe commented Feb 21, 2020

When using property files to configure a server, if there is a failure, it is not easy to debug because applyConfig.py does AdminTask.applyConfigProperties('[-propertiesFileName ' + filename + ' -validate true]') w/o specifying a report file, so the details of any failure are lost. Something like AdminTask.applyConfigProperties('[-propertiesFileName ' + filename + ' -validate true -reportFileName applyConfigPropsReport.txt -reportFilterMechanism Errors]') would allow you to create a container from the image, shell into it and look at the failure. The alternative is to create a container from the image, shell into it and attempt to apply the config props again specifying a report file name, but since the config was saved by the build step, you're going to have issues with trying to apply the same config twice for those objects that were successfully created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant