@@ -85,7 +85,7 @@ var _ = Describe("e2e tests [PR-Blocking]", func() {
85
85
shared .Logf ("Creating a cluster" )
86
86
clusterName := fmt .Sprintf ("cluster-%s" , namespace .Name )
87
87
configCluster := defaultConfigCluster (clusterName , namespace .Name )
88
- configCluster .ControlPlaneMachineCount = pointer .Int64 (3 )
88
+ configCluster .ControlPlaneMachineCount = pointer .Int64 (1 )
89
89
configCluster .WorkerMachineCount = pointer .Int64 (1 )
90
90
configCluster .Flavor = shared .FlavorDefault
91
91
createCluster (ctx , configCluster , clusterResources )
@@ -103,7 +103,7 @@ var _ = Describe("e2e tests [PR-Blocking]", func() {
103
103
Namespace : namespace .Name ,
104
104
})
105
105
Expect (workerMachines ).To (HaveLen (1 ))
106
- Expect (controlPlaneMachines ).To (HaveLen (3 ))
106
+ Expect (controlPlaneMachines ).To (HaveLen (1 ))
107
107
108
108
shared .Logf ("Waiting for worker nodes to be in Running phase" )
109
109
statusChecks := []framework.MachineStatusCheck {framework .MachinePhaseCheck (string (clusterv1 .MachinePhaseRunning ))}
@@ -118,20 +118,20 @@ var _ = Describe("e2e tests [PR-Blocking]", func() {
118
118
119
119
waitForDaemonSetRunning (ctx , workloadCluster .GetClient (), "kube-system" , "openstack-cloud-controller-manager" )
120
120
121
- waitForNodesReadyWithoutCCMTaint (ctx , workloadCluster .GetClient (), 4 )
121
+ waitForNodesReadyWithoutCCMTaint (ctx , workloadCluster .GetClient (), 2 )
122
122
123
123
// Tag: clusterName is declared on OpenStackCluster and gets propagated to all machines
124
124
// except the bastion host
125
125
allServers , err := shared .DumpOpenStackServers (e2eCtx , servers.ListOpts {Tags : clusterName })
126
126
Expect (err ).NotTo (HaveOccurred ())
127
- Expect (allServers ).To (HaveLen (4 ))
127
+ Expect (allServers ).To (HaveLen (2 ))
128
128
129
129
// When listing servers with multiple tags, nova api requires a single, comma-separated string
130
130
// with all the tags
131
131
controlPlaneTags := fmt .Sprintf ("%s,%s" , clusterName , "control-plane" )
132
132
controlPlaneServers , err := shared .DumpOpenStackServers (e2eCtx , servers.ListOpts {Tags : controlPlaneTags })
133
133
Expect (err ).NotTo (HaveOccurred ())
134
- Expect (controlPlaneServers ).To (HaveLen (3 ))
134
+ Expect (controlPlaneServers ).To (HaveLen (1 ))
135
135
136
136
machineTags := fmt .Sprintf ("%s,%s" , clusterName , "machine" )
137
137
machineServers , err := shared .DumpOpenStackServers (e2eCtx , servers.ListOpts {Tags : machineTags })
@@ -164,7 +164,7 @@ var _ = Describe("e2e tests [PR-Blocking]", func() {
164
164
shared .Logf ("Creating a cluster" )
165
165
clusterName := fmt .Sprintf ("cluster-%s" , namespace .Name )
166
166
configCluster := defaultConfigCluster (clusterName , namespace .Name )
167
- configCluster .ControlPlaneMachineCount = pointer .Int64 (3 )
167
+ configCluster .ControlPlaneMachineCount = pointer .Int64 (1 )
168
168
configCluster .WorkerMachineCount = pointer .Int64 (1 )
169
169
configCluster .Flavor = shared .FlavorFlatcar
170
170
createCluster (ctx , configCluster , clusterResources )
@@ -182,7 +182,7 @@ var _ = Describe("e2e tests [PR-Blocking]", func() {
182
182
Namespace : namespace .Name ,
183
183
})
184
184
Expect (workerMachines ).To (HaveLen (1 ))
185
- Expect (controlPlaneMachines ).To (HaveLen (3 ))
185
+ Expect (controlPlaneMachines ).To (HaveLen (1 ))
186
186
187
187
shared .Logf ("Waiting for worker nodes to be in Running phase" )
188
188
statusChecks := []framework.MachineStatusCheck {framework .MachinePhaseCheck (string (clusterv1 .MachinePhaseRunning ))}
@@ -197,7 +197,7 @@ var _ = Describe("e2e tests [PR-Blocking]", func() {
197
197
198
198
waitForDaemonSetRunning (ctx , workloadCluster .GetClient (), "kube-system" , "openstack-cloud-controller-manager" )
199
199
200
- waitForNodesReadyWithoutCCMTaint (ctx , workloadCluster .GetClient (), 4 )
200
+ waitForNodesReadyWithoutCCMTaint (ctx , workloadCluster .GetClient (), 2 )
201
201
})
202
202
})
203
203
@@ -209,7 +209,7 @@ var _ = Describe("e2e tests [PR-Blocking]", func() {
209
209
shared .Logf ("Creating a cluster" )
210
210
clusterName := fmt .Sprintf ("cluster-%s" , namespace .Name )
211
211
configCluster := defaultConfigCluster (clusterName , namespace .Name )
212
- configCluster .ControlPlaneMachineCount = pointer .Int64 (3 )
212
+ configCluster .ControlPlaneMachineCount = pointer .Int64 (1 )
213
213
configCluster .WorkerMachineCount = pointer .Int64 (1 )
214
214
configCluster .Flavor = shared .FlavorFlatcarSysext
215
215
createCluster (ctx , configCluster , clusterResources )
@@ -227,7 +227,7 @@ var _ = Describe("e2e tests [PR-Blocking]", func() {
227
227
Namespace : namespace .Name ,
228
228
})
229
229
Expect (workerMachines ).To (HaveLen (1 ))
230
- Expect (controlPlaneMachines ).To (HaveLen (3 ))
230
+ Expect (controlPlaneMachines ).To (HaveLen (1 ))
231
231
232
232
shared .Logf ("Waiting for worker nodes to be in Running phase" )
233
233
statusChecks := []framework.MachineStatusCheck {framework .MachinePhaseCheck (string (clusterv1 .MachinePhaseRunning ))}
@@ -242,7 +242,7 @@ var _ = Describe("e2e tests [PR-Blocking]", func() {
242
242
243
243
waitForDaemonSetRunning (ctx , workloadCluster .GetClient (), "kube-system" , "openstack-cloud-controller-manager" )
244
244
245
- waitForNodesReadyWithoutCCMTaint (ctx , workloadCluster .GetClient (), 4 )
245
+ waitForNodesReadyWithoutCCMTaint (ctx , workloadCluster .GetClient (), 2 )
246
246
})
247
247
})
248
248
0 commit comments