-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yaml_escape is not defined in cc_deployment_updater #141
Comments
We have created an issue in Pivotal Tracker to manage this: https://www.pivotaltracker.com/story/show/165652848 The labels on this github issue will be updated when the story is started. |
Out of curiosity: why did this work on initial deployment? Are we leaking functions (and other things, potentially) defined in one template into another? My understanding was that there each job gets its own isolated set of variables for rendering? I might be wrong here and this might even be intentional – not sure about this. |
Following up @voelzmo I created an issue in Bosh about the leaking functions. cloudfoundry/bosh#2181 |
Thanks for submitting an issue to
capi-release
. We are always trying to improve! To help us, please fill out the following template.Issue
The cc_deployment_updater job template is only valid if other templates have been compiled first. This is true during a normal deployment, but not in
bosh cck
Context
Noticed while looking at cloudfoundry/bosh#2175
Steps to Reproduce
In a cf-deployment, delete a scheduler VM in your IaaS console. (I was already at only 1 scheduler VM when I reproduced it)
Watch bosh scan-and-fix happen, you will get the errors in the linked issue
undefined method
yaml_escape'`The error is from
capi-release/jobs/cc_deployment_updater/templates/cloud_controller_ng.yml.erb
Line 38 in a85f690
Expected result
bosh scan-and-fix can successfully recreate a scheduler VM
Current result
scheduler VM is broken forever if you delete it
Possible Fix
Define
yaml_escape
in all your templates(e.g.
capi-release/jobs/cloud_controller_clock/templates/cloud_controller_ng.yml.erb
Lines 11 to 18 in a85f690
The text was updated successfully, but these errors were encountered: