wballard / starphleet

19 stars 37 forks source link

log container build output on xenial #410

Closed datfinesoul closed 4 years ago

datfinesoul commented 4 years ago

https://app.zenhub.com/workspaces/infrastructure---sre-5d92320acdc7cf0001013e24/issues/glg/metadevops-issues/233

Overview

starphleet-containermake was not logging any of the output from lxc-attach when building a container. The fix was mainly related to LXC 1.x using -L instead of -o and LXC 2.x using -o instead of -L.

Still need to confirm if this causes build issues. Some people report lxc-attach v2.x having issues due to lack of tty/pty.