| Summary: | rh-redis32 doesn't implement some LSB functions | ||
|---|---|---|---|
| Product: | Red Hat Software Collections | Reporter: | Jakub Prokes <jprokes> |
| Component: | redis | Assignee: | Remi Collet <rcollet> |
| Status: | CLOSED ERRATA | QA Contact: | Jan Houska <jhouska> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rh-redis32 | CC: | jhouska, jorton, rcollet |
| Target Milestone: | rc | ||
| Target Release: | 2.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-15 10:16:14 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jakub Prokes
2016-08-23 14:49:18 UTC
Indeed, redis have no way to be "reload". What is the better way, remove the option from the ini script ? (so you will get the "Usage" error message ?
The collection-redis package on rhel-6.7.z and rhel-6.8.z is getting still wrong error message after calling "service rh-redis32-redis reload" and "service rh-redis32-redis force-reload" commands.
Package version:
:: [ 19:58:20 ] :: rh-redis32-redis-3.2.3-3.el6.x86_64
Rhel: 6.7.z and 6.8.z
Test log:
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: implemented operations
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
....
:: [ PASS ] :: Service have to implement try-restart function (Expected 0,3, got 0)
:: [ BEGIN ] :: Service have to implement reload function :: actually running 'service rh-redis32-redis reload'
Usage: /etc/init.d/rh-redis32-redis {start|stop|status|restart|condrestart|try-restart}
:: [ FAIL ] :: Service have to implement reload function (Expected 0,3, got 2)
./runtest.sh: line 56: [: missing `]'
:: [ BEGIN ] :: Service have to implement force-reload function :: actually running 'service rh-redis32-redis force-reload'
Usage: /etc/init.d/rh-redis32-redis {start|stop|status|restart|condrestart|try-restart}
:: [ FAIL ] :: Service have to implement force-reload function (Expected 0,3, got 2)
./runtest.sh: line 56: [: missing `]'
'88e51302-9a87-49ab-b603-c4fcd5da63e8'
implemented-operations result: FAIL
metric: 2
Log: /var/tmp/beakerlib-47164481/journal.txt
Info: Searching AVC errors produced since 1477331910.27 (Mon Oct 24 19:58:30 2016)
Searching logs...
Info: No AVC messages found.
Writing to /mnt/testarea/tmp.FGlnRY
:
AvcLog: /mnt/testarea/tmp.FGlnRY
...
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: TEST PROTOCOL
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: Test run ID : 47164481
:: [ LOG ] :: Package : rh-redis32
:: [ LOG ] :: Installed: : rh-redis32-2.3-1.el6.x86_64
:: [ LOG ] :: Installed: : rh-redis32-redis-3.2.3-3.el6.x86_64
:: [ LOG ] :: Installed: : rh-redis32-runtime-2.3-1.el6.x86_64
:: [ LOG ] :: Installed: : rh-redis32-scldevel-2.3-1.el6.x86_64
:: [ LOG ] :: beakerlib RPM : beakerlib-1.11-1.el6
:: [ LOG ] :: bl-redhat RPM : beakerlib-redhat-1-16.el6eso
:: [ LOG ] :: Test started : 2016-10-24 19:58:15 CEST
:: [ LOG ] :: Test finished : 2016-10-24 19:58:55 CEST
:: [ LOG ] :: Test name : /CoreOS/rh-redis32/Sanity/init-script-LSB
:: [ LOG ] :: Distro: : Red Hat Enterprise Linux Server release 6.7 (Santiago)
:: [ LOG ] :: Hostname : sheep-22.lab.eng.brq.redhat.com
:: [ LOG ] :: Architecture : x86_64
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ LOG ] :: Test description
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
PURPOSE of /CoreOS/rh-redis32/Sanity/init-script-LSB
Description: Test for BZ#1353983 (RFE add collection for Redis 3.2)
Author: Jakub Prokes <jprokes>
Bug summary: RFE: add collection for Redis 3.2
Bugzilla link: https://bugzilla.redhat.com/show_bug.cgi?id=1353983
Verified. Component Packages: rh-redis32-redis-3.2.4-1.el6.x86_64 rh-redis32-redis-3.2.4-1.el7.x86_64 Product versions: RHEL-6.8 Server x86_64 RHEL-6.7 Server x86_64 RHEL-7.2 Server x86_64 LOG: :: [ PASS ] :: Service have to implement try-restart function (Expected 0,3, got 0) :: [ PASS ] :: Service have to implement reload function (Expected 0,3, got 3) :: [ PASS ] :: Service have to implement force-reload function (Expected 0,3, got 3) :: [ LOG ] :: Duration: 21s :: [ LOG ] :: Assertions: 8 good, 0 bad :: [ PASS ] :: RESULT: implemented operations Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-2745.html |