Azure / Azure/azure-quickstart-templates

New version of components

Open
#3,767 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

Hi Admin,

I am using concourse-ci template to deploy concourse. I realize that in this template Bosh, stem cell and concourse, also CLI version is too old. When I edited these parameters, it's giving me some error while deploying bosh director

`[Cmd Runner] 2017/08/10 09:23:54 DEBUG - Running command 'ruby /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/erb-renderer642471917/erb-render.rb /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/erb-renderer642471917/erb-context.json /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/bosh-init-release791446647/extracted_jobs/director/templates/director.pem.erb /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/rendered-jobs777836475/config/ssl/director.pem'
[Cmd Runner] 2017/08/10 09:23:54 DEBUG - Stdout:
[Cmd Runner] 2017/08/10 09:23:54 DEBUG - Stderr: /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/erb-renderer642471917/erb-render.rb:189:in `rescue in render': Error filling in template '/home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/bosh-init-release791446647/extracted_jobs/director/templates/director.pem.erb' for director/0 (line 1: #) (RuntimeError)
from /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/erb-renderer642471917/erb-render.rb:175:in `render'
from /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/erb-renderer642471917/erb-render.rb:200:in `'
[Cmd Runner] 2017/08/10 09:23:54 DEBUG - Successful: false (1)
[File System] 2017/08/10 09:23:54 DEBUG - Remove all /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/erb-renderer642471917
[File System] 2017/08/10 09:23:54 DEBUG - Remove all /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/rendered-jobs777836475
[File System] 2017/08/10 09:23:54 DEBUG - Remove all /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/rendered-jobs915668103
[File System] 2017/08/10 09:23:54 DEBUG - Remove all /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/rendered-jobs560633515
[File System] 2017/08/10 09:23:54 DEBUG - Remove all /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/rendered-jobs031513625
[registryServer] 2017/08/10 09:23:54 DEBUG - Stopping registry server
[File System] 2017/08/10 09:23:54 DEBUG - Remove all /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/jobs/azure_cpi
[registryServer] 2017/08/10 09:23:54 DEBUG - Registry error occurred: accept tcp 127.0.0.1:6901: use of closed network connection
[File System] 2017/08/10 09:23:54 DEBUG - Remove all /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/blobs/1d931869-4a81-459a-67f2-16747bd48359
[File System] 2017/08/10 09:23:55 DEBUG - Remove all /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/stemcell-manager735809435
[File System] 2017/08/10 09:23:55 DEBUG - Remove all /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/bosh-init-release791446647
[File System] 2017/08/10 09:23:55 DEBUG - Remove all /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/bosh-init-release776620481
[main] 2017/08/10 09:23:55 ERROR - Command 'deploy' failed: Deploying: Building state for instance 'bosh/0': Rendering job templates for instance 'bosh/0': Rendering templates for job 'director/4b347bc1d16b6bc30275d213c054011059016e17': Rendering template src: director.pem.erb, dst: config/ssl/director.pem: Rendering template src: /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/bosh-init-release791446647/extracted_jobs/director/templates/director.pem.erb, dst: /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/rendered-jobs777836475/config/ssl/director.pem: Running ruby to render templates: Running command: 'ruby /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/erb-renderer642471917/erb-render.rb /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/erb-renderer642471917/erb-context.json /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/bosh-init-release791446647/extracted_jobs/director/templates/director.pem.erb /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/rendered-jobs777836475/config/ssl/director.pem', stdout: '', stderr: '/home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/erb-renderer642471917/erb-render.rb:189:in `rescue in render': Error filling in template '/home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/bosh-init-release791446647/extracted_jobs/director/templates/director.pem.erb' for director/0 (line 1: #) (RuntimeError)
from /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/erb-renderer642471917/erb-render.rb:175:in `render'
from /home/csahu/.bosh_init/installations/951c9a4a-0a9f-4f0f-444d-735870adc2f9/tmp/erb-renderer642471917/erb-render.rb:200:in `'
': exit status 1`

Here are the versions which I am using

`https://bosh.io/d/github.com/cloudfoundry/bosh?v=262.3`
`https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-azure-cpi-release?v=26`
`https://bosh.io/d/stemcells/bosh-azure-hyperv-ubuntu-trusty-go_agent?v=3431.10`
`https://s3.amazonaws.com/bosh-init-artifacts/bosh-init-0.0.103-linux-amd64`
`https://github.com/concourse/concourse/releases/download/v3.3.3/concourse-3.3.3.tgz`
`https://github.com/concourse/concourse/releases/download/v3.3.3/garden-runc-1.6.0.tgz`

Looking for help.

Thanks

Contributor guide

No contributing guide indexed for this repository

Research direction

The report names director.pem.erb and erb-render.rb in the BOSH deployment output. Start by comparing the referenced BOSH, stemcell, Azure CPI, and Concourse versions with the template's supported versions, then reproduce the deployment error. Done means the selected component versions render the director certificate and complete deployment successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, ruby
Domain
cloud, devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.