Skip to content

Instantly share code, notes, and snippets.

@niedbalski
Last active July 29, 2022 16:52
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save niedbalski/4dea2f029ec07dc95145 to your computer and use it in GitHub Desktop.
Save niedbalski/4dea2f029ec07dc95145 to your computer and use it in GitHub Desktop.
juju-get-all-data-relation.sh
$ juju run --unit nova-compute/0 "relation-ids amqp"
amqp:30
$ juju run --unit nova-compute/0 "relation-list -r amqp:30"
rabbitmq-server/0
$ juju run --unit nova-compute/0 "relation-get -r amqp:30 - rabbitmq-server/0"
hostname: 10.1.1.17
password: 4T6fg9VjqN9BBLXdBBfyHscxpkBzby698GsXf88LwnRnmqd46TVfbPCMmrRCHpS5
private-address: 10.1.1.17
@SPFZ
Copy link

SPFZ commented Dec 3, 2021

juju show-unit nova-compute/0 should work as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment