Giter VIP home page Giter VIP logo

Comments (4)

AbelHu avatar AbelHu commented on August 17, 2024

Did you remove ssh_certificate in the manifest?
You can send the log to me [email protected]:[email protected].

Best Regards,
Abel HU

? 2016?4?4??22:55?cwackro <[email protected]mailto:[email protected]> ???

Hello, when we try to upgrade to CPI v8 or v9 from v7 we get the following error in the run log
Even though we replaced the "ssh_certificate" line with "ssh_pubic_key" in the bosh.yml file


[Cmd Runner] 2016/04/04 14:49:09 DEBUG - Running command: ruby /tmp/erb-renderer775012399/erb-render.rb /tmp/erb-renderer775012399/erb-context.json /tmp/bosh-init-release659996273/extracted_jobs/cpi/templates/cpi.json.erb /tmp/rendered-jobs895232053/config/cpi.json
[Cmd Runner] 2016/04/04 14:49:09 DEBUG - Stdout:
[Cmd Runner] 2016/04/04 14:49:09 DEBUG - Stderr: /tmp/erb-renderer775012399/erb-render.rb:180:in rescue in render': Error filling in template '/tmp/bosh-init-release659996273/extracted_jobs/cpi/templates/cpi.json.erb' for cpi/0 (line 43: #<RuntimeError: ssh_certificate has been replaced by ssh_public_key. Please read https://github.com/cloudfoundry-incubator/bosh-azure-cpi-release/blob/master/src/bosh_azure_cpi/README.md.>) (RuntimeError)
from /tmp/erb-renderer775012399/erb-render.rb:166:inrender'
from /tmp/erb-renderer775012399/erb-render.rb:191:in `

'
[Cmd Runner] 2016/04/04 14:49:09 DEBUG - Successful: false (1)
[File System] 2016/04/04 14:49:09 DEBUG - Remove all /tmp/erb-renderer775012399
[File System] 2016/04/04 14:49:09 DEBUG - Remove all /tmp/rendered-jobs895232053
[File System] 2016/04/04 14:49:09 DEBUG - Remove all /tmp/stemcell-manager690346780
[File System] 2016/04/04 14:49:09 DEBUG - Remove all /tmp/bosh-init-release260197594
[File System] 2016/04/04 14:49:09 DEBUG - Remove all /tmp/bosh-init-release659996273
[Main] 2016/04/04 14:49:09 ERROR - Panic: runtime error: index out of range


/tmp/build/src/gopath/src/github.com/cloudfoundry/bosh-init/Godeps/_workspace/src/github.com/cloudfoundry/bosh-utils/logger/logger.go:134http://github.com/cloudfoundry/bosh-init/Godeps/_workspace/src/github.com/cloudfoundry/bosh-utils/logger/logger.go:134 (0x46c33e)
/usr/local/go/src/runtime/asm_amd64.s:403 (0x43bf85)
/usr/local/go/src/runtime/panic.go:387 (0x4139d8)
/usr/local/go/src/runtime/panic.go:12 (0x412b6e)
/tmp/build/src/gopath/src/github.com/cloudfoundry/bosh-init/installation/installer.go:78http://github.com/cloudfoundry/bosh-init/installation/installer.go:78 (0x4d3820)
/tmp/build/src/gopath/src/github.com/cloudfoundry/bosh-init/cpi/release/installer.go:37http://github.com/cloudfoundry/bosh-init/cpi/release/installer.go:37 (0x4c73ec)
/tmp/build/src/gopath/src/github.com/cloudfoundry/bosh-init/ui/stage.go:65http://github.com/cloudfoundry/bosh-init/ui/stage.go:65 (0x47ba91)
/tmp/build/src/gopath/src/github.com/cloudfoundry/bosh-init/cpi/release/installer.go:39http://github.com/cloudfoundry/bosh-init/cpi/release/installer.go:39 (0x4c6798)
/tmp/build/src/gopath/src/github.com/cloudfoundry/bosh-init/cpi/release/installer.go:48http://github.com/cloudfoundry/bosh-init/cpi/release/installer.go:48 (0x4c6949)
/tmp/build/src/gopath/src/github.com/cloudfoundry/bosh-init/cmd/deployment_preparer.go:176http://github.com/cloudfoundry/bosh-init/cmd/deployment_preparer.go:176 (0x45625e)
/tmp/build/src/gopath/src/github.com/cloudfoundry/bosh-init/cmd/deploy_cmd.go:74http://github.com/cloudfoundry/bosh-init/cmd/deploy_cmd.go:74 (0x453529)
/tmp/build/src/gopath/src/github.com/cloudfoundry/bosh-init/cmd/runner.go:27http://github.com/cloudfoundry/bosh-init/cmd/runner.go:27 (0x4621f7)
/tmp/build/src/gopath/src/github.com/cloudfoundry/bosh-init/main.go:42http://github.com/cloudfoundry/bosh-init/main.go:42 (0x401352)
/usr/local/go/src/runtime/proc.go:63 (0x415523)
/usr/local/go/src/runtime/asm_amd64.s:2232 (0x43dfe1)


We can provide full log to a secure location.

Thanks in advance :)

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHubhttps://github.com//issues/120

from bosh-azure-cpi-release.

AbelHu avatar AbelHu commented on August 17, 2024

@cwackro You have a typo in your BOSH manifest. ssh_pubic_key should be ssh_public_key.

from bosh-azure-cpi-release.

AbelHu avatar AbelHu commented on August 17, 2024

I guess it is resolved. @cwackro can reactive it if not.

from bosh-azure-cpi-release.

cwackro avatar cwackro commented on August 17, 2024

Thanks alot for your help.
Yep, Typo was the reason for the failure

from bosh-azure-cpi-release.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.