Closed Bug 585807 Opened 11 years ago Closed 11 years ago

[INPUT][INPUT-staging] Sphinx conf not automatically pulling from git

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

All
Other
task
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: davedash, Assigned: fox2mike)

References

Details

This should not cause an error:

http://input.stage.mozilla.com/en-US/search/?q=url%3A*&product=firefox

Can you verify the sphinx.conf is up to date?  (pastebin if possible)
Assignee: server-ops → shyam
Sorry, there must have been a push for input without a corresponding sphinx update.  This is an issue in production.

-d
Summary: [INPUT-staging] Sphinx conf not automatically pulling from git → [INPUT][INPUT-staging] Sphinx conf not automatically pulling from git
I found a doc for this:

https://intranet.mozilla.org/SysAdmin/index.php/Sphinx

It doesn't mention input, though. Still, I tried its advice, and things went a little south:

[root@pm-app-sphinx01 09:52:05 ~]
:) puppetd --test --tags=main
info: Retrieving plugin
info: Loading facts in available_package_updates
info: Loading facts in hp_array_utils
info: Loading facts in available_package_updates
info: Loading facts in hp_array_utils
info: Caching catalog for pm-app-sphinx01.mozilla.org
info: Applying configuration version '7843'
err: //sphinx/Sphinx-config[mobile.support]/File[/data/sphinx/mobile.support/sphinx.conf]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet:///generic/sphinx/searchd/mobile.support/sphinx.conf at /etc/puppet/manifests/classes/sphinx.pp:54
err: //sphinx/Sphinx-config[support-stage-new]/File[/data/sphinx/support-stage-new/sphinx.conf]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet:///generic/sphinx/searchd/support-stage-new/sphinx.conf at /etc/puppet/manifests/classes/sphinx.pp:54
err: //sphinx/Sphinx-config[mobile.support-stage]/File[/data/sphinx/mobile.support-stage/sphinx.conf]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet:///generic/sphinx/searchd/mobile.support-stage/sphinx.conf at /etc/puppet/manifests/classes/sphinx.pp:54
err: //sphinx/Sphinx-config[support-stage]/File[/data/sphinx/support-stage/sphinx.conf]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet:///generic/sphinx/searchd/support-stage/sphinx.conf at /etc/puppet/manifests/classes/sphinx.pp:54
err: //sphinx/Sphinx-config[preview.addons]/File[/data/sphinx/preview.addons/sphinx.conf]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet:///generic/sphinx/searchd/preview.addons/sphinx.conf at /etc/puppet/manifests/classes/sphinx.pp:54
err: //sphinx/Package[subversion-x86_64]/ensure: change from absent to latest failed: Could not update: Could not find package subversion-x86_64 at /etc/puppet/manifests/classes/sphinx.pp:66
notice: Finished catalog run in 10.63 seconds

I think something is wrong. Can I have one of you guys look at it?
Right, so we never setup input to auto pull and update it's sphinx configs.
And input.stage now has it's sphinx configs pulled from production and updated, automatically.
Err, that was supposed to mean from git, not production. Sigh.
Alright, config pushed to production.

We don't automatically update production (for obvious reasons), so we're going to have to be told to update sphinx.conf for production when it's needed and we'll do it.

Stage will auto-update as per comment #4

Calling this closed, reopen in case you run into any issues.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.