Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-2958

BZ#2223410 Ceilometer gets kicked out of libvirt socket after nova changes permissions

XMLWordPrintable

    • 0
    • False
    • Hide

      None

      Show
      None
    • False
    • Committed
    • Committed
    • Committed
    • No
    • 3
    • CloudOps 2024 Sprint 1, CloudOps 2024 Sprint 2, CloudOps 2024 Sprint 3

      In RHOSP18 next-gen, when the libvirt_* containers of Nova start, they re-set permissions on all that is running inside /run/libvirt. Ceilometer needs access to /run/libvirt/virtqemud-sock-ro to get libvirt metrics.

      When a libvirt_* container restarts, Ceilometer starts failing with:

      libvirt: XML-RPC error : Failed to connect socket to '/var/run/libvirt/virtqemud-sock-ro': Permission denied

      because the permissions have changed in the disk. This is fixable with a reconnection to the socket.

      Ceilometer must detect when this happens, control the error and then it can do two things:

      • Attempt to reconnect
      • Fail and exit

      In the second option, the container that is running Ceilometer will automatically restart, triggering a reconnection.

              rh-ee-jwysogla Jaromir Wysoglad
              jira-bugzilla-migration RH Bugzilla Integration
              rhos-dfg-cloudops
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: