Comments (1)
(by thogarre)
It looks like an old version of the snap is running where this is happening. This line looks to be the culprit line (note that itβs the parent, not the path to the file):
rm_command = "sudo rm -r {}".format(filepath.parent)
This line has since been removed [0], but a new version the snap has not yet been built, so it hasn't been tested/rolled out anywhere yet.
In the current version of the file, the -r
flag is still being provided, despite all the backups being individual gzip files. I've submitted MR 424592 [1] to address this.
Note that I've also updated the ownership of the snap, and created a snap recipe [2] so that new snaps will automatically be built and published to the latest/edge edge when the master branch of this repo is updated.
I'll mark this as pending review to reflect the current status.
[0] https://git.launchpad.net/juju-backup-all/commit/?id=16c68c9cfe7ce5f48313c79e4e5a90a982ab2383
[1] https://code.launchpad.net/~thogarre/juju-backup-all/+git/juju-backup-all/+merge/424592
[2] https://launchpad.net/juju-backup-all/+snaps
from juju-backup-all.
Related Issues (20)
- Juju-backup-all fails with message βhook failed: "install"β in bionic HOT 4
- do-backup action not working HOT 5
- Failing functional tests due to timeout
- Build snap as a confined HOT 1
- Update libjuju to v2.9.4
- Functional test fail HOT 1
- scp from lxd units will fail because hostname is None
- Mistaken `TimeoutError` package while handling timeouts in `run_with_timeout`
- Allow to omit certain models during backup runs
- BackupProcessor.process_backups should return the results of running the backups, instead of printing them to stdout
- Add support for python 3.6 (bionic)
- Replace subprocess with python-libjuju calls HOT 2
- /tmp directory is being deleted HOT 1
- do-backup action not working HOT 5
- Failing functional tests due to timeout
- Function test should use snap instead of Python package
- Parametrized the functional tests to deploy app test backup and destroy it
- No space left on device when doing the backup. HOT 3
- Remove non-implemented Swift backup code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from juju-backup-all.