Story #2469
closed
Story #2186: As a user, pulp-manage-db refuses to run if other pulp processes are running
As an user, I should be able to specify an option to pulp-manage-db to assume yes for the running workers question
Description
It would be great to have an option (possible --force or --yes) for pulp-manage-db that makes it assume yes for all questions (currently only the "There are still running workers, continuing could corrupt your Pulp installation. Are you sure you wish to continue? (y/N)").
This will help run pulp-manage-db from within a script which will help automating the upgrade process, for example.
- Tracker changed from Issue to Story
- % Done set to 0
Rather than position the name of the option about forcing or answering a yes/no quesiton, we could make the option disable the check altogether. Specifically I recommend naming it --ignore-running-workers
. This allows us to reserve a "force" language for something that actually need to be forced and also allows us to ask yes/no questions without having this new option be at all related to that.
Also this story would benefit from some checklist items (think test plan).
bmbouter wrote:
Rather than position the name of the option about forcing or answering a yes/no quesiton, we could make the option disable the check altogether. Specifically I recommend naming it --ignore-running-workers
. This allows us to reserve a "force" language for something that actually need to be forced and also allows us to ask yes/no questions without having this new option be at all related to that.
Agreed, I like --ignore-running-workers
option name.
- Status changed from NEW to MODIFIED
- % Done changed from 0 to 100
- Status changed from MODIFIED to NEW
- Assignee deleted (
bizhang)
- % Done changed from 100 to 0
- Parent issue set to #2186
- Status changed from NEW to CLOSED - WONTFIX
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.
Also available in: Atom
PDF
Add --ignore-running-workers option to pulp-manage-db
closes #2469 https://pulp.plan.io/issues/2469