Date
1 - 4 of 4
bosh-lite : scripts/update
Rune Engseth <rune.engseth@...>
Hi. Having my first go at bosh-lite and CF.
After installing bosh-lite / vagrant / virtualbox, step 2 “Create a deployment manifest” fails ( https://docs.cloudfoundry.org/deploying/boshlite/create_a_manifest.html). When running ./scripts/update, the command fails due to error cloning a number of git-repos. I’m on master branch. Does anyone know how to fix this? *Example of failing git-repos* ------------ Cloning into '/Users/engrun/Development/git-repos/cf-release/src/loggregator/src/ gopkg.in/yaml.v2'... error: RPC failed; HTTP 301 curl 22 The requested URL returned error: 301 fatal: The remote end hung up unexpectedly fatal: clone of 'https://gopkg.in/yaml.v2' into submodule path '/Users/engrun/Development/git-repos/cf-release/src/loggregator/src/ gopkg.in/yaml.v2' failed Failed to clone 'src/gopkg.in/yaml.v2'. Retry scheduled Cloning into '/Users/engrun/Development/git-repos/cf-release/src/loggregator/src/ gopkg.in/check.v1'... error: RPC failed; HTTP 301 curl 22 The requested URL returned error: 301 fatal: The remote end hung up unexpectedly fatal: clone of 'https://gopkg.in/check.v1' into submodule path '/Users/engrun/Development/git-repos/cf-release/src/loggregator/src/ gopkg.in/check.v1' failed Failed to clone 'src/gopkg.in/check.v1' a second time, aborting Submodule path 'src/nats-release': checked out '7ec89b9cf5a7985184e0a58a71be671d2911545e' Submodule path 'src/nats-release/src/github.com/nats-io/gnatsd': checked out '86e883ce7d54d925e3018a761da38074eb732218' Submodule path 'src/nodejs-buildpack-release': checked out 'b1bc4ee09a95662108b04112e47c4f1acdf9f76b' Submodule path 'src/php-buildpack-release': checked out '9f1b901cb4080f32ba0b11dd3ccdca7ca57e0f4a' Submodule path 'src/postgres-release': checked out '4e1ae03f22a6dcb0c8796dc6e678c93feb4e586a' Submodule path 'src/python-buildpack-release': checked out 'ffe3b09f3886887c470e5f627bb96986443be810' Submodule path 'src/routing-release': checked out '661c5bc41d32f62d52ffe84dc206172e6938403b' Cloning into '/Users/engrun/Development/git-repos/cf-release/src/routing-release/src/ gopkg.in/yaml.v2'... error: RPC failed; HTTP 301 curl 22 The requested URL returned error: 301 fatal: The remote end hung up unexpectedly fatal: clone of 'https://gopkg.in/yaml.v2' into submodule path '/Users/engrun/Development/git-repos/cf-release/src/routing-release/src/ gopkg.in/yaml.v2' failed Failed to clone 'src/gopkg.in/yaml.v2'. Retry scheduled Cloning into '/Users/engrun/Development/git-repos/cf-release/src/routing-release/src/ gopkg.in/yaml.v2'... error: RPC failed; HTTP 301 curl 22 The requested URL returned error: 301 fatal: The remote end hung up unexpectedly fatal: clone of 'https://gopkg.in/yaml.v2' into submodule path '/Users/engrun/Development/git-repos/cf-release/src/routing-release/src/ gopkg.in/yaml.v2' failed Failed to clone 'src/gopkg.in/yaml.v2' a second time, aborting Submodule path 'src/ruby-buildpack-release': checked out '3b46e8260202f4f2f9a3cc999fc5a46cff5739fc' Submodule path 'src/smoke-tests': checked out '158d6b008ac18516287af59ccb4c16c208e87bf0' Submodule path 'src/staticfile-buildpack-release': checked out '7f10b3a34d0ad75b934130b6b2e24a8d91aeb6d3' Submodule path 'src/uaa-release': checked out '931b883be50ada66631d4193f0faf4693e022249' Submodule path 'src/uaa-release/src/uaa': checked out '4e652a6b5279ea99077fcfc46c5b8842267806c8' Failed to recurse into submodule path 'src/consul-release' Failed to recurse into submodule path 'src/etcd-release' Failed to recurse into submodule path 'src/loggregator' Failed to recurse into submodule path 'src/routing-release' regards Rune |
|
David Sabeti
Hi Rune,
toggle quoted message
Show quoted text
What version of git are you using to clone the repo? I'm pretty sure that the issue is that "https://gopkg.in/yaml.v2" is not the actually url where the repo is hosted. gopkg.in is just a proxy to the actual remote (probably github). I know that older versions of git (versions prior to, and including, 1.7.9.5) don't follow the 301's/redirects. You may be able to solve this by upgrade your version of git. You can see some discussion about this here: https://github.com/spf13/hugo/issues/297 David On Mon, Feb 13, 2017 at 9:39 AM Rune Engseth <rune.engseth(a)gmail.com> wrote:
Hi. Having my first go at bosh-lite and CF. After installing bosh-lite / vagrant / virtualbox, step 2 “Create a deployment manifest” fails ( https://docs.cloudfoundry.org/deploying/boshlite/create_a_manifest.html). When running ./scripts/update, the command fails due to error cloning a number of git-repos. I’m on master branch. Does anyone know how to fix this? *Example of failing git-repos* ------------ Cloning into '/Users/engrun/Development/git-repos/cf-release/src/loggregator/src/ gopkg.in/yaml.v2'... error: RPC failed; HTTP 301 curl 22 The requested URL returned error: 301 fatal: The remote end hung up unexpectedly fatal: clone of 'https://gopkg.in/yaml.v2' into submodule path '/Users/engrun/Development/git-repos/cf-release/src/loggregator/src/ gopkg.in/yaml.v2' failed Failed to clone 'src/gopkg.in/yaml.v2'. Retry scheduled Cloning into '/Users/engrun/Development/git-repos/cf-release/src/loggregator/src/ gopkg.in/check.v1'... error: RPC failed; HTTP 301 curl 22 The requested URL returned error: 301 fatal: The remote end hung up unexpectedly fatal: clone of 'https://gopkg.in/check.v1' into submodule path '/Users/engrun/Development/git-repos/cf-release/src/loggregator/src/ gopkg.in/check.v1' failed Failed to clone 'src/gopkg.in/check.v1' a second time, aborting Submodule path 'src/nats-release': checked out '7ec89b9cf5a7985184e0a58a71be671d2911545e' Submodule path 'src/nats-release/src/github.com/nats-io/gnatsd': checked out '86e883ce7d54d925e3018a761da38074eb732218' Submodule path 'src/nodejs-buildpack-release': checked out 'b1bc4ee09a95662108b04112e47c4f1acdf9f76b' Submodule path 'src/php-buildpack-release': checked out '9f1b901cb4080f32ba0b11dd3ccdca7ca57e0f4a' Submodule path 'src/postgres-release': checked out '4e1ae03f22a6dcb0c8796dc6e678c93feb4e586a' Submodule path 'src/python-buildpack-release': checked out 'ffe3b09f3886887c470e5f627bb96986443be810' Submodule path 'src/routing-release': checked out '661c5bc41d32f62d52ffe84dc206172e6938403b' Cloning into '/Users/engrun/Development/git-repos/cf-release/src/routing-release/src/ gopkg.in/yaml.v2'... error: RPC failed; HTTP 301 curl 22 The requested URL returned error: 301 fatal: The remote end hung up unexpectedly fatal: clone of 'https://gopkg.in/yaml.v2' into submodule path '/Users/engrun/Development/git-repos/cf-release/src/routing-release/src/ gopkg.in/yaml.v2' failed Failed to clone 'src/gopkg.in/yaml.v2'. Retry scheduled Cloning into '/Users/engrun/Development/git-repos/cf-release/src/routing-release/src/ gopkg.in/yaml.v2'... error: RPC failed; HTTP 301 curl 22 The requested URL returned error: 301 fatal: The remote end hung up unexpectedly fatal: clone of 'https://gopkg.in/yaml.v2' into submodule path '/Users/engrun/Development/git-repos/cf-release/src/routing-release/src/ gopkg.in/yaml.v2' failed Failed to clone 'src/gopkg.in/yaml.v2' a second time, aborting Submodule path 'src/ruby-buildpack-release': checked out '3b46e8260202f4f2f9a3cc999fc5a46cff5739fc' Submodule path 'src/smoke-tests': checked out '158d6b008ac18516287af59ccb4c16c208e87bf0' Submodule path 'src/staticfile-buildpack-release': checked out '7f10b3a34d0ad75b934130b6b2e24a8d91aeb6d3' Submodule path 'src/uaa-release': checked out '931b883be50ada66631d4193f0faf4693e022249' Submodule path 'src/uaa-release/src/uaa': checked out '4e652a6b5279ea99077fcfc46c5b8842267806c8' Failed to recurse into submodule path 'src/consul-release' Failed to recurse into submodule path 'src/etcd-release' Failed to recurse into submodule path 'src/loggregator' Failed to recurse into submodule path 'src/routing-release' regards Rune |
|
Rune Engseth <rune.engseth@...>
Hi
toggle quoted message
Show quoted text
thanks for the reply. I'm on git version 2.11.1 Should be the latest. 2017-02-13 21:30 GMT+01:00 David Sabeti <dsabeti(a)pivotal.io>: Hi Rune, |
|
Rune Engseth <rune.engseth@...>
I workaround is found here
toggle quoted message
Show quoted text
https://github.com/niemeyer/gopkg/issues/50 2017-02-14 8:48 GMT+01:00 Rune Engseth <rune.engseth(a)gmail.com>: Hi |
|