Code Monkey home page Code Monkey logo

Comments (7)

dericed avatar dericed commented on June 18, 2024

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.

privatezero avatar privatezero commented on June 18, 2024

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.

privatezero avatar privatezero commented on June 18, 2024

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.

privatezero avatar privatezero commented on June 18, 2024

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.

retokromer avatar retokromer commented on June 18, 2024

@privatezero Can this one be closed?

from ltopers.

privatezero avatar privatezero commented on June 18, 2024

yup yup! Should be resolved in #171

from ltopers.

retokromer avatar retokromer commented on June 18, 2024

Thank you!

from ltopers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.