diff --git a/blocked-edges/4.12.0-rc.0-AWSOldBootImage.yaml b/blocked-edges/4.12.0-rc.0-AWSOldBootImage.yaml new file mode 100644 index 000000000..25a93e901 --- /dev/null +++ b/blocked-edges/4.12.0-rc.0-AWSOldBootImage.yaml @@ -0,0 +1,21 @@ +to: 4.12.0-rc.0 +from: 4[.]11[.].* +url: https://issues.redhat.com/browse/COS-1942 +name: AWSOldBootImages +message: |- + 4.2 AWS boot images are not compatible with 4.12.0-rc.0, and machines created with them will fail to become nodes. This risk does not apply if a cluster is not on AWS, was installed as version 4.3 or later, or otherwise uses 4.3 or later boot images. +matchingRules: +- type: PromQL + promql: + promql: + topk(1, + label_replace(group(cluster_version{type="initial",version=~"4[.][0-9][.].*"}),"born_by_4_9", "yes, so possibly actually born in 4.1 or 4.2", "", "") + or + label_replace(0 * group(cluster_version{type="initial",version!~"4[.][0-9][.].*"}),"born_by_4_9", "no, born in 4.10 or later", "", "") + ) + * on () group_left (type) + ( + cluster_infrastructure_provider{type="AWS"} + or + 0 * cluster_infrastructure_provider + ) diff --git a/blocked-edges/4.12.0-rc.1-AWSOldBootImage.yaml b/blocked-edges/4.12.0-rc.1-AWSOldBootImage.yaml new file mode 100644 index 000000000..8e082eca9 --- /dev/null +++ b/blocked-edges/4.12.0-rc.1-AWSOldBootImage.yaml @@ -0,0 +1,21 @@ +to: 4.12.0-rc.1 +from: 4[.]11[.].* +url: https://issues.redhat.com/browse/COS-1942 +name: AWSOldBootImages +message: |- + 4.2 AWS boot images are not compatible with 4.12.0-rc.1, and machines created with them will fail to become nodes. This risk does not apply if a cluster is not on AWS, was installed as version 4.3 or later, or otherwise uses 4.3 or later boot images. +matchingRules: +- type: PromQL + promql: + promql: + topk(1, + label_replace(group(cluster_version{type="initial",version=~"4[.][0-9][.].*"}),"born_by_4_9", "yes, so possibly actually born in 4.1 or 4.2", "", "") + or + label_replace(0 * group(cluster_version{type="initial",version!~"4[.][0-9][.].*"}),"born_by_4_9", "no, born in 4.10 or later", "", "") + ) + * on () group_left (type) + ( + cluster_infrastructure_provider{type="AWS"} + or + 0 * cluster_infrastructure_provider + ) diff --git a/blocked-edges/4.12.0-rc.2-AWSOldBootImage.yaml b/blocked-edges/4.12.0-rc.2-AWSOldBootImage.yaml new file mode 100644 index 000000000..f83ba966d --- /dev/null +++ b/blocked-edges/4.12.0-rc.2-AWSOldBootImage.yaml @@ -0,0 +1,21 @@ +to: 4.12.0-rc.2 +from: 4[.]11[.].* +url: https://issues.redhat.com/browse/COS-1942 +name: AWSOldBootImages +message: |- + 4.2 AWS boot images are not compatible with 4.12.0-rc.2, and machines created with them will fail to become nodes. This risk does not apply if a cluster is not on AWS, was installed as version 4.3 or later, or otherwise uses 4.3 or later boot images. +matchingRules: +- type: PromQL + promql: + promql: + topk(1, + label_replace(group(cluster_version{type="initial",version=~"4[.][0-9][.].*"}),"born_by_4_9", "yes, so possibly actually born in 4.1 or 4.2", "", "") + or + label_replace(0 * group(cluster_version{type="initial",version!~"4[.][0-9][.].*"}),"born_by_4_9", "no, born in 4.10 or later", "", "") + ) + * on () group_left (type) + ( + cluster_infrastructure_provider{type="AWS"} + or + 0 * cluster_infrastructure_provider + ) diff --git a/blocked-edges/4.12.0-rc.3-AWSOldBootImage.yaml b/blocked-edges/4.12.0-rc.3-AWSOldBootImage.yaml new file mode 100644 index 000000000..b1e784e1d --- /dev/null +++ b/blocked-edges/4.12.0-rc.3-AWSOldBootImage.yaml @@ -0,0 +1,21 @@ +to: 4.12.0-rc.3 +from: 4[.]11[.].* +url: https://issues.redhat.com/browse/COS-1942 +name: AWSOldBootImages +message: |- + 4.2 AWS boot images are not compatible with 4.12.0-rc.3, and machines created with them will fail to become nodes. This risk does not apply if a cluster is not on AWS, was installed as version 4.3 or later, or otherwise uses 4.3 or later boot images. +matchingRules: +- type: PromQL + promql: + promql: + topk(1, + label_replace(group(cluster_version{type="initial",version=~"4[.][0-9][.].*"}),"born_by_4_9", "yes, so possibly actually born in 4.1 or 4.2", "", "") + or + label_replace(0 * group(cluster_version{type="initial",version!~"4[.][0-9][.].*"}),"born_by_4_9", "no, born in 4.10 or later", "", "") + ) + * on () group_left (type) + ( + cluster_infrastructure_provider{type="AWS"} + or + 0 * cluster_infrastructure_provider + ) diff --git a/blocked-edges/4.12.0-rc.4-AWSOldBootImage.yaml b/blocked-edges/4.12.0-rc.4-AWSOldBootImage.yaml new file mode 100644 index 000000000..3896f4a68 --- /dev/null +++ b/blocked-edges/4.12.0-rc.4-AWSOldBootImage.yaml @@ -0,0 +1,21 @@ +to: 4.12.0-rc.4 +from: 4[.]11[.].* +url: https://issues.redhat.com/browse/COS-1942 +name: AWSOldBootImages +message: |- + 4.2 AWS boot images are not compatible with 4.12.0-rc.4, and machines created with them will fail to become nodes. This risk does not apply if a cluster is not on AWS, was installed as version 4.3 or later, or otherwise uses 4.3 or later boot images. +matchingRules: +- type: PromQL + promql: + promql: + topk(1, + label_replace(group(cluster_version{type="initial",version=~"4[.][0-9][.].*"}),"born_by_4_9", "yes, so possibly actually born in 4.1 or 4.2", "", "") + or + label_replace(0 * group(cluster_version{type="initial",version!~"4[.][0-9][.].*"}),"born_by_4_9", "no, born in 4.10 or later", "", "") + ) + * on () group_left (type) + ( + cluster_infrastructure_provider{type="AWS"} + or + 0 * cluster_infrastructure_provider + ) diff --git a/blocked-edges/4.12.0-rc.5-AWSOldBootImage.yaml b/blocked-edges/4.12.0-rc.5-AWSOldBootImage.yaml new file mode 100644 index 000000000..37db6e308 --- /dev/null +++ b/blocked-edges/4.12.0-rc.5-AWSOldBootImage.yaml @@ -0,0 +1,21 @@ +to: 4.12.0-rc.5 +from: 4[.]11[.].* +url: https://issues.redhat.com/browse/COS-1942 +name: AWSOldBootImages +message: |- + 4.2 AWS boot images are not compatible with 4.12.0-rc.5, and machines created with them will fail to become nodes. This risk does not apply if a cluster is not on AWS, was installed as version 4.3 or later, or otherwise uses 4.3 or later boot images. +matchingRules: +- type: PromQL + promql: + promql: + topk(1, + label_replace(group(cluster_version{type="initial",version=~"4[.][0-9][.].*"}),"born_by_4_9", "yes, so possibly actually born in 4.1 or 4.2", "", "") + or + label_replace(0 * group(cluster_version{type="initial",version!~"4[.][0-9][.].*"}),"born_by_4_9", "no, born in 4.10 or later", "", "") + ) + * on () group_left (type) + ( + cluster_infrastructure_provider{type="AWS"} + or + 0 * cluster_infrastructure_provider + )