summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2021-07-11 14:14:33 +0000
committerGerrit Code Review <review@openstack.org>2021-07-11 14:14:33 +0000
commit5be9edecd3a7e6de905a1eff6621f0227f26b855 (patch)
tree524cd269e92f1825958b1e6cf6e27454c30c1ff3
parent46ff51487accf8881e468b975f4479c85daa8163 (diff)
parent7e5e65550d834c4c2572908ca135c8f596f9c582 (diff)
downloadironic-5be9edecd3a7e6de905a1eff6621f0227f26b855.tar.gz
Merge "Add missing BIOSSettings version mapping for older releases"
-rw-r--r--ironic/common/release_mappings.py13
-rw-r--r--releasenotes/notes/bios-version-dfd5c95805c295c5.yaml5
2 files changed, 18 insertions, 0 deletions
diff --git a/ironic/common/release_mappings.py b/ironic/common/release_mappings.py
index b0ede5a47..4a12a1d76 100644
--- a/ironic/common/release_mappings.py
+++ b/ironic/common/release_mappings.py
@@ -104,6 +104,7 @@ RELEASE_MAPPING = {
'api': '1.43',
'rpc': '1.44',
'objects': {
+ 'BIOSSetting': ['1.0'],
'Node': ['1.25', '1.24'],
'Conductor': ['1.2'],
'Chassis': ['1.3'],
@@ -119,6 +120,7 @@ RELEASE_MAPPING = {
'api': '1.46',
'rpc': '1.47',
'objects': {
+ 'BIOSSetting': ['1.0'],
'Node': ['1.27', '1.26'],
'Conductor': ['1.3'],
'Chassis': ['1.3'],
@@ -134,6 +136,7 @@ RELEASE_MAPPING = {
'api': '1.49',
'rpc': '1.47',
'objects': {
+ 'BIOSSetting': ['1.0'],
'Node': ['1.29', '1.28'],
'Conductor': ['1.3'],
'Chassis': ['1.3'],
@@ -150,6 +153,7 @@ RELEASE_MAPPING = {
'rpc': '1.48',
'objects': {
'Allocation': ['1.0'],
+ 'BIOSSetting': ['1.0'],
'Node': ['1.32', '1.31', '1.30'],
'Conductor': ['1.3'],
'Chassis': ['1.3'],
@@ -167,6 +171,7 @@ RELEASE_MAPPING = {
'rpc': '1.48',
'objects': {
'Allocation': ['1.0'],
+ 'BIOSSetting': ['1.0'],
'Node': ['1.32'],
'Conductor': ['1.3'],
'Chassis': ['1.3'],
@@ -184,6 +189,7 @@ RELEASE_MAPPING = {
'rpc': '1.48',
'objects': {
'Allocation': ['1.0'],
+ 'BIOSSetting': ['1.0'],
'Node': ['1.32'],
'Conductor': ['1.3'],
'Chassis': ['1.3'],
@@ -201,6 +207,7 @@ RELEASE_MAPPING = {
'rpc': '1.48',
'objects': {
'Allocation': ['1.1'],
+ 'BIOSSetting': ['1.0'],
'Node': ['1.33', '1.32'],
'Conductor': ['1.3'],
'Chassis': ['1.3'],
@@ -218,6 +225,7 @@ RELEASE_MAPPING = {
'rpc': '1.50',
'objects': {
'Allocation': ['1.1'],
+ 'BIOSSetting': ['1.0'],
'Node': ['1.34', '1.33', '1.32'],
'Conductor': ['1.3'],
'Chassis': ['1.3'],
@@ -235,6 +243,7 @@ RELEASE_MAPPING = {
'rpc': '1.50',
'objects': {
'Allocation': ['1.1'],
+ 'BIOSSetting': ['1.0'],
'Node': ['1.35', '1.34'],
'Conductor': ['1.3'],
'Chassis': ['1.3'],
@@ -252,6 +261,7 @@ RELEASE_MAPPING = {
'rpc': '1.51',
'objects': {
'Allocation': ['1.1'],
+ 'BIOSSetting': ['1.0'],
'Node': ['1.35'],
'Conductor': ['1.3'],
'Chassis': ['1.3'],
@@ -270,6 +280,7 @@ RELEASE_MAPPING = {
'rpc': '1.51',
'objects': {
'Allocation': ['1.1'],
+ 'BIOSSetting': ['1.0'],
'Node': ['1.35'],
'Conductor': ['1.3'],
'Chassis': ['1.3'],
@@ -288,6 +299,7 @@ RELEASE_MAPPING = {
'rpc': '1.52',
'objects': {
'Allocation': ['1.1'],
+ 'BIOSSetting': ['1.0'],
'Node': ['1.35'],
'Conductor': ['1.3'],
'Chassis': ['1.3'],
@@ -306,6 +318,7 @@ RELEASE_MAPPING = {
'rpc': '1.54',
'objects': {
'Allocation': ['1.1'],
+ 'BIOSSetting': ['1.0'],
'Node': ['1.35'],
'Conductor': ['1.3'],
'Chassis': ['1.3'],
diff --git a/releasenotes/notes/bios-version-dfd5c95805c295c5.yaml b/releasenotes/notes/bios-version-dfd5c95805c295c5.yaml
new file mode 100644
index 000000000..133869895
--- /dev/null
+++ b/releasenotes/notes/bios-version-dfd5c95805c295c5.yaml
@@ -0,0 +1,5 @@
+---
+critical:
+ - |
+ Fixes upgrade failure caused by the missing version of ``BIOSSetting``
+ database objects.