Bug 1417741 - test_get_service_by_host_name failure
Summary: test_get_service_by_host_name failure
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Certification Program
Classification: Red Hat
Component: redhat-certification-openstack
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rohan Kanade
QA Contact: Anshul Behl
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-01-30 20:24 UTC by Gonéri Le Bouder
Modified: 2018-04-26 05:34 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-26 05:34:17 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Gonéri Le Bouder 2017-01-30 20:24:09 UTC
Description of problem:

During certification of dellsc Cinder driver (BZ1416462) we faced this error:
test_get_service_by_host_name:
    [u'cinder-scheduler', u'cinder-volume'] != [u'cinder-scheduler']

This comes from the hostname@driver format returned by service-list.

[stack@director ~]$ cinder service-list
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
| Binary           | Host             | Zone | Status  | State | Updated_at                 | Disabled Reason |
+------------------+------------------+------+---------+-------+----------------------------+-----------------+
| cinder-scheduler | hostgroup        | nova | enabled | up    | 2017-01-30T20:16:11.000000 | -               |
| cinder-volume    | hostgroup@dellsc | nova | enabled | up    | 2017-01-30T20:16:05.000000 | -               |
+------------------+------------------+------+---------+-------+----------------------------+-----------------+

This problem can be avoid with this tempest parameter:

[volume-feature-enabled]
volume_services = True


How reproducible:

Run a cinder --type cinder certification job with the dellsc driver.


Note You need to log in before you can comment on or make changes to this bug.