GithubHelp home page GithubHelp logo

Comments (2)

bengland2 avatar bengland2 commented on May 22, 2024 1

It's reproducible, server was completely rebooted when badfish.py gave up and did a power cycle! I ran this from both my laptop at home and from e23-h29-740xd in the same rack so it's not a network issue.

My suggestion is to not force a power cycle unless a user specifically requests it, with --power-cycle option that doesn't exist yet. This is very bad because power cycling puts extra wear and tear on the hardware, you don't want to do it to 600 machines in the scale lab and Alias all the time. How many times will a power reset not work but power-cycle will work? What you might want to do is have default be "graceful reset", and provide an option for non-graceful reset or power-cycle if the user requests that.

Also, the progress bar is really a timeout bar, since it does not correspond at all to the progress of the system in rebooting. You should call it that so people don't get confused about what they are seeing.

I think the problem here is in reboot_server() where it polls for host state "Off". If it enters this state, it does not stay there for very long, when you do a system reset. In this Alias lab Dell 740XD, e23-h31-740xd, I never saw the server in the off state. Why poll for 75 seconds before concluding that your reset failed? And how do you know that you'll actually be able to observe the system in a state other than "On"? How timing-dependent is this test? how independent of hardware model is it?

BTW I'm a big fan of this tool.

from badfish.

sadsfae avatar sadsfae commented on May 22, 2024

I can confirm this happens also from recent testing.

from badfish.

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.