For support non-clustered RabbitMQ configuration added check
of use_vip_address option for nova.controller.nova_update_cell1 state
PROD-36091
Change-Id: I07aa5735bbedd3bef8681dba270e21b880706c6f
diff --git a/nova/controller.sls b/nova/controller.sls
index dfd33ff..73ff759 100644
--- a/nova/controller.sls
+++ b/nova/controller.sls
@@ -390,7 +390,7 @@
novang.update_cell:
- name: "cell1"
- db_name: {{ controller.database.name }}
-{%- if controller.message_queue.members is defined %}
+{%- if controller.message_queue.members is defined and not controller.message_queue.get('use_vip_address', False) %}
- transport_url: rabbit://{% for member in controller.message_queue.members -%}
{{ controller.message_queue.user }}:{{ controller.message_queue.password }}@{{ member.host }}:{{ member.get('port', rabbit_port) }}
{%- if not loop.last -%},{%- endif -%}