No handlers could be found for logger

Bug #1341752 reported by schrodinger
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Low
Walt Boring

Bug Description

When I do run_tests.sh in cinder I get the following error at the end of the run.

vagrant@devstack:/opt/stack/cinder$ ./run_tests.sh

 [SNIP]

Slowest 10 tests took 11.54 secs:
cinder.tests.api.contrib.test_volume_actions.VolumeRetypeActionsTest
    test_update_readonly_flag 1.12
cinder.tests.test_storwize_svc.StorwizeSVCDriverTestCase
    test_storwize_svc_host_maps 1.39
    test_storwize_svc_multi_host_maps 1.11
    test_storwize_svc_retype_need_copy 1.09
    test_storwize_svc_retype_only_change_iogrp 1.09
    test_storwize_svc_snapshots 1.13
    test_storwize_svc_volume_migrate 1.13
    test_storwize_svc_volume_params 1.15
    test_storwize_terminate_connection 1.10
    test_storwize_vdisk_copy_ops 1.23

Ran 3083 tests in 148.093s

OK
No handlers could be found for logger "cinder.volume.drivers.san.hp.hp_lefthand_rest_proxy"
vagrant@devstack:/opt/stack/cinder$

Revision history for this message
Walt Boring (walter-boring) wrote :

We also see No handlers could be found for logger "cinder.tests.test_migrations"

Changed in cinder:
importance: Undecided → Low
assignee: nobody → Walt Boring (walter-boring)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

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

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/109427
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=e8273cdb3f4a838aad78f298658f7685bc90d02f
Submitter: Jenkins
Branch: master

commit e8273cdb3f4a838aad78f298658f7685bc90d02f
Author: Walter A. Boring IV <email address hidden>
Date: Thu Jul 24 14:52:51 2014 -0700

    Fix no handlers could be found issue

    This patch fixes the error message during
    unit tests for 2 issues.

    1) test_migrations tries to LOG and exception before
    setUp is called because of the method decorator.

    2) the hp_lefthand_rest_proxy tries to LOG an exception
    for a missing import.

    Change-Id: I11d2c9320c0a216b5795207488b906795d27b1e0
    Closes-Bug: #1341752

Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → juno-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: juno-3 → 2014.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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