Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-Authored-By: Jeffrey Zhang <zhang.lei.fly@gmail.com> Depends-On: Id03619b4e26a0a77c2a39e2de21efd13be0e9200 Change-Id: I723345c1b23cb92ad94cefd965f07b94095ebb41 Closes-Bug: #1650345
- Loading branch information
1 parent
78b8f47
commit 57365f1
Showing
17 changed files
with
274 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
port=0 | ||
interface={{ api_interface }} | ||
bind-interfaces | ||
dhcp-range={{ ironic_dnsmasq_dhcp_range }} | ||
dhcp-sequential-ip | ||
|
||
dhcp-option=option:tftp-server,{{ kolla_internal_vip_address }} | ||
dhcp-option=option:server-ip-address,{{ kolla_internal_vip_address }} | ||
dhcp-option=option:bootfile-name,pxelinux.0 | ||
dhcp-option=210,/tftpboot/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"command": "dnsmasq --no-daemon --conf-file=/etc/dnsmasq.conf", | ||
"config_files": [ | ||
{ | ||
"source": "{{ container_config_directory }}/dnsmasq.conf", | ||
"dest": "/etc/dnsmasq.conf", | ||
"owner": "root", | ||
"perm": "0600" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[DEFAULT] | ||
debug = {{ ironic_logging_debug }} | ||
log_dir = /var/log/kolla/ironic | ||
|
||
listen_address = {{ api_interface_address }} | ||
listen_port = {{ ironic_inspector_port }} | ||
|
||
[ironic] | ||
auth_url = {{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }} | ||
auth_type = password | ||
project_domain_id = default | ||
user_domain_id = default | ||
project_name = service | ||
username = {{ ironic_inspector_keystone_user }} | ||
password = {{ ironic_inspector_keystone_password }} | ||
|
||
[keystone_authtoken] | ||
auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }} | ||
auth_url = {{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }} | ||
auth_type = password | ||
project_domain_id = default | ||
user_domain_id = default | ||
project_name = service | ||
username = {{ ironic_inspector_keystone_user }} | ||
password = {{ ironic_inspector_keystone_password }} | ||
|
||
memcache_security_strategy = ENCRYPT | ||
memcache_secret_key = {{ memcache_secret_key }} | ||
memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %} | ||
|
||
[firewall] | ||
dnsmasq_interface = {{ ironic_dnsmasq_interface }} | ||
|
||
[database] | ||
connection = mysql+pymysql://{{ ironic_inspector_database_user }}:{{ ironic_inspector_database_password }}@{{ ironic_inspector_database_address }}/{{ ironic_inspector_database_name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.