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

improve logging #146

Closed
manut opened this issue Apr 4, 2018 · 4 comments
Closed

improve logging #146

manut opened this issue Apr 4, 2018 · 4 comments

Comments

@manut
Copy link
Contributor

manut commented Apr 4, 2018

introduce loglevels, abort built on critical erros.

@manut
Copy link
Contributor Author

manut commented Apr 4, 2018

needed for #144

@manut
Copy link
Contributor Author

manut commented Apr 6, 2018

Hello all,

I have once again wasted some time to find out that the build
did not complete successfully (error in finetune block) by
wondering why things did not work as expected.

In this particular case:
openssh-server is installed
finetune is editing a line in /etc/ssh/sshd_config --- but
failed, since the file was not there.

Needless to say, I went all the way installing the image
on the target and wondering why I could not log in ...

So I would like to make the case again, that the build
should abort on the slightest error, at least in the
finetune block, but maybe everywhere UNLESS explicitly
stated otherwise (think: cmd || true # this cmd may fail)

Cheers,
Erich

@manut
Copy link
Contributor Author

manut commented Apr 27, 2018

return useful errorcodes

@manut
Copy link
Contributor Author

manut commented May 21, 2019

there is a long cap between

"100% update finished"

and the next log output. This makes some users believe the elbe build process inside the initvm died.

torbenh3 added a commit that referenced this issue Oct 2, 2019
  * initvm is now using buster (debian 10)
  * logging has been completely reimplemented, and uses
    the python logging framework. (Fixes #109)
  * Errors now result in build_failures, and build_failure results
    in error return codes, and no files to download. This is especially
    the case for finetuning errors which have been ignored before.
    (Fixes: #208, #146, #131, #127, #144, #70)
  * honour ELBE_SOAPPORT and ELBE_SSHPORT in "elbe initvm create"
  * src-cdrom: add size limit in XML
  * init: replace localhost with 10.0.2.2 in initvm proxy setting
    (Fixes: proxy on localhost)
  * xsdtoasciidoc: dont set all docstrings to FIXME (Fixes
    https://elbe-rfs.org/docs/sphinx/article-elbe-schema-reference.html)
  * debianize kernel: fix linux-libc-dev package being empty
  * debian elbe-debianize.install: add missing mako templates
    (Fixes: #238)
  * cdrom: implement <archive> for source cdroms
  * fstab: allow to pass more than one argument to tune2fs command
  * examples armel-rescue-busybox-cpio: use <file> -> better + workaround bug
  * examples arm64-qemu-virt: fix vmlinuz version number
  * examples armhf-ti-beaglebone-black: fix artifact paths

Signed-off-by: Torben Hohn <torben.hohn@linutronix.de>
Reviewed-by: Volker Haspel <volker.haspel@linutronix.de>
@bgermann bgermann removed the 537 label Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants