Skip to content

fix: migrate flat autoscaler_lxd_* keys to nested vantage_lxd_autoscaler - #61

Merged
jamesbeedy merged 1 commit into
mainfrom
fix/lxd_settings_refs
Jul 26, 2026
Merged

fix: migrate flat autoscaler_lxd_* keys to nested vantage_lxd_autoscaler#61
jamesbeedy merged 1 commit into
mainfrom
fix/lxd_settings_refs

Conversation

@jamesbeedy

Copy link
Copy Markdown
Contributor

The settings dict was still writing/reading flat keys like autoscaler_lxd_default_network, autoscaler_lxd_client_cert_data, etc. These must be nested under vantage_lxd_autoscaler to match the new VDeployerSettings schema.

  • create.py: write creds/defaults into vantage_lxd_autoscaler sub-dict
  • create.py: validation checks nested path for default_network
  • app.py: _asc() helper reads from nested vantage_lxd_autoscaler block
  • cloud_init keys moved to vantage_lxd_autoscaler.cloud_init sub-dict
  • Test fixtures updated to nested format

The settings dict was still writing/reading flat keys like
autoscaler_lxd_default_network, autoscaler_lxd_client_cert_data, etc.
These must be nested under vantage_lxd_autoscaler to match the new
VDeployerSettings schema.

- create.py: write creds/defaults into vantage_lxd_autoscaler sub-dict
- create.py: validation checks nested path for default_network
- app.py: _asc() helper reads from nested vantage_lxd_autoscaler block
- cloud_init keys moved to vantage_lxd_autoscaler.cloud_init sub-dict
- Test fixtures updated to nested format

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jamesbeedy
jamesbeedy merged commit 8879e5a into main Jul 26, 2026
1 of 5 checks passed
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.

1 participant