habitat-sh / on-prem-builder

Scripts to stand up an on-premise Habitat Builder Depot
Apache License 2.0
41 stars 34 forks source link

during bootstrap core packages getting errors #231

Open prashi89 opened 4 years ago

prashi89 commented 4 years ago

got below error during bulkupload , any idea ? on-prem-builder-master]# hab pkg bulkupload --url https://{on-prem-builder}/ --channel stable builder_bootstrap/ » Preparing to upload artifacts to the 'stable' channel on https://{on-prem-builder}/ → Using builder_bootstrap/artifacts for artifacts and builder_bootstrap/keys for signing keys → Found 46 artifact(s) for upload. ☁ Discovering origin names from local artifact cache ✓ Origin 'chef' already exists ✓ Origin 'core' already exists ✓ Origin 'effortless' already exists 75 B / 75 B | [================================================================================================================================] 100.00 % 1.88 MB/s ✗✗✗ ✗✗✗ [405 Method Not Allowed] ✗✗✗ 405 Not Allowed ✗✗✗ ✗✗✗

405 Not Allowed

✗✗✗
nginx
✗✗✗ ✗✗✗ ✗✗✗

try sync packages also : scripts]# ./on-prem-archive.sh sync-packages https://{on-prem-builder-ip} base-plans Installing git from Habitat package. » Installing core/git ☁ Determining latest version of core/git in the 'stable' channel → Using core/git/2.23.0/20191203153351 ★ Install of core/git/2.23.0/20191203153351 complete with 0 new packages installed. Installing curl from Habitat package. » Installing core/curl ☁ Determining latest version of core/curl in the 'stable' channel → Using core/curl/7.67.0/20191203153051 ★ Install of core/curl/7.67.0/20191203153051 complete with 0 new packages installed. Installing jq from Habitat package. » Installing core/jq-static ☁ Determining latest version of core/jq-static in the 'stable' channel → Using core/jq-static/1.6/20190703002933 ★ Install of core/jq-static/1.6/20190703002933 complete with 0 new packages installed. Installing b2sum from Habitat package. » Installing core/coreutils ☁ Determining latest version of core/coreutils in the 'stable' channel → Using core/coreutils/8.30/20190115012313 ★ Install of core/coreutils/8.30/20190115012313 complete with 0 new packages installed. Cloning into '/tmp/tmp.WhzrHqIAYS/core-plans'... remote: Enumerating objects: 3326, done. remote: Counting objects: 100% (3326/3326), done. remote: Compressing objects: 100% (2733/2733), done. remote: Total 3326 (delta 592), reused 2206 (delta 433), pack-reused 0 Receiving objects: 100% (3326/3326), 11.14 MiB | 8.84 MiB/s, done. Resolving deltas: 100% (592/592), done. Cloning into '/tmp/tmp.WhzrHqIAYS/windows-service'... remote: Enumerating objects: 17, done. remote: Counting objects: 100% (17/17), done. remote: Compressing objects: 100% (16/16), done. remote: Total 17 (delta 1), reused 8 (delta 1), pack-reused 0 Unpacking objects: 100% (17/17), done. Cloning into '/tmp/tmp.WhzrHqIAYS/habitat'... remote: Enumerating objects: 2048, done. remote: Counting objects: 100% (2048/2048), done. remote: Compressing objects: 100% (1786/1786), done. remote: Total 2048 (delta 191), reused 1126 (delta 103), pack-reused 0 Receiving objects: 100% (2048/2048), 37.80 MiB | 9.16 MiB/s, done. Resolving deltas: 100% (191/191), done.

Uploading keys to https://azlapnchehab01

[1/21] Uploading ./20160612031944.pub » Uploading public origin key ./20160612031944.pub ↑ Uploading ./20160612031944.pub 75 B / 75 B | [================================================================================================================================] 100.00 % 1.18 MB/s ↑ Uploading ./20160612031944.pub 75 B / 75 B | [================================================================================================================================] 100.00 % 1.36 MB/s ↑ Uploading ./20160612031944.pub 75 B / 75 B | [================================================================================================================================] 100.00 % 1.38 MB/s ↑ Uploading ./20160612031944.pub 75 B / 75 B | [================================================================================================================================] 100.00 % 1.59 MB/s ↑ Uploading ./20160612031944.pub 75 B / 75 B | [================================================================================================================================] 100.00 % 1.45 MB/s ↑ Uploading ./20160612031944.pub 75 B / 75 B | [================================================================================================================================] 100.00 % 1.33 MB/s ✗✗✗ ✗✗✗ Upload failed: We tried 5 times but could not upload core/20160612031944 public origin key. Giving up. ✗✗✗ Cleaning up. Done.