Ceilometer compute service fails to start

Bug #1326230 reported by Chinmaya Bharadwaj
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Medium
Chinmaya Bharadwaj
Icehouse
Fix Released
Medium
Haifeng.Yan

Bug Description

When the VMware is configured as compute , ceilometer compute fails to start with the following error.

verify_requirements=verify_requirements,
2014-06-03 15:05:21.241 3826 TRACE ceilometer File "/usr/local/lib/python2.7/dist-packages/stevedore/named.py", line 55, in __init__
2014-06-03 15:05:21.241 3826 TRACE ceilometer verify_requirements)
2014-06-03 15:05:21.241 3826 TRACE ceilometer File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 170, in _load_plugins
2014-06-03 15:05:21.241 3826 TRACE ceilometer self._on_load_failure_callback(self, ep, err)
2014-06-03 15:05:21.241 3826 TRACE ceilometer File "/usr/local/lib/python2.7/dist-packages/stevedore/driver.py", line 50, in _default_on_load_failure
2014-06-03 15:05:21.241 3826 TRACE ceilometer raise err
2014-06-03 15:05:21.241 3826 TRACE ceilometer TypeError: _get_wsdl_loc() takes exactly 3 arguments (2 given)

This is because the oslo.vmware introduced new parameter 'port' for _get_wsdl_loc method.

Changed in ceilometer:
assignee: nobody → Chinmaya Bharadwaj (acbharadwaj)
description: updated
Changed in ceilometer:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/97831

Changed in ceilometer:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: none → juno-1
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/97831
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=ff5c133cb0f548851a8d276a31c7f38bcc9c5522
Submitter: Jenkins
Branch: master

commit ff5c133cb0f548851a8d276a31c7f38bcc9c5522
Author: chinmay <email address hidden>
Date: Wed Jun 4 20:44:06 2014 +0530

    Fixes ceilometer-compute service start failure

    Currently ceilometer-compute service is failing to start in the
    'vmware' region, because of the additional parameter 'port', is
    added to the oslo.vmware _get_wsdl_loc method.

    This patch fixes it by not calling the private method _get_wsdl_loc,
    avoiding the mismatch in the method call. Additional optional
    'wsdl_location' is added to over-ride to default location for bug
    work-arounds.

    Test cases are not added, since the changed method just calls the
    oslo.vmware and method is already mocked in the setUp of the
    class TestVsphereInspection.

    Change-Id: Ib70092c1ccb14421701acdf8ff4a3805becbeef4
    Closes-Bug: #1326230

Eoghan Glynn (eglynn)
Changed in ceilometer:
milestone: juno-1 → juno-2
importance: Undecided → Medium
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: juno-2 → 2014.2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/152880

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ceilometer (stable/icehouse)

Change abandoned by yanheven (<email address hidden>) on branch: stable/icehouse
Review: https://review.openstack.org/152880
Reason: my mistake

Revision history for this message
Haifeng.Yan (yanheven) wrote :

cherry-pick from Juno to Icehouse, review https://review.openstack.org/#/c/152897/

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/162937

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ceilometer (stable/icehouse)

Change abandoned by yanheven (<email address hidden>) on branch: stable/icehouse
Review: https://review.openstack.org/152880

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by yanheven (<email address hidden>) on branch: stable/icehouse
Review: https://review.openstack.org/162937

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Alan Pevec (<email address hidden>) on branch: stable/icehouse
Review: https://review.openstack.org/152897
Reason: Obsoleted by https://review.openstack.org/152880 with master change-id

Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Change abandoned by Alan Pevec (<email address hidden>) on branch: stable/icehouse
Review: https://review.openstack.org/152887
Reason: Duplicate of https://review.openstack.org/152880

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (stable/icehouse)

Reviewed: https://review.openstack.org/152880
Committed: https://git.openstack.org/cgit/openstack/ceilometer/commit/?id=737e89950b8acd7c517e526331c92514b4efc678
Submitter: Jenkins
Branch: stable/icehouse

commit 737e89950b8acd7c517e526331c92514b4efc678
Author: chinmay <email address hidden>
Date: Wed Jun 4 20:44:06 2014 +0530

    Fixes ceilometer-compute service start failure

    Currently ceilometer-compute service is failing to start in the
    'vmware' region, because of the additional parameter 'port', is
    added to the oslo.vmware _get_wsdl_loc method.

    This patch fixes it by not calling the private method _get_wsdl_loc,
    avoiding the mismatch in the method call.

    Test cases are not added, since the changed method just calls the
    oslo.vmware and method is already mocked in the setUp of the
    class TestVsphereInspection.

    Change-Id: Ib70092c1ccb14421701acdf8ff4a3805becbeef4
    Closes-Bug: #1326230
    (cherry picked from commit ff5c133cb0f548851a8d276a31c7f38bcc9c5522)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.