Skip to content

Lightsail && AWS Deployment Failures #14842

@tacowipeout

Description

@tacowipeout

Describe the bug:

  1. Lightsail deployment failure. Built 3x via fresh/reprovisioned/reset Google cloud shell terminal instances. (log 1)
  2. AWS deployment failure. Built 2x via fresh/reprovisioned/reset Google cloud shell terminal instance. Error log states "Unable to locate credentials." Proper credentials supplied and copied correctly. (log 2)

To reproduce:

Attempt to delploy algo on Lightsail & AWS.

Log 1:

TASK [cloud-lightsail : Deploy the template] *************************************************************************************************************************************************
[WARNING]: Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.
[DEPRECATION WARNING]: Param 'template' is deprecated. See the module docs for more information. This feature will be removed from collection 'amazon.aws' in a release after 2026-05-01.
[ERROR]: Task failed: Module failed: Unknown error.
Origin: /home/xxxx/algo/roles/cloud-lightsail/tasks/cloudformation.yml:2:3

1 ---
2 - name: Deploy the template
    ^ column 3

fatal: [localhost]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}

TASK [include_tasks] *************************************************************************************************************************************************************************
included: /home/xxxx/algo/playbooks/rescue.yml for localhost

TASK [debug] *********************************************************************************************************************************************************************************
ok: [localhost] => {
    "fail_hint": [
        "Sorry, but something went wrong!",
        "Please check the troubleshooting guide.",
        "https://trailofbits.github.io/algo/troubleshooting.html"
    ]
}

TASK [Fail the installation] *****************************************************************************************************************************************************************
[ERROR]: Task failed: Action failed: Failed as requested from task
Origin: /home/xxxx/algo/playbooks/rescue.yml:5:3

3     var: fail_hint
4
5 - name: Fail the installation
    ^ column 3

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed as requested from task"}

PLAY RECAP ***********************************************************************************************************************************************************************************
localhost                  : ok=38   changed=1    unreachable=0    failed=1    skipped=0    rescued=1    ignored=0   

Log 2:

TASK [cloud-ec2 : Get regions] ***************************************************************************************************************************************************************
[ERROR]: Task failed: Module failed: Unable to describe regions.: Unable to locate credentials
Origin: /home/xxxx/algo/roles/cloud-ec2/tasks/prompts.yml:69:7

67
68 - block:
69     - name: Get regions
         ^ column 7

fatal: [localhost]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

TASK [include_tasks] *************************************************************************************************************************************************************************
included: /home/xxxx/algo/playbooks/rescue.yml for localhost

TASK [debug] *********************************************************************************************************************************************************************************
ok: [localhost] => {
    "fail_hint": [
        "Sorry, but something went wrong!",
        "Please check the troubleshooting guide.",
        "https://trailofbits.github.io/algo/troubleshooting.html"
    ]
}

TASK [Fail the installation] *****************************************************************************************************************************************************************
[ERROR]: Task failed: Action failed: Failed as requested from task
Origin: /home/xxxx/algo/playbooks/rescue.yml:5:3

3     var: fail_hint
4
5 - name: Fail the installation
    ^ column 3

fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed as requested from task"}

PLAY RECAP ***********************************************************************************************************************************************************************************
localhost                  : ok=35   changed=4    unreachable=0    failed=1    skipped=1    rescued=1    ignored=0   


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions