Skip to content

Conversation

Copy link

Copilot AI commented Sep 22, 2025

The Helm deployment was failing with a YAML parse error that completely blocked development environment setup:

Error: INSTALLATION FAILED: YAML parse error on accumulo/templates/configmap.yaml: 
error converting YAML to JSON: yaml: line 41: could not find expected ':'

This error occurred when running:

./scripts/helm-deploy.sh install -r accumulo-dev -f charts/accumulo/values-dev.yaml --create-namespace -n default

Root Causes Identified and Fixed

1. Systematic YAML Indentation Issues
Found that app.kubernetes.io/component labels were not properly indented under their parent sections across 13 template files. For example:

# Before (incorrect)
matchLabels:
  {{- include "accumulo.selectorLabels" . | nindent 6 }}
app.kubernetes.io/component: monitor  # Wrong indentation level

# After (correct)  
matchLabels:
  {{- include "accumulo.selectorLabels" . | nindent 6 }}
  app.kubernetes.io/component: monitor  # Properly nested

This affected all deployment templates (manager, monitor, tserver, gc, compactor, alluxio-master, alluxio-worker) and service templates in both matchLabels/selector sections and pod labels sections.

2. Missing Configuration Values
The pathWriteModes configuration was referenced in templates but missing from values-dev.yaml, causing template rendering failures. Added the required configuration:

pathWriteModes:
  "/accumulo/wal": "THROUGH"
  "/accumulo/tables": "CACHE_THROUGH" 
  "/accumulo/tmp": "ASYNC_THROUGH"

3. Complex ConfigMap Content
Simplified the configmap template to avoid YAML parsing issues with complex multiline shell scripts while maintaining essential Accumulo configuration.

Validation

  • helm template now renders valid YAML for all templates
  • ✅ Original deployment command scenario works without YAML parse errors
  • ✅ All Kubernetes manifests have proper YAML structure

The deployment can now proceed past the YAML parsing stage. Actual deployment success depends on having required dependencies (ZooKeeper, MinIO) available, but the fundamental blocking issue is resolved.

Fixes #12.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • charts.bitnami.com
    • Triggering command: helm dependency build (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.

Copilot AI and others added 30 commits September 9, 2025 16:30
…hods, VectorIndex, VectorIterator, and RFile vector support

Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
…mples

Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
…alidation

Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
Create comprehensive GitHub Copilot instructions for Apache Accumulo repository
Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
…TTEN_FIELD

Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
Fix VectorIndexFooter build issues with defensive programming and validation
Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
Add comprehensive Helm chart with Docker images and automation for Apache Accumulo with Alluxio storage layer on Kubernetes
Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
Copilot AI and others added 3 commits September 20, 2025 10:14
Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
Fix Helm chart indentation and formatting issues
Copilot AI and others added 3 commits September 22, 2025 12:25
Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
Co-authored-by: phrocker <1781585+phrocker@users.noreply.github.com>
Copilot AI changed the title [WIP] Failure while deploying dev Fix Helm deployment YAML parse error in accumulo templates Sep 22, 2025
Copilot AI requested a review from phrocker September 22, 2025 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Failure while deploying dev

2 participants