Files

3.0 KiB

Provider Warnings - Fixed

Date: 2025-12-13
Status: WARNINGS RESOLVED


Issue Fixed

Missing CRDs for Optional Controllers

Problem: Provider was logging repeated errors about missing CRDs:

  • ProxmoxVMScaleSet.proxmox.sankofa.nexus
  • ResourceDiscovery.proxmox.sankofa.nexus

Root Cause: CRD definitions existed in code but CRDs were never generated/installed.

Solution: Generated and installed missing CRDs.


Actions Taken

1. Generated Missing CRDs

cd crossplane-provider-proxmox
make manifests

Result: Generated all CRD YAML files:

  • proxmox.sankofa.nexus_providerconfigs.yaml (already existed)
  • proxmox.sankofa.nexus_proxmoxvms.yaml (already existed)
  • proxmox.sankofa.nexus_proxmoxvmscalesets.yaml (newly generated)
  • proxmox.sankofa.nexus_resourcediscoveries.yaml (newly generated)

2. Installed CRDs

kubectl apply -f config/crd/bases/

Result: All 4 CRDs now installed in cluster.


Verification

Before Fix

kubectl get crd | grep proxmox
# providerconfigs.proxmox.sankofa.nexus
# proxmoxvms.proxmox.sankofa.nexus

Logs: Errors every 10 seconds about missing CRDs.

After Fix

kubectl get crd | grep proxmox
# providerconfigs.proxmox.sankofa.nexus
# proxmoxvms.proxmox.sankofa.nexus
# proxmoxvmscalesets.proxmox.sankofa.nexus
# resourcediscoveries.proxmox.sankofa.nexus

Logs: No CRD-related errors.


Current Status

All CRDs Installed

CRD Status Purpose
proxmoxvms Installed Basic VM management
providerconfigs Installed Provider configuration
proxmoxvmscalesets Installed VM scaling operations
resourcediscoveries Installed Resource discovery

Provider Logs Clean

  • No CRD-related errors
  • Controllers successfully registered
  • All features available

Impact

Before Fix

  • ⚠️ Log noise (errors every 10 seconds)
  • ⚠️ Continuous retry attempts
  • Basic VM operations working

After Fix

  • Clean logs
  • No retry attempts
  • All features available
  • VM operations working

Available Features

With all CRDs installed, the following features are now available:

1. ProxmoxVM (Basic VM Management)

  • Create, update, delete VMs
  • Status reporting
  • IP address tracking

2. ProxmoxVMScaleSet (VM Scaling)

  • Horizontal VM scaling
  • Auto-scaling based on metrics
  • Replica management

3. ResourceDiscovery

  • Discover existing Proxmox resources
  • Sync with external systems
  • Multi-provider support (Proxmox, Kubernetes, Cloudflare, Ceph, MinIO)

4. ProviderConfig

  • Multi-site configuration
  • Credential management
  • Site-specific settings

Conclusion

All warnings resolved

  • Missing CRDs generated and installed
  • Provider logs are clean
  • All features available
  • No functional impact (was already working)

Status: PRODUCTION READY


Last Updated: 2025-12-13
Status: FIXED