Add sata to OS::Nova::Server disk_bus constraint

With this change the ``disk_bus`` property of
``OS::Nova::Server`` resource's ``block_device_mapping_v2``
now accepts 'sata' as a valid value.

The SATA disk bus was added to Nova in the Queens release.

Story: 2011600
Task: 53096
Change-Id: If666c2a594849f7a075a1ef5432a5f6673c4ed99
Signed-off-by: Harald Jensås <hjensas@redhat.com>
This commit is contained in:
Harald Jensås
2025-11-11 15:55:46 +01:00
parent fea6044a60
commit 8319172da0
2 changed files with 8 additions and 1 deletions

View File

@@ -312,7 +312,7 @@ class Server(server_base.BaseServer, sh.SchedulerHintsMixin,
'suitable default if omitted.'), 'suitable default if omitted.'),
constraints=[ constraints=[
constraints.AllowedValues(['ide', 'lame_bus', constraints.AllowedValues(['ide', 'lame_bus',
'scsi', 'usb', 'sata', 'scsi', 'usb',
'virtio']), 'virtio']),
], ],
), ),

View File

@@ -0,0 +1,7 @@
---
fixes:
- |
The ``disk_bus`` property of ``OS::Nova::Server`` resource's
``block_device_mapping_v2`` now accepts 'sata' as a valid value.
The SATA disk bus was added to Nova in the Queens release.
See `story 2011600 <https://storyboard.openstack.org/#!/story/2011600>`_.