nova supports spice compression algorithm configuration

Registered by huang.huayong

nova supports spice console,the spice has some compression algorithm configuration,such as:
image compression:auto_glz|auto_lz|quic|glz|lz|off
jpeg compression:auto|never|always
zlib compression:auto|never|always
Now, the nova.conf can not config the spice compression algorithm. I think we could add these in the nova.conf to support compression algorithm for vm spice console.

Blueprint information

Status:
Complete
Approver:
Sylvain Bauza
Priority:
Undefined
Drafter:
huang.huayong
Direction:
Approved
Assignee:
Manuel Bentele
Definition:
Approved
Series goal:
Accepted for antelope
Implementation:
Implemented
Milestone target:
None
Started by
Sylvain Bauza
Completed by
Sylvain Bauza

Related branches

Sprints

Whiteboard

Setting the SPICE compression algorithm is already implemented for the Libvirt hypervisor but was not approved due to a missing feature spec/blueprint: https://review.opendev.org/c/openstack/nova/+/828675

Gerrit topic: https://review.opendev.org/#/q/topic:bp/nova-support-spice-compression-algorithm

Addressed by: https://review.opendev.org/c/openstack/nova-specs/+/849488
    Add configuration options to set SPICE compression settings

[20230116 bauzas] Spec approved for 2023.1 cycle https://review.opendev.org/c/openstack/nova-specs/+/849488

[20230220 bauzas] Series got implemented with https://review.opendev.org/c/openstack/nova/+/828675

Gerrit topic: https://review.opendev.org/#/q/topic:bp/nova-support-spice-compression-algorithm-stable/zed

Addressed by: https://review.opendev.org/c/openstack/nova/+/874739
    libvirt: Add configuration options to set SPICE compression settings

Gerrit topic: https://review.opendev.org/#/q/topic:bp/nova-support-spice-compression-algorithm-stable/yoga

Addressed by: https://review.opendev.org/c/openstack/nova/+/874740
    libvirt: Add configuration options to set SPICE compression settings

Gerrit topic: https://review.opendev.org/#/q/topic:bp/nova-support-spice-compression-algorithm-stable/xena

Addressed by: https://review.opendev.org/c/openstack/nova/+/874741
    libvirt: Add configuration options to set SPICE compression settings

(?)

Work Items

Work items:
Create OpenStack Nova spec for the SPICE compression support and await its approval : DONE
Implement the SPICE compression support for all hypervisors which support SPICE (libvirt) : TODO

This blueprint contains Public information 
Everyone can see this information.