Openstack Charmers Next Rabbitmq Server

  • By OpenStack Charmers - Testing Charms
  • Big Data
Channel Revision Published Runs on
latest/stable 1338 09 Feb 2022
Ubuntu 21.10 Ubuntu 20.04
latest/edge 663 19 Mar 2021
Ubuntu 15.10
juju deploy openstack-charmers-next-rabbitmq-server
Show information

Platform:

Ubuntu
21.10 20.04

Learn about actions >

  • check-queues

    Show current queues, optionally only show queues with more than N messages or queues from specified vhost.

    Params
    • queue-depth integer

      Only show queues with >= this many messages. -1 shows all. Note that if the result exceeds command line length (1/4 ulimit -s) on the target system this will fail (For ex; -1 in an openstack env) See lp:1437366, lp:1274460

    • vhost string

      Show queues from the specified vhost. Eg; "openstack".

  • cluster-status

    Show the current cluster status.

  • complete-cluster-series-upgrade

    Perform final operations post series upgrade. Inform all nodes in the cluster the upgrade is complete cluster wide. This action should be performed on the current leader. Note the leader may have changed during the series upgrade process.

  • force-boot

    Set the force_boot flag and restart the RabbitMQ broker. This action should be performed if a unit in the RabbitMQ cluster is failing to boot after an uncontrolled shutdown of the cluster. Note that units of a RabbitMQ cluster have to be booted in reverse shutdown order. Also note that this potentially leads to a loss of messages, in particular if the cluster received messages after the unit was shut down. See https://www.rabbitmq.com/clustering.html#restarting and LP: #1828988

  • forget-cluster-node

    Remove a dead node from the cluster mnesia db.

    Params
    • node string

      Node name i.e. rabbit@<hostname>

  • list-unconsumed-queues

    list queues which currently have zero consumers, results are like: unconsumed-queue-count: "2" unconsumed-queues: $vhost: "0": queue_name1 - 0 "1": $queue_name - $num_messages

  • pause

    Pause the rabbitmq unit.

  • restart-services

    Restarts services this charm manages.

    Params
    • deferred-only boolean

      Restart all deferred services.

    • run-hooks boolean

      Run any hooks which have been deferred.

    • services string

      List of services to restart.

  • resume

  • run-deferred-hooks

    Run deferable hooks and restart services. . NOTE: Service will be restarted as needed irrespective of enable-auto-restarts

  • show-deferred-events