Skip to content
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

[dist] fix obsapidelayed startup at first start #3875

Merged
merged 1 commit into from
Sep 21, 2017

Conversation

M0ses
Copy link
Contributor

@M0ses M0ses commented Sep 21, 2017

Without this patch, you see an error message like

FATAL: 'searchd' config section not found in '/srv/www/obs/api/config/production.sphinx.conf'

on first startup of /etc/init.d/obsapidelayed

This patch ensures that the configuration for sphinx is created and the indicies
are created if the configuration file is 0 Bytes (empty)

Without this patch, you see an error message like

FATAL: 'searchd' config section not found in '/srv/www/obs/api/config/production.sphinx.conf'

on first startup of /etc/init.d/obsapidelayed

This patch ensures that the configuration for sphinx is created and the indicies
are created if the configuration file is 0 Bytes (empty)
@M0ses
Copy link
Contributor Author

M0ses commented Sep 21, 2017

@hennevogel : waiting for testsuite is IMHO useless because those errors are not detected in travis

@hennevogel
Copy link
Member

@M0ses it wont hurt waiting right? :)

@M0ses M0ses merged commit a72e6da into openSUSE:master Sep 21, 2017
@M0ses M0ses deleted the fix-sphinx-startup branch February 9, 2018 06:59
eduardoj added a commit to eduardoj/os-autoinst-distri-obs that referenced this pull request Feb 10, 2020
This way, merging pull requests that prevent services to be correctly
started up can be easily detected.

An example is issue openSUSE/open-build-service#3875.

Fixes os-autoinst#10.
eduardoj added a commit to eduardoj/os-autoinst-distri-obs that referenced this pull request Feb 10, 2020
This way, merging pull requests that prevent services to be correctly
started up can be easily detected.

An example is issue openSUSE/open-build-service#3875.

Fixes os-autoinst#10.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants