StackStorm / packer-st2

Packer templates for building & deploying Vagrant & OVA with StackStorm installed
https://app.vagrantup.com/stackstorm/boxes/st2
Apache License 2.0
14 stars 7 forks source link

Release 3.7.0 Build Issue #63

Closed ShawnHardwick closed 1 year ago

ShawnHardwick commented 2 years ago

The v3.7.0 build in the CircleCI CICD pipeline is failing with the below issue:

TASK [Create server] ***********************************************************
FAILED - RETRYING: Create server (5 retries left).
FAILED - RETRYING: Create server (4 retries left).
FAILED - RETRYING: Create server (3 retries left).
FAILED - RETRYING: Create server (2 retries left).
FAILED - RETRYING: Create server (1 retries left).
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: Error: Error 422: sjc1 is not a valid facility
fatal: [localhost]: FAILED! => {"attempts": 5, "changed": false, "msg": "failed to set device state active, error: Error 422: sjc1 is not a valid facility"}
    to retry, use: --limit @/root/ova/.circleci/ansible/create.retry

PLAY RECAP *********************************************************************
localhost                  : ok=3    changed=0    unreachable=0    failed=1   

Exited with code exit status 2
CircleCI received exit code 2

https://app.circleci.com/pipelines/github/StackStorm/packer-st2/1502/workflows/e109e3e4-bdfd-4e0a-8260-a1b89830a808/jobs/4282

Because of this failure, there is no updated Vagrant box in Vagrant cloud. https://app.vagrantup.com/stackstorm/boxes/st2

arm4b commented 2 years ago

Hi @ShawnHardwick, thanks for looking!

In short, previously we relied on a Packet.net account that created an on-demand bare-metal instance to build the virtualbox/packer image. Because we're cheap (#oss), it's no more and the pipeline needs to be migrated to free GH Actions which seems to work with Virtualbox under osx environment.

It's caused by the https://github.com/StackStorm/packer-st2/issues/54 See more details here: https://github.com/StackStorm/packer-st2/issues/54#issuecomment-1120283685

If you or someone would like to get involved and try to migrate the packer build pipeline to GH Actions, - that'll help! We'll be happy to assist with any pointers.

ShawnHardwick commented 2 years ago

Thanks for the quick response @armab.