This Knowledge Base (KB) article details a behavior in RabbitMQ for Tanzu Application Service starting since tile version 1.20.
The specific behavior is the IP address of the RabbitMQ server(s) changing during an update to the Service Instance (SI) deployment.
As an example, consider the following output from BOSH cli:
# Before the update of deployment
ubuntu@opsman:~$ bosh -d service-instance_bc3ee798-6fc0-4eb1-a091-7b133a3ddc71 vms
Using environment '10.1.1.2' as client 'ops_manager'
Task 804. Done
Deployment 'service-instance_bc3ee798-6fc0-4eb1-a091-7b133a3ddc71'
Instance Process State AZ IPs VM CID VM Type Active Stemcell
rabbitmq-server/789ce958-c07b-4950-bc9e-f02b3c1d3e83 running az1 10.3.3.25 rabbitmq-server_service-instance-bc3ee798-6fc0-4eb1-a091-7b133a3dd_75b9d403dc25 large true bosh-vsphere-esxi-ubuntu-jammy-go_agent/1.340
rabbitmq-server/c10c02dd-a596-4e1d-b087-1c6d4e6efc52 running az1 10.3.3.26 rabbitmq-server_service-instance-bc3ee798-6fc0-4eb1-a091-7b133a3dd_3b5bc2c7c9a1 large true bosh-vsphere-esxi-ubuntu-jammy-go_agent/1.340
rabbitmq-server/f8dba482-fb85-44d0-9a88-ef9b9c138c7d running az1 10.3.3.24 rabbitmq-server_service-instance-bc3ee798-6fc0-4eb1-a091-7b133a3dd_2bda73f9f4b8 large true bosh-vsphere-esxi-ubuntu-jammy-go_agent/1.340
# After the update of deployment
ubuntu@opsman:~$ bosh -d service-instance_bc3ee798-6fc0-4eb1-a091-7b133a3ddc71 vms
Using environment '10.1.1.2' as client 'ops_manager'
Task 888. Done
Deployment 'service-instance_bc3ee798-6fc0-4eb1-a091-7b133a3ddc71'
Instance Process State AZ IPs VM CID VM Type Active Stemcell
rabbitmq-server/789ce958-c07b-4950-bc9e-f02b3c1d3e83 running az1 10.3.3.28 rabbitmq-server_service-instance-bc3ee798-6fc0-4eb1-a091-7b133a3dd_fd590e856520 large true bosh-vsphere-esxi-ubuntu-jammy-go_agent/1.351
rabbitmq-server/c10c02dd-a596-4e1d-b087-1c6d4e6efc52 running az1 10.3.3.29 rabbitmq-server_service-instance-bc3ee798-6fc0-4eb1-a091-7b133a3dd_89bd4b1891cf large true bosh-vsphere-esxi-ubuntu-jammy-go_agent/1.351
rabbitmq-server/f8dba482-fb85-44d0-9a88-ef9b9c138c7d running az1 10.3.3.27 rabbitmq-server_service-instance-bc3ee798-6fc0-4eb1-a091-7b133a3dd_219820c392dd large true bosh-vsphere-esxi-ubuntu-jammy-go_agent/1.351
3 vms
Succeeded
Notice how the IPs of the RabbitMQ servers changed from (10.3.3.24, 10.3.3.25, 10.3.3.26) to (10.3.3.27, 10.3.3.28, 10.3.3.29).
The reason for this is derived from a BOSH update strategy called
create-swap-delete. Starting since
RabbitMQ for Tanzu Application Service tile version 1.20 the service instance deployments are assigned this strategy. It can be confirmed in the SI deployment manifest:
ubuntu@opsman:~$ bosh -d service-instance_bc3ee798-6fc0-4eb1-a091-7b133a3ddc71 manifest | grep strategy
vm_strategy: create-swap-delete