Bug 1181700
| Summary: | [RFE] should provide clear netboot command without the need of restart | ||
|---|---|---|---|
| Product: | [Retired] Beaker | Reporter: | Miroslav Vadkerti <mvadkert> |
| Component: | command line | Assignee: | matt jia <mjia> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 19 | CC: | aigao, asaha, dcallagh, dowang, jjaburek, mjia |
| Target Milestone: | 20.2 | Keywords: | EasyFix, FutureFeature, Patch |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-14 08:04:55 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Miroslav Vadkerti
2015-01-13 15:44:52 UTC
Perhaps just adding --action=none under system-power, so that we could do "bkr system-power --clear-netboot --action=none" would be cleaner. (In reply to Jiri Jaburek from comment #1) > Perhaps just adding --action=none under system-power, so that we could do > "bkr system-power --clear-netboot --action=none" would be cleaner. Or we could just make "--action" optional when "--clear-netboot" is specified. (In reply to Amit Saha from comment #2) > Or we could just make "--action" optional when "--clear-netboot" is > specified. --action already has a default value of reboot so if it's not given, the action will be reboot. We can't change the default now (compatibility) and it would be quite confusing for the default to be different depending on the presence of some other option, I think. Clearing netboot config is not really related to system power at all, except that it's sometimes something you want to do at the same time, so we already have --clear-netboot and the corresponding Clear Netboot button in the web UI. So I agree that the nicest option is to allow: bkr system-power --clear-netboot --action=none, as per Jiri's suggestion in comment 1. On Gerrit: http://gerrit.beaker-project.org/#/c/4200/ This bug fix is included in beaker-client-21.0-0.git.23.0983f62 which is currently available for download here: https://beaker-project.org/nightlies/develop/ Verify Steps: 1. set up beaker client with beaker-client-21.0-0.git.23.0983f62 2. bkr system-power --clear-netboot --action=none <system.fqdn> 3. go to the system page and click on the Power tab to check whether the clear_netboot command is enqueued. Beaker 20.2 has been released. |