Add supprot for create a cyborg admin client when no user token is present.

Registered by Wenping Song

When we resume guest state with accelerator bound, we should pass
the accel_info when the guest hard reboot. In the process of getting accel info, we should add no user token auth to
get Cyborg client by cyborg user password configured, or the VM will be set error because of lost communication with Cyborg.
So add user/project CONF with admin role at cyborg group, and when determine context is_admin and without token, do authenticaion with user/project info to call cyborg api.

Blueprint information

Status:
Started
Approver:
Balazs Gibizer
Priority:
Undefined
Drafter:
Wenping Song
Direction:
Approved
Assignee:
Wenping Song
Definition:
Pending Approval
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
None
Started by
Balazs Gibizer

Related branches

Sprints

Whiteboard

Spec https://review.opendev.org/c/openstack/nova-specs/+/787178

[20210602 gibi]: Spec has been merged so bp is approved for Xena

impl https://review.opendev.org/c/openstack/nova/+/739011

[2021-09-07 gibi]: We hit feature freeze so it is now deferred from Xena.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.