Comments (2)
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.
I can confirm this happens also from recent testing.
from badfish.
Related Issues (20)
- [RFE] Research/Implement rpminspect into GHA CI
- COPR RPM Badfish package seem to be using older source archive HOT 2
- Badfish Container fails to execute bulk actions HOT 1
- [DOCS] Include `:Z` on volume declaration for private unshared labeling HOT 2
- [RFE] Supermicro BMC reset
- [BUG] Issue with batch processing host list from the container HOT 5
- [BUG] Traceback for --get-sriov and --get-bios-attribute on Dell R740XD HOT 1
- [RFE] This isn't an issue - please close
- [BUG] `--boot-to-virtual-media` reports error on PowerEdge R6525 HOT 2
- [RFE] Lifecycle controller removal HOT 2
- Current container build reports connection issue HOT 1
- "Ready for review" template not linked HOT 3
- Badfish no longer seems to create Dell Job for iDRAC8 / R630 HOT 2
- [BUG] Wrong power state on R740s
- [RFE] Add Network attributes modification HOT 1
- Traceback when using get-power-consumed HOT 2
- [RFE] Add support for setting multiple BIOS attributes at the same time HOT 1
- [RFE] SuperMicro Virtual Media management
- Using --get-power-consumed against NVidia not working
- [RFE] Introduce poetry
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 badfish.