This message was deleted.
# harvester
a
This message was deleted.
b
Copy code
>>> Check all bundles ready...
There are non-ready Helm bundles:
fleet-local/fleet-agent-local
fleet-local/mcc-harvester
fleet-local/mcc-rancher-monitoring
>>> Check the Harvester bundle is ready...
2,17c2
< modified: 1
< nonReadyResources:
<   - bundleState: Modified
<     modifiedStatus:
<       - apiVersion: apps/v1
<         kind: Deployment
<         name: longhorn-admission-webhook
<         namespace: longhorn-system
<         patch: '{"spec":{"replicas":2}}'
<       - apiVersion: apps/v1
<         kind: Deployment
<         name: longhorn-conversion-webhook
<         namespace: longhorn-system
<         patch: '{"spec":{"replicas":2}}'
<     name: fleet-local/local
< ready: 0
---
> ready: 1
Harvester bundle is not ready!
>>> Check all nodes are ready...
All nodes are ready.
>>> Check the CAPI cluster is provisioned...
The CAPI cluster is provisioned.
>>> Check the CAPI machines count...
CAPI machine count is equal to node count.
>>> Check the CAPI machines are running...
The CAPI machines are provisioned.
>>> Check Longhorn volumes...
Skip checking for single node cluster.
>>> Check stale Longhorn volumes...
Checking volume longhorn-system/pvc-6c8c9272-983d-4e93-b7a3-a167d73c2e7f...
Checking volume longhorn-system/pvc-82c3bfcb-b874-475e-8d9a-414c7b09abe3...
Checking volume longhorn-system/pvc-ff37c7ed-eca7-4f55-9fe5-29580c54f7bc...
There is no stale Longhorn volume.
>>> Check error pods...
All pods are OK.
All nodes have more than 30GB free space.

There are 2 failing checks!
Just this error still don't know what's causing it tbh it's a single node
Copy code
fleet-local   mcc-rancher-monitoring                        0/1                       ErrApplied(1) [Cluster fleet-local/local: another operation (install/upgrade/rollback) is in progress]
Copy code
kubectl get clusters -n fleet-local local -o yaml
apiVersion: <http://provisioning.cattle.io/v1|provisioning.cattle.io/v1>
kind: Cluster
metadata:
  annotations:
    <http://kubectl.kubernetes.io/last-applied-configuration|kubectl.kubernetes.io/last-applied-configuration>: |
      {"apiVersion":"<http://provisioning.cattle.io/v1|provisioning.cattle.io/v1>","kind":"Cluster","metadata":{"annotations":{},"name":"local","namespace":"fleet-local"},"spec":{"kubernetesVersion":"v1.24.11+rke2r1","rkeConfig":{"controlPlaneConfig":null}}}
    <http://objectset.rio.cattle.io/applied|objectset.rio.cattle.io/applied>: H4sIAAAAAAAA/4yQzU7DMBCEXwXt2Slt079Y4oAQ4sCVF9jYS2Ow15G9CYfK746SVqJC4udo78xovjlBIEGLgqBPgMxRUFzkPD1j+0ZGMskiubgwKOJp4eKts6ChT3F02UV2fKyMH7JQqkwiFAL1ozV+MKXqOL6DhoCMRwrEciUYa3Xz7NjePZwj/8xiDAQafDTo/yXOPZrJAUXB3NdFfnGBsmDoQfPgvQKPLflfR+gwd6Bhu9ztt3XdUGNwc7Crdr9u6jW1y/pg91vb2LXdbHarA6jzYpbSVwho6DCNNIMWBd9Yrtu+eiKpzpeiIPdkpnbzx2Wq+0G6R7Z9dCygT2WSCcpwwciURrJPxJRmZtDLUj4DAAD//5CVWGcAAgAA
    <http://objectset.rio.cattle.io/id|objectset.rio.cattle.io/id>: provisioning-cluster-create
    <http://objectset.rio.cattle.io/owner-gvk|objectset.rio.cattle.io/owner-gvk>: <http://management.cattle.io/v3|management.cattle.io/v3>, Kind=Cluster
    <http://objectset.rio.cattle.io/owner-name|objectset.rio.cattle.io/owner-name>: local
    <http://objectset.rio.cattle.io/owner-namespace|objectset.rio.cattle.io/owner-namespace>: ""
  creationTimestamp: "2023-06-04T12:20:56Z"
  finalizers:
  - <http://wrangler.cattle.io/provisioning-cluster-remove|wrangler.cattle.io/provisioning-cluster-remove>
  - <http://wrangler.cattle.io/rke-cluster-remove|wrangler.cattle.io/rke-cluster-remove>
  generation: 2
  labels:
    <http://objectset.rio.cattle.io/hash|objectset.rio.cattle.io/hash>: 50675339e9ca48d1b72932eb038d75d9d2d44618
    <http://provider.cattle.io|provider.cattle.io>: harvester
  name: local
  namespace: fleet-local
  resourceVersion: "132731538"
  uid: c60e96f6-29d5-4148-8570-7e63ce05a535
spec:
  kubernetesVersion: v1.24.11+rke2r1
  localClusterAuthEndpoint: {}
  rkeConfig: {}
status:
  clientSecretName: local-kubeconfig
  clusterName: local
  conditions:
  - status: "True"
    type: Ready
  - lastUpdateTime: "2023-06-04T12:20:56Z"
    status: "False"
    type: Reconciling
  - lastUpdateTime: "2023-06-04T12:20:56Z"
    status: "False"
    type: Stalled
  - lastUpdateTime: "2023-06-04T12:21:42Z"
    status: "True"
    type: Created
  - lastUpdateTime: "2023-09-19T17:17:17Z"
    status: "True"
    type: RKECluster
  - status: Unknown
    type: DefaultProjectCreated
  - status: Unknown
    type: SystemProjectCreated
  - lastUpdateTime: "2023-06-04T12:21:11Z"
    status: "True"
    type: Connected
  - lastUpdateTime: "2023-06-04T12:21:58Z"
    status: "True"
    type: Provisioned
  - lastUpdateTime: "2023-09-19T17:17:17Z"
    status: "True"
    type: Updated
  observedGeneration: 2
  ready: true
Copy code
handler bundle-deploy: anoth │
│ er operation (install/upgrade/rollback) is in progress, requeuing
```
Seems like this fixed it
Copy code
kubectl delete secret -A -l status=pending-upgrade