← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1234925] Re: nova-novncproxy logs 'No handlers could be found for logger "nova.openstack.common.rpc.common"' when rabbitmq is unavailable

 

super old bug, olso.messaging is now where this should be if it still
exists

** Changed in: nova
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1234925

Title:
  nova-novncproxy logs 'No handlers could be found for logger
  "nova.openstack.common.rpc.common"' when rabbitmq is unavailable

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  I get 'No handlers could be found for logger
  "nova.openstack.common.rpc.common"' when rabbitmq host is unavailable.
  If i add 'logging.basicConfig()' to the top of
  nova/openstack/common/log.py.  I get
  'ERROR:nova.openstack.common.rpc.common:AMQP server on x.x.x.x:5671 is
  unreachable: [Errno 111] ECONNREFUSED. Trying again in 11 seconds."

  It would seem that the python logging is getting masked or is
  uninitialize.

  I believe this should be reproducable with the following:

  https://github.com/openstack/nova/tree/c64aeee362026c5e83f4c34e6469d59c529eeda7

  nova-novncproxy --config-file nova.conf --config-file rabbit.conf

  nova.conf:
  [DEFAULT]
  debug=True
  verbose=True

  rabbit.conf:
  [DEFAULT]
  rabbit_host = localhost
  rabbit_port = <any port that is connection refused>
  rabbit_userid = guest
  rabbit_password = guest

  WARNING: no 'numpy' module, HyBi protocol will be slower  
  WebSocket server settings:
    - Listen on 0.0.0.0:6080
    - Flash security policy server  
    - Web server. Web root: /usr/share/novnc
    - No SSL/TLS support (no cert file)
    - proxying from 0.0.0.0:6080 to ignore:ignore  

    1: x.x.xx: new handler Process  
    2: x.x.xx: new handler Process
    3: x.x.xx: new handler Process  
    1: x.x.xx: "GET /vnc_auto.html?token=xxxxxxxx-5fed-4b05-xxxx-0f1b4795cdaa HTTP/1.1" 200 -
    4: x.x.xx: new handler Process
    5: x.x.xx: new handler Process
    6: x.x.xx: new handler Process  
    7: x.x.xx: new handler Process
    7: x.x.xx: Plain non-SSL (ws://) WebSocket connection
    7: x.x.xx: Version hybi-13, base64: 'True'  
    7: x.x.xx: Path: '/websockify'
  No handlers could be found for logger "nova.openstack.common.rpc.common"

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1234925/+subscriptions