[FOLIO-958] packer build unable to upload to Vagrant Cloud Created: 29/Nov/17  Updated: 12/Nov/18  Resolved: 30/Nov/17

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, sprint27
Remaining Estimate: Not Specified
Time Spent: 2 hours
Original estimate: Not Specified

Issue links:
Relates
relates to FOLIO-1020 Vagrant Cloud uploads failing Closed
Sprint:

 Description   

The packer build of the Vagrant boxes is unable to be uploaded to Vagrant Cloud using the packer vagrant-cloud post-processor. Packer reports:

snapshot (vagrant-cloud): Error uploading box! Will retry in 10 seconds. Error: Put https://archivist.vagrantup.com/v1/object/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJib3hlcy8zMDE2ODc3OC1lOGU2LTQxZTEtYmFkNy1hNTQ1ZGM0OTBlZjUiLCJtb2RlIjoidyIsImV4cGlyZSI6MTUxMjAwMzY1NCwiY2FsbGJhY2siOiJodHRwczovL2FwcC52YWdyYW50dXAuY29tL2FwaS9pbnRlcm5hbC9hcmNoaXZpc3QvY2FsbGJhY2sifQ.hSNSKbLeD39XcAgGkVTHYvuZI_XoIa57afP_38hlmnA: EOF

After 3 attempts, the job gives up.



 Comments   
Comment by Wayne Schneider [ 29/Nov/17 ]

Using the Vagrant Cloud API from the command line on folio-jenkins-de also results in a failure:

wayne@folio-jenkins-de:~$ curl -w '\n' -D - \
> https://archivist.vagrantup.com/v1/object/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJib3hlcy9mZDY1NDMyZC0zMjEzLTQ5NGYtOWM5Ny1lOTZhMDgxZTA3MTgiLCJtb2RlIjoidyIsImV4cGlyZSI6MTUxMjAwNzM1MCwiY2FsbGJhY2siOiJodHRwczovL2FwcC52YWdyYW50dXAuY29tL2FwaS9pbnRlcm5hbC9hcmNoaXZpc3QvY2FsbGJhY2sifQ.j1I0tvrlPqIZFO_BKDTIlycIVHh1veMmaeHxS9enmDs \
> --request PUT \
> --upload-file packer_snapshot_virtualbox.box
HTTP/1.1 100 Continue


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

Attempting to upload from a U.S.-based server also results in an error, though a different one:

wayne@brienne:~$ curl -w '\n' -D - https://archivist.vagrantup.com/v1/object/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJib3hlcy82YWIzY2EyZi1iY2ZjLTQzNGMtYTk5ZS0xMzZlYzhhNmJmNzYiLCJtb2RlIjoidyIsImV4cGlyZSI6MTUxMjAxMDU3NCwiY2FsbGJhY2siOiJodHRwczovL2FwcC52YWdyYW50dXAuY29tL2FwaS9pbnRlcm5hbC9hcmNoaXZpc3QvY2FsbGJhY2sifQ.IUbdIUf7NjSQVkWPhIjP8jIgE785TFOALVsSQtszpxM --request PUT --upload-file packer_snapshot_virtualbox.box
HTTP/1.1 100 Continue


curl: (52) Empty reply from server
Comment by Wayne Schneider [ 29/Nov/17 ]

Opened ticket with Hashicorp:
Hi, friends.

Since yesterday, I've been unable to load a box file to Vagrant Cloud using the packer vagrant-cloud post-processor. The error I get is:

snapshot (vagrant-cloud): Error uploading box! Will retry in 10 seconds. Error: Put https://archivist.vagrantup.com/v1/object/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJib3hlcy8zMDE2ODc3OC1lOGU2LTQxZTEtYmFkNy1hNTQ1ZGM0OTBlZjUiLCJtb2RlIjoidyIsImV4cGlyZSI6MTUxMjAwMzY1NCwiY2FsbGJhY2siOiJodHRwczovL2FwcC52YWdyYW50dXAuY29tL2FwaS9pbnRlcm5hbC9hcmNoaXZpc3QvY2FsbGJhY2sifQ.hSNSKbLeD39XcAgGkVTHYvuZI_XoIa57afP_38hlmnA: EOF 

After 3 attempts, packer gives up.

I also get this error when trying to invoke the Vagrant Cloud API using curl:

curl -w '\n' -D - https://archivist.vagrantup.com/v1/object/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJrZXkiOiJib3hlcy83YTdjNGIyMC00Mzg2LTQ0OWYtOWE0ZC1jYWMzNWYwMGY5ZWYiLCJtb2RlIjoidyIsImV4cGlyZSI6MTUxMTk5Mzg2MSwiY2FsbGJhY2siOiJodHRwczovL2FwcC52YWdyYW50dXAuY29tL2FwaS9pbnRlcm5hbC9hcmNoaXZpc3QvY2FsbGJhY2sifQ.sjzyrj30x28YsFA9tXERSE18_8TAF4GJXwxF84cOblM --request PUT --upload-file packer_snapshot_virtualbox.box
HTTP/1.1 100 Continue


curl: (56) GnuTLS recv error (-110): The TLS connection was non-properly terminated.

Prior to yesterday evening, we have had almost no problems using this service. Thanks in advance for any help you can give!

wayne


Wayne Schneider
Software Engineer
www.indexdata.com

Comment by Wayne Schneider [ 29/Nov/17 ]

https://support.hashicorp.com/hc/requests/5642

Comment by Wayne Schneider [ 30/Nov/17 ]

Hashicorp confirmed that there had been issues and they had been fixed:

Hello Wayne

Thanks for your email.

we have had some issues on the last 2 days that were bit or hard to find.

We believe we have solved them.

Is there any chance you can try a new run ?

Thanks

Alvaro

Tests are now successful.

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