Page MenuHomePhabricator

Make search.elastic.version an int not a string
ClosedPublic

Authored by Paladox on Feb 9 2017, 9:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 12 2023, 11:24 PM
Unknown Object (File)
Jan 2 2023, 1:53 PM
Unknown Object (File)
Nov 4 2022, 4:40 AM
Unknown Object (File)
Oct 25 2022, 6:41 PM
Unknown Object (File)
Aug 26 2022, 6:52 AM
Unknown Object (File)
Jul 24 2022, 9:33 PM
Unknown Object (File)
Jun 15 2022, 1:45 AM
Unknown Object (File)
Apr 21 2017, 3:34 PM
Subscribers

Details

Maniphest Tasks
T155299: Phabricator: Support elasticsearch 5.x
Reviewers
mmodell
Dzahn
Patch without arc
git checkout -b D562 && curl -L https://phabricator.wikimedia.org/D562?download=true | git apply
Summary

Puppet is not budging in allowing me to use an int so let's just make it a int.

This fixes prod for when we want to change versions too.

Change-Id: I348d674762953433bd77c6ff8efb4246d5d68b73

Diff Detail

Repository
rPHAB Phabricator
Branch
wmf/stable
Lint
Lint Passed
Unit
Tests Skipped
Build Status
Buildable 1601
Build 2558: differential-jessieJenkins
Build 2557: arc lint + arc unit

Event Timeline

Ok changing the type causes a setup warning "Config 'search.elastic.version' Invalid" but it doesn't break the code so this is an acceptable solution. This allows us to fix the config and the code without doing so in an atomic operation.

This revision is now accepted and ready to land.Feb 9 2017, 11:03 PM
In D562#11131, @mmodell wrote:

Ok changing the type causes a setup warning "Config 'search.elastic.version' Invalid" but it doesn't break the code so this is an acceptable solution. This allows us to fix the config and the code without doing so in an atomic operation.

Oh, does that break on prod? As i though puppet apply the version?

@mmodell would you be able to land this please? This should fix the error you describe as puppet is not putting strings around an int. :)