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

Additional files are dropped if original tar file can't be created #12

Open
fginther opened this issue Mar 16, 2017 · 0 comments
Open

Comments

@fginther
Copy link
Contributor

fginther commented Mar 16, 2017

collect-logs allows additional files to specified that will be added to the generated tar file. However, if that file isn't created (because no juju model could be found) the additional files aren't added either and the result is no log file is created.

The desired outcome is to create a log file as requested with just the files specified on the command line.

This is what the failure looks like:

autopilot-log-collector/collect-logs /tmp/jenkins/workspace/landscape-system-tests/build-area/artifacts/all-logs.tar.gz system-tests-console.log juju-status.json
ERROR, no units found. Make sure the right juju environmentis set.
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