GithubHelp home page GithubHelp logo

Comments (5)

CoRfr avatar CoRfr commented on June 3, 2024

Also:

root@0f545936ec6b:/# etcdctl get --consistent /ceph-config/ceph/done
Incorrect Usage.

NAME:
   get - retrieve the value of a key

USAGE:
   command get [command options] [arguments...]

OPTIONS:
   --sort   returns result in sorted order


root@0f545936ec6b:/# echo $?
0

So it's always returning 0

from ceph-container.

CoRfr avatar CoRfr commented on June 3, 2024

The --consistent option is valid for version 0.4.6 (the one used in CoreOS stable) but not in 2.0.4

from ceph-container.

Ulexus avatar Ulexus commented on June 3, 2024

That's what I get for doing a cursory check...

I think we're pretty safe removing the --consistent option, anyway.

from ceph-container.

CoRfr avatar CoRfr commented on June 3, 2024

The "set -e" option also prevent the system from catching errors and might leave thinks locked.

from ceph-container.

Ulexus avatar Ulexus commented on June 3, 2024

I'm pretty sure it's the opposite, no? set +e would be to disable error catching

From man set:

       −e    When this option is on, when any command fails (for any of the reasons listed in Section 2.8.1, Consequences of Shell Errors or by returning an exit status greater than zero), the shell  immediately shall exit with the following exceptions:

from ceph-container.

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.