Closed iaguis closed 7 years ago
Otherwise, if rkt app add or rkt app start fails, we won't get any logs in the journal and we'll be blind to the causes of the failure.
rkt app add
rkt app start
With this, users can at least run on the host:
# journalctl -M rkt-$POD_UUID
and see why the app failed to start.
As a complete solution, we should somehow capture this journal output and propagate it to the error returned in StartContainer().
Otherwise, if
rkt app add
orrkt app start
fails, we won't get any logs in the journal and we'll be blind to the causes of the failure.With this, users can at least run on the host:
and see why the app failed to start.
As a complete solution, we should somehow capture this journal output and propagate it to the error returned in StartContainer().