Open obriensystems opened 8 months ago
Reduced machine size temporarily to n2-standard-2 (6 cores for 3 vms) wont work because of the nic count
Warning UpdateFailed 6s computeinstance-controller Update call failed: error applying desired state: summary: Error creating instance: googleapi: Error 400: Invalid value for field 'resource.networkInterfaces': ''. Too many network interfaces. The maximum number of network interfaces allowed for this machine type is 2., invalid
trying
machineType: e2-standard-2
for management and n2-standard-2 for fg vms
root_@cloudshell:~/pdt-ls/obriensystems/pubsec-declarative-toolkit/solutions/project (kcc-boot-ls-8704)$ kubectl get gcp -n networking | grep computeinstance
computeinstancegroup.compute.cnrm.cloud.google.com/hub-fgt-primary-umig 3d6h True UpToDate 109s
computeinstancegroup.compute.cnrm.cloud.google.com/hub-fgt-secondary-umig 3d6h True UpToDate 7s
computeinstance.compute.cnrm.cloud.google.com/hub-fgt-primary-instance 3d6h True UpToDate 2m34s
computeinstance.compute.cnrm.cloud.google.com/hub-fgt-secondary-instance 3d6h True UpToDate 7s
computeinstance.compute.cnrm.cloud.google.com/hub-management-instance 3d6h True UpToDate 26s
gui has not caught up
quota issue solved by using a different machine type for the management instance and hit refresh on the gce pane
Status:
Conditions:
Last Transition Time: 2023-10-27T21:07:26Z
Message: The resource is up to date
Reason: UpToDate
Status: True
Type: Ready
Cpu Platform: Intel Cascade Lake
Current Status: RUNNING
Instance Id: 5974440820601886829
Label Fingerprint: Z9VAAJ71T-w=
Metadata Fingerprint: GXJWD0MkUvs=
Observed Generation: 7
Self Link: https://www.googleapis.com/compute/v1/projects/xxdmu-admin4-ls/zones/northamerica-northeast1-b/instances/fgt-secondary-instance
Tags Fingerprint: tvYV2XqMUG4=
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning UpdateFailed 31m (x2153 over 3d6h) computeinstance-controller Update call failed: error applying desired state: summary: Error waiting for instance to create: Quota 'N2_CPUS' exceeded. Limit: 8.0 in region northamerica-northeast1.
metric name = compute.googleapis.com/n2_cpus
limit name = N2-CPUS-per-project-region
limit = 8
dimensions = map[region:northamerica-northeast1]
Normal Updating 5m36s (x2190 over 3d6h) computeinstance-controller Update in progress
root_@cloudshell:~/pdt-ls/obriensystems/pubsec-declarative-toolkit/solutions/project (kcc-boot-ls-8704)$ ^C
root_@cloudshell:~/pdt-ls/obriensystems/pubsec-declarative-toolkit/solutions/project (kcc-boot-ls-8704)$ kubectl get gcp -n networking | grep computeinstance
computeinstancegroup.compute.cnrm.cloud.google.com/hub-fgt-primary-umig 3d6h True UpToDate 5m53s
computeinstancegroup.compute.cnrm.cloud.google.com/hub-fgt-secondary-umig 3d6h True UpToDate 4m11s
computeinstance.compute.cnrm.cloud.google.com/hub-fgt-primary-instance 3d6h True UpToDate 6m38s
computeinstance.compute.cnrm.cloud.google.com/hub-fgt-secondary-instance 3d6h True UpToDate 4m11s
computeinstance.compute.cnrm.cloud.google.com/hub-management-instance 3d6h True UpToDate 4m30s
Closing once more testing on mgmt VM behaviour under the reduced instance
part of #446 details coming https://console.cloud.google.com/kubernetes/object/compute.cnrm.cloud.google.com/computeinstances/northamerica-northeast1/krmapihost-kcc-oi4/networking/hub-fgt-secondary-instance?apiVersion=v1beta1&project=kcc-boot-ls-8704&orgonly=true&supportedpurview=organizationId
usually these come in easier