#5301 [RFE] long running task support
Opened 8 years ago by pvoborni. Modified 5 years ago

Some API commands may run so long that the CLI will time-out.

Examples:

  • ipa migrate-ds
  • automember rebuild

Proposal:

  • add option to run command as async task
  • server would return a task id
  • add API to show task status (running|finished) and its output
  • stretch: support opened connection and provide periodical update. E.g., when running migrate-ds, CLI would not wait for the final output but would show users which were just migrated.
  • add support to end the task

Some task may even send periodical updates and have no end defined, e.g., future monitoring of replication topology status (if utilizes syncrepl), could be a separate RFE.


new CLI (thin client) should be design with this proposal in mind.

Metadata Update from @pvoborni:
- Issue assigned to someone
- Issue set to the milestone: Future Releases

7 years ago

The thin client did not implement async AFAIK. What should we do with this?

Metadata Update from @rcritten:
- Issue close_status updated to: None

5 years ago

Login to comment on this ticket.

Metadata