Comments (7)
I suspect that migratefiles isn't returning an error code, when it fails. I suggest that it should pass along the error code of the copying utility that it is using.
from ltopers.
It looks like migratefiles
also will pass on an error code 1
due to it also using _run_critical_event
, so it isn't directly passing on the rsync
error code, but is passing its own? https://github.com/mediamicroservices/mm/blob/master/migratefiles#L47
Also, sorry for the maybe obvious question - but with the files being copied to tape in the first pass by gcp
, what are the two passes of rsync
via migratefiles
trying to copy over?
from ltopers.
for reference, here is the thread of errors - rsync error 23-> migratefiles error 1-> writelto abort
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1209) [sender=3.1.3]
2018-03-08T03:26:56 - [migratefiles]Error: Running: "rsync -rtvPih --log-file=/Users/mac1/migrate.log --log-file-format=20180308-032616 '%f' %l '/Volumes/B00001/' /Volumes/HD2/LTO_DONE/ /Volumes/B00001/" gave an Error Code - 23
2018-03-08T03:26:56 - [migratefiles]The process ran into a critical error and can not proceed.
2018-03-08T03:26:56 - [writelto]Error: Running: "/usr/local/bin/migratefiles -o /Volumes/B00001 /Volumes/HD2/LTO_DONE/" gave an Error Code - 1
2018-03-08T03:26:56 - [writelto]The process ran into a critical error and can not proceed.
mac1:~ mac1$
from ltopers.
It looks like this is a bug introduced in d63047f with the integration of DB reporting via mm by ahem me. I propose we switch back to the original way of calling migratefiles
from ltopers.
@privatezero Can this one be closed?
from ltopers.
yup yup! Should be resolved in #171
from ltopers.
Thank you!
from ltopers.
Related Issues (20)
- `writelto` calls `renameschemas `
- `verifylto` needs database HOT 2
- function `_check_for_lto_index_dir` is not defined HOT 5
- output of `writelto -h` starts with other information HOT 7
- .schema not writing to LTO_LOGS HOT 21
- clarification for LTO naming HOT 6
- support >6 character tape serials HOT 10
- Misc. Documentation Updates HOT 8
- [wish] simplify tape serial usage
- install via linuxbrew fails at gtk+3 dependency HOT 18
- unable to mount tape with mountlto HOT 2
- LTFS 2.5 is under public review HOT 1
- [wish] add volume name management HOT 2
- /usr/local/bin/formatlto: line 90: mkltfs: command not found HOT 6
- mountlto can't find tape ready to mount HOT 21
- Fail to compile tnftp during install HOT 5
- Mtape MLogic ERROR HOT 3
- date-based versioning HOT 4
- Does `writelto` use `rsync`? HOT 5
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 ltopers.