Skip to content
Snippets Groups Projects
Commit d4c8e2d0 authored by jangpro2's avatar jangpro2
Browse files

This feature is supporting for workers config in ironic-api.


Currently it's not working in ironic-api, in spite of
setting openstack_service_workers config in globals.yml.

Because it's not implement about workers in ironic.

Closes-Bug: #1661173

Change-Id: I89de95fe03813ae44bcdbf9aac22b7337ffe4968
Signed-off-by: default avatarjangpro2 <jangseon.ryu@gmail.com>
parent 463e5a2f
No related merge requests found
......@@ -13,6 +13,7 @@ transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }}
{% if service_name == 'ironic-api' %}
[api]
host_ip = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
api_workers = {{ openstack_service_workers }}
{% endif %}
{% if service_name == 'ironic-conductor' %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment