[FOLIO-1020] Vagrant Cloud uploads failing Created: 09/Jan/18  Updated: 12/Nov/18  Resolved: 12/Jan/18

Status: Closed
Project: FOLIO
Components: Continuous Integration
Affects versions: None
Fix versions: None

Type: Bug Priority: P1
Reporter: Wayne Schneider Assignee: Wayne Schneider
Resolution: Done Votes: 0
Labels: ci, sprint30
Remaining Estimate: Not Specified
Time Spent: 1 day, 4 hours, 30 minutes
Original estimate: Not Specified

Issue links:
Relates
relates to FOLIO-958 packer build unable to upload to Vagr... Closed
Sprint:

 Description   

The Packer build script that creates the Vagrant boxes on Vagrant Cloud has been failing for the last two days with the error:

testing-backend (vagrant-cloud): Error uploading box! Will retry in 10 seconds. Error: Put https://archivist.vagrantup.com/v1/object/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJib3hlcy8wMTRiNzk0NC0yNzliLTQ3ODQtODVmYS1jMzYxYzlhNmMyYTYiLCJtb2RlIjoidyIsImV4cGlyZSI6MTUxNTUzNzI1NSwiY2FsbGJhY2siOiJodHRwczovL2FwcC52YWdyYW50dXAuY29tL2FwaS9pbnRlcm5hbC9hcmNoaXZpc3QvY2FsbGJhY2sifQ.TCIRYHfytYtjnVx2A6t3yZmbOxXvBZdFTG-fxfKkee4: EOF


 Comments   
Comment by Wayne Schneider [ 09/Jan/18 ]

Filed issue with HashiCorp (https://support.hashicorp.com/hc/en-us/requests/6031):

The same error as in request 5642 has been occurring for us again, starting at about 8:00 am CST on January 8. Since that time, we have been unable to upload any boxes to Vagrant Cloud using the Vagrant Cloud provider in packer.

Comment by Wayne Schneider [ 10/Jan/18 ]

Updated ticket with packer log and with log from (failed) attempt to use the web API through curl:

curl -w '\n' -D - https://archivist.vagrantup.com/v1/object/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJib3hlcy9mZDUyY2IxMy04YTkxLTRiZGEtODdlMC02NGIzMjM3MzNlZjUiLCJtb2RlIjoidyIsImV4cGlyZSI6MTUxNTU1MTM3NCwiY2FsbGJhY2siOiJodHRwczovL2FwcC52YWdyYW50dXAuY29tL2FwaS9pbnRlcm5hbC9hcmNoaXZpc3QvY2FsbGJhY2sifQ.TV8KrF17U2mnXGtnugcfW1ePIXc5pN1EmDjaGXEUWw8 --request PUT --upload-file packer_testing-backend_virtualbox.box 
HTTP/1.1 100 Continue


curl: (56) GnuTLS recv error (-110): The TLS connection was non-properly terminated.
Comment by Wayne Schneider [ 10/Jan/18 ]

A couple of options:
1. We can manually create versions on Vagrant Cloud and point them to external URLs, then store the boxes elsewhere – this will work as a temporary solution. Perhaps this could be automated, as well.
2. We can stop using Vagrant Cloud altogether, and begin storing boxes and manifests elsewhere.

Comment by Wayne Schneider [ 11/Jan/18 ]

A third option – manage the manifest on Vagrant Cloud, but store boxes on S3 using https://github.com/lmars/packer-post-processor-vagrant-s3

Comment by Wayne Schneider [ 12/Jan/18 ]

This is promising. Performance uploading to S3 is much better, also.

Comment by Wayne Schneider [ 12/Jan/18 ]

Converted builds to use the Vagrant S3 post processor, with a simple shell script to create the version and provider on Vagrant Cloud.

Generated at Thu Feb 08 23:10:14 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.