Deadline and Cancellation for gRPC calls

A grpc request sent through the CLI is currently not cancelable.

Description

Currently we do not provide a context with a proper deadline from the grpc client (e.g. CLI). It is also not possible to cancel a request, since there is no context.WithCancel in use. If this is addressed then the grpc server (controller) should also react accordingly to a cancellation and stop the current workload.

Expected Behavior

Commands within the CLI should be cancelable and/or should have a reasonable deadline.

Actual Behavior

Current deadline for a sent command is really long and it is not possible to cancel it directly through e.g. CTRL-C

Possible Fix

Steps to Reproduce

  1. Run the login command from within the cli and provide a faulty address
  2. Wait
  3. Wait
  4. Wait

Context

Your Environment

  • Version used:
  • Environment name and version (e.g. go v1.16.3 on FreeBSD 13.0-current):
  • Server type and version:
  • Operating System and version: