redhat-openstack / ansible-role-tripleo-image-build

An ansible role used to create and publish quickstart built images
Apache License 2.0
5 stars 3 forks source link

image building: make logs / output more accessible and usable #4

Closed halcyondude closed 8 years ago

halcyondude commented 8 years ago

Moved over from: https://github.com/redhat-openstack/tripleo-quickstart/issues/53

Currently the output from the playbook that builds images is a bit of a land-mine. In the case of the output from DIB when it creates the overcloud image, it ends up being > 400,000 characters on a single line. This literally makes Atom, Emacs, PyCharm, Gedit, Kate, VIM, etc go into a death loop trying to parse the line. If one waits far longer than I have patience for (minutes) eventually you'll get back. Interim solutions are to not use the ansible output directly, rather passing it thru sed first to turn \n into \n, open the logfile that's captured, etc. It's a low priority issue, but the first time it happened to me I thought "Ouch...that hurt..." As this project catches on I think anything that increases friction for developers / newcomers should where possible be fixed. In addition, it would be pretty cool to have a nice summary of what was built, the source of the

halcyondude commented 8 years ago

Update, as it's been a while.

halcyondude commented 8 years ago

Most of this is accomplished. ara can be brought in as a separate role, or as something this role exports configuration for via pip mechanism. Either way it's a new/different issue. Closing.