[Bug 1861321] [NEW] ceilometer-collector fails to stop if cannot connect to message broker

Liam Young liam.young at canonical.com
Wed Jan 29 18:33:58 UTC 2020


Public bug reported:

ceilometer-collector fails to stop if it cannot connect to message
broker.

To reproduce (assuming amqp is running on localhost):
1) Comment out the 'oslo_messaging_rabbit' section from /etc/ceilometer/ceilometer.conf. This will trigger ceilometer-collector to look locally for a rabbit connection
2) Start ceilometer-collector 
3) Observe errors like below in /var/log/ceilometer/ceilometer-collector.log

2020-01-29 18:28:35.848 11808 ERROR oslo.messaging._drivers.impl_rabbit
[-] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] Connection
refused. Trying again in 32 seconds.

4) Stop ceilometer-collector 
5) Check if ceilometer-collector processes have gone
   


Getting ceilometer from the cloud archive mitaka pocket.

# apt-cache policy ceilometer-collector
ceilometer-collector:
  Installed: 1:6.1.5-0ubuntu1~cloud0
  Candidate: 1:6.1.5-0ubuntu1~cloud0
  Version table:
 *** 1:6.1.5-0ubuntu1~cloud0 0
        500 http://ubuntu-cloud.archive.canonical.com/ubuntu/ trusty-updates/mitaka/main amd64 Packages
        100 /var/lib/dpkg/status
     2014.1.5-0ubuntu2 0
        500 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
     2014.1.2-0ubuntu1.1 0
        500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
     2014.1-0ubuntu1 0
        500 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

** Affects: ceilometer (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceilometer in Ubuntu.
https://bugs.launchpad.net/bugs/1861321

Title:
  ceilometer-collector fails to stop if cannot connect to message broker

Status in ceilometer package in Ubuntu:
  New

Bug description:
  ceilometer-collector fails to stop if it cannot connect to message
  broker.

  To reproduce (assuming amqp is running on localhost):
  1) Comment out the 'oslo_messaging_rabbit' section from /etc/ceilometer/ceilometer.conf. This will trigger ceilometer-collector to look locally for a rabbit connection
  2) Start ceilometer-collector 
  3) Observe errors like below in /var/log/ceilometer/ceilometer-collector.log

  2020-01-29 18:28:35.848 11808 ERROR
  oslo.messaging._drivers.impl_rabbit [-] AMQP server on 127.0.0.1:5672
  is unreachable: [Errno 111] Connection refused. Trying again in 32
  seconds.

  4) Stop ceilometer-collector 
  5) Check if ceilometer-collector processes have gone
     

  
  Getting ceilometer from the cloud archive mitaka pocket.

  # apt-cache policy ceilometer-collector
  ceilometer-collector:
    Installed: 1:6.1.5-0ubuntu1~cloud0
    Candidate: 1:6.1.5-0ubuntu1~cloud0
    Version table:
   *** 1:6.1.5-0ubuntu1~cloud0 0
          500 http://ubuntu-cloud.archive.canonical.com/ubuntu/ trusty-updates/mitaka/main amd64 Packages
          100 /var/lib/dpkg/status
       2014.1.5-0ubuntu2 0
          500 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
       2014.1.2-0ubuntu1.1 0
          500 http://security.ubuntu.com/ubuntu/ trusty-security/main amd64 Packages
       2014.1-0ubuntu1 0
          500 http://nova.clouds.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceilometer/+bug/1861321/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list