← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1795982] [NEW] /os-console-auth-tokens/{console_token} API doesn't handle the database backend

 

Public bug reported:

In Rocky, we deprecated the nova-consoleauth service, but it's still
being called in the compute/api [1], which requires it to be run
currently despite being deprecated.

In addition to that, today I found that the /os-console-auth-
tokens/{console_token} API [2] assumes the nova-consoleauth backend and
does nothing to handle the database backend. Since the only request
parameter is the auth token, we can't know which cell database the token
auth resides in, so at best we would have to scatter-gather all cells to
get the console connection information to return.

[1] https://launchpad.net/bugs/1788470
[2] https://developer.openstack.org/api-ref/compute/#show-console-connection-information

** Affects: nova
     Importance: High
     Assignee: melanie witt (melwitt)
         Status: Triaged


** Tags: api console

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1795982

Title:
  /os-console-auth-tokens/{console_token} API doesn't handle the
  database backend

Status in OpenStack Compute (nova):
  Triaged

Bug description:
  In Rocky, we deprecated the nova-consoleauth service, but it's still
  being called in the compute/api [1], which requires it to be run
  currently despite being deprecated.

  In addition to that, today I found that the /os-console-auth-
  tokens/{console_token} API [2] assumes the nova-consoleauth backend
  and does nothing to handle the database backend. Since the only
  request parameter is the auth token, we can't know which cell database
  the token auth resides in, so at best we would have to scatter-gather
  all cells to get the console connection information to return.

  [1] https://launchpad.net/bugs/1788470
  [2] https://developer.openstack.org/api-ref/compute/#show-console-connection-information

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1795982/+subscriptions


Follow ups