-
Bug
-
Resolution: Duplicate
-
Critical
-
None
-
None
-
False
-
None
-
False
-
-
Description:
As title
How reproducible
100%
Steps
- Create a rosa cluster with version
-
- channel_group: candidate/nightly
- Version: 4.16.0-rc.0/4.16.0-0.nightly-2024-05-07-025557
- Wait for cluster ready
- Scale up the default worker pool
$ rosa edit machinepool worker c <cluster> --replicas 12
- Check the machineset in cluster
$ oc get machineset -n openshift-machine-api
Actual result:
The worker replicas number is not updated
lixue@Xue-Lis-MacBook-Pro ~ % ocm list machinepools -c 2b6glnt0lo3ktajscrrp0gsqbu6lajgf ID AUTOSCALING REPLICAS INSTANCE TYPE LABELS TAINTS AVAILABILITY ZONES SG IDs worker No 12 m5.xlarge us-west-2a, us-west-2b, us-west-2c
But on cluster console the replicas number is not updated
lixue@Xue-Lis-MacBook-Pro ~ % oc get machineset -n openshift-machine-api NAME DESIRED CURRENT READY AVAILABLE AGE i7y0c0h9w2r0g7k-zprzd-infra-us-west-2a 1 1 1 1 2d i7y0c0h9w2r0g7k-zprzd-infra-us-west-2b 1 1 1 1 2d i7y0c0h9w2r0g7k-zprzd-infra-us-west-2c 1 1 1 1 2d i7y0c0h9w2r0g7k-zprzd-worker-us-west-2a 1 1 1 1 2d i7y0c0h9w2r0g7k-zprzd-worker-us-west-2b 1 1 1 1 2d i7y0c0h9w2r0g7k-zprzd-worker-us-west-2c 1 1 1 1 2d
Expect result
The replicas number should be updated
Additional info:
Here is the machine config on HIVE
lixue@Xue-Lis-MacBook-Pro ~ % ocm get /api/clusters_mgmt/v1/clusters/2b6glnt0lo3ktajscrrp0gsqbu6lajgf/resources/live|jq -r .resources.machine_pools|jq -r '.items[1]' { "kind": "MachinePool", "apiVersion": "hive.openshift.io/v1", "metadata": { "name": "i7y0c0h9w2r0g7k-worker", "namespace": "uhc-staging-2b6glnt0lo3ktajscrrp0gsqbu6lajgf", "uid": "ac113407-e09f-4b90-94d1-56676a41c104", "resourceVersion": "2360180567", "generation": 2, "creationTimestamp": "2024-05-11T11:41:54Z", "labels": { "api.openshift.com/id": "2b6glnt0lo3ktajscrrp0gsqbu6lajgf" }, "annotations": { "hive.openshift.io/image-id-override": "ami-07e125cf5bc31a77e" }, "finalizers": [ "hive.openshift.io/remotemachineset" ], "managedFields": [ { "manager": "manager", "operation": "Update", "apiVersion": "hive.openshift.io/v1", "time": "2024-05-11T12:17:20Z", "fieldsType": "FieldsV1", "fieldsV1": { "f:metadata": { "f:finalizers": { ".": {}, "v:\"hive.openshift.io/remotemachineset\"": {} } } } }, { "manager": "manager", "operation": "Update", "apiVersion": "hive.openshift.io/v1", "time": "2024-05-11T12:17:54Z", "fieldsType": "FieldsV1", "fieldsV1": { "f:status": { ".": {}, "f:conditions": {} } }, "subresource": "status" }, { "manager": "clusters-service", "operation": "Update", "apiVersion": "hive.openshift.io/v1", "time": "2024-05-11T12:54:15Z", "fieldsType": "FieldsV1", "fieldsV1": { "f:metadata": { "f:annotations": { ".": {}, "f:hive.openshift.io/image-id-override": {} }, "f:labels": { ".": {}, "f:api.openshift.com/id": {} } }, "f:spec": { ".": {}, "f:clusterDeploymentRef": {}, "f:name": {}, "f:platform": { ".": {}, "f:aws": { ".": {}, "f:rootVolume": { ".": {}, "f:size": {}, "f:type": {} }, "f:type": {}, "f:userTags": { ".": {}, "f:TicketId": {}, "f:red-hat-clustertype": {}, "f:red-hat-managed": {} }, "f:zones": {} } }, "f:replicas": {} } } } ] }, "spec": { "clusterDeploymentRef": { "name": "i7y0c0h9w2r0g7k" }, "name": "worker", "replicas": 12, "platform": { "aws": { "zones": [ "us-west-2a", "us-west-2b", "us-west-2c" ], "type": "m5.xlarge", "rootVolume": { "size": 300, "type": "gp3" }, "userTags": { "TicketId": "384", "red-hat-clustertype": "rosa", "red-hat-managed": "true" } } } }, "status": { "conditions": [ { "type": "NotEnoughReplicas", "status": "False", "lastProbeTime": "2024-05-11T12:17:54Z", "lastTransitionTime": "2024-05-11T12:17:54Z", "reason": "EnoughReplicas", "message": "The MachinePool has sufficient replicas for each MachineSet" }, { "type": "NoMachinePoolNameLeasesAvailable", "status": "Unknown", "lastProbeTime": "2024-05-11T11:43:18Z", "lastTransitionTime": "2024-05-11T11:43:18Z", "reason": "Initialized", "message": "Condition Initialized" }, { "type": "InvalidSubnets", "status": "False", "lastProbeTime": "2024-05-11T12:17:54Z", "lastTransitionTime": "2024-05-11T12:17:54Z", "reason": "ValidSubnets", "message": "Subnets are valid" }, { "type": "UnsupportedConfiguration", "status": "False", "lastProbeTime": "2024-05-11T12:17:54Z", "lastTransitionTime": "2024-05-11T12:17:54Z", "reason": "ConfigurationSupported", "message": "The configuration is supported" } ] } }
- duplicates
-
HIVE-2443 Fix MachinePool/MachineSet matching when subnets (un)specified
- Closed
- is related to
-
OCPBUGS-34050 OpenShift won't start when instances shut down and restarted
- Closed