Skip to content

Fix hyrule-cloud Vault render failure for missing PAYMENT_BTC_XPUB #252

Description

@Svaag

Summary

After repairing the missing XMR Vault fields from the failed app-promotion-deploy run, vault-agent-hyrule-cloud.service still reports a render-hook failure because PAYMENT_BTC_XPUB renders as <no value> in /opt/hyrule-cloud/.env.

Observed on api:

hyrule-cloud Vault render has unresolved key PAYMENT_BTC_XPUB
PAYMENT_BTC_XPUB=<no value>

The app service is currently active, but Vault Agent keeps retrying the template command because the render hook exits non-zero.

Impact

  • vault-agent-hyrule-cloud is noisy/unhealthy despite the app being up.
  • Future cloud applies/secret rotations may fail or mask real render problems.
  • BTC native payment support is either misconfigured or should be explicitly disabled/optional.

Proposed fix

Pick one intentional contract and implement it consistently:

  1. Populate btc_xpub in kv/hyrule-cloud with a valid account-level BIP84 public key used by PAYMENT_BTC_XPUB; or
  2. If BTC payments are not production-ready, remove PAYMENT_BTC_XPUB from hyrule_cloud_required_env_keys and make the app/template explicitly support BTC-disabled mode without <no value>.

Acceptance criteria

  • /opt/hyrule-cloud/.env contains no <no value> entries for required keys.
  • vault-agent-hyrule-cloud.service has no render-hook error for PAYMENT_BTC_XPUB after restart/rerender.
  • ansible-playbook playbooks/cloud.yml --tags apply --limit api -e hyrule_cloud_apply=true completes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ansibleAnsible role / playbook / inventory workbugSomething isn't workingcloudloop:knowledge-gapKnowledge context is missing, stale, or contradictory

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions