Skip to content

Commit

Permalink
Fix OSCtlPlane scale KUTTL test
Browse files Browse the repository at this point in the history
  • Loading branch information
abays committed Nov 7, 2024
1 parent 80bbaf2 commit 30c4997
Show file tree
Hide file tree
Showing 9 changed files with 33 additions and 10 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ Create a base RHEL data volume prior to deploying OpenStack. This will be used
port:
- name: enp6s0
description: Linux bridge with enp6s0 as a port
name: br-ex
name: br-ex-osp
state: up
type: linux-bridge
mtu: 1500
Expand Down Expand Up @@ -972,7 +972,7 @@ spec:
port:
- name: enp6s0
description: Linux bridge with enp6s0 as a port
name: br-ex
name: br-ex-osp
state: up
type: linux-bridge
mtu: 1500
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ spec:
port:
- name: enp6s0
description: Linux bridge with enp6s0 as a port
name: br-ex
name: br-ex-osp
type: linux-bridge
state: up
ipv4:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
port:
- name: enp6s0
description: Linux bridge with enp6s0 as a port
name: br-ex
name: br-ex-osp
state: up
type: linux-bridge
mtu: 1500
Expand Down
19 changes: 14 additions & 5 deletions tests/kuttl/common/tests/create_openstacknetconfig-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ spec:
ipv6:
enabled: false
mtu: 1500
name: br-ex
name: br-ex-osp
state: up
type: linux-bridge
nodeSelector:
Expand Down Expand Up @@ -384,7 +384,7 @@ spec:
ipv6:
enabled: false
mtu: 1500
name: br-ex
name: br-ex-osp
state: up
type: linux-bridge
nodeSelector:
Expand Down Expand Up @@ -494,18 +494,21 @@ status:
- reason: SuccessfullyConfigured
status: "False"
type: Degraded
- reason: ConfigurationProgressing
status: "False"
type: Progressing
---
apiVersion: nmstate.io/v1alpha1
kind: NodeNetworkConfigurationPolicy
metadata:
finalizers:
- openstacknetattachment
labels:
ooo-bridge: br-ex
ooo-bridge: br-ex-osp
osp-director.openstack.org/controller: osp-openstacknetattach
osp-director.openstack.org/name: br-ex-bridge
osp-director.openstack.org/namespace: openstack
name: br-ex
name: br-ex-osp
spec:
desiredState:
interfaces:
Expand All @@ -521,7 +524,7 @@ spec:
ipv6:
enabled: false
mtu: 1500
name: br-ex
name: br-ex-osp
state: up
type: linux-bridge
nodeSelector:
Expand All @@ -535,6 +538,9 @@ status:
- reason: SuccessfullyConfigured
status: "False"
type: Degraded
- reason: ConfigurationProgressing
status: "False"
type: Progressing
---
apiVersion: nmstate.io/v1alpha1
kind: NodeNetworkConfigurationPolicy
Expand Down Expand Up @@ -585,6 +591,9 @@ status:
- reason: SuccessfullyConfigured
status: "False"
type: Degraded
- reason: ConfigurationProgressing
status: "False"
type: Progressing
---
apiVersion: osp-director.openstack.org/v1beta1
kind: OpenStackNet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,9 @@ status:
- reason: SuccessfullyConfigured
status: "False"
type: Degraded
- reason: ConfigurationProgressing
status: "False"
type: Progressing
---
apiVersion: osp-director.openstack.org/v1beta1
kind: OpenStackNet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,9 @@ status:
- reason: SuccessfullyConfigured
status: "False"
type: Degraded
- reason: ConfigurationProgressing
status: "False"
type: Progressing
---
apiVersion: osp-director.openstack.org/v1beta1
kind: OpenStackNet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ status:
conditions:
- status: "True"
type: Ready
- status: "True"
type: DataVolumesReady
- status: "True"
type: LiveMigratable
- status: "True"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@ status:
conditions:
- status: "True"
type: Ready
- status: "True"
type: DataVolumesReady
- status: "True"
type: LiveMigratable
- status: "True"
Expand All @@ -135,6 +137,8 @@ status:
conditions:
- status: "True"
type: Ready
- status: "True"
type: DataVolumesReady
- status: "True"
type: LiveMigratable
- status: "True"
Expand All @@ -151,6 +155,8 @@ status:
conditions:
- status: "True"
type: Ready
- status: "True"
type: DataVolumesReady
- status: "True"
type: LiveMigratable
- status: "True"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ metadata:
labels:
osp-director.openstack.org/controller: osp-openstacknet
osp-director.openstack.org/namespace: openstack
name: br-ex
name: br-ex-osp
---
apiVersion: nmstate.io/v1alpha1
kind: NodeNetworkConfigurationPolicy
Expand Down

0 comments on commit 30c4997

Please sign in to comment.