[SERVER-2243] integer <number> too big to convert to `int' Created: 2018/07/02 Updated: 2018/07/19 Resolved: 2018/07/19
|Reporter:||Udhayamoorthy Karunamoorthy||Assignee:||Udhayamoorthy Karunamoorthy|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
puppet 4.5.2, puppet server 2.0.9
|Template:||PUP Bug Template customfield_10700 263598|
|Method Found:||Needs Assessment|
|QA Risk Assessment:||Needs Assessment|
I had a look at this ticket https://tickets.puppetlabs.com/browse/SERVER-1408
Let me know if this issue is related to the puppet server.
Below is the stacktrace log,
Info: Using configured environment 'development'
|Comment by Justin Stoller [ 2018/07/03 ]|
Hi, Udhayamoorthy Karunamoorthy. That does look like the same issue. Can you try upgrading to the latest Puppet Server release in the 2.x series (2.8.1) and see if that resolves your problem?
|Comment by Udhayamoorthy Karunamoorthy [ 2018/07/03 ]|
Hi Justin Stoller,
Unfortunately we couldn't upgrade the puppet server for now as this happened in the prod puppet master.
To elaborate more on the issue we had, this has happened during the catalog compilation and it fails at the below code
It is not able to create the consul_replicate.service as it failed to parse consul-replicate.systemd.erb template.
The consul-replicate.systemd.erb file has the following,
|Comment by Udhayamoorthy Karunamoorthy [ 2018/07/04 ]|
And the consul_replicate version used is v0.3.1
|Comment by Justin Stoller [ 2018/07/06 ]|
So in that linked ticket they have a work around that doesn't involve upgrading. They found that this issue is caused when an unknown variable is looked up and can be worked around by updating the template to include this:
do you might want to try replacing references to lookuvar like scope.lookupvar('consul_replicate::bin_dir') with something more like
|Comment by Justin Stoller [ 2018/07/17 ]|
Did that work around solve your issue Udhayamoorthy Karunamoorthy?
|Comment by Udhayamoorthy Karunamoorthy [ 2018/07/19 ]|
Thanks Justin Stoller Its fixed.