Make bifrost more metalsmith-friendly
1) Set default_resource_class (required for allocation API) 2) Create a checksum file for the cirros image Change-Id: I35ae422823511131a1eeb5e072fa2820af264534
This commit is contained in:
parent
2dab2f5ad9
commit
ec72e0c989
@ -133,6 +133,8 @@ enabled_deploy_interfaces: "iscsi,direct"
|
||||
enabled_management_interfaces: "redfish,ilo,ipmitool,noop"
|
||||
enabled_power_interfaces: "redfish,ilo,ipmitool,fake"
|
||||
|
||||
default_resource_class: baremetal
|
||||
|
||||
# Extra pip packages to install with ironic
|
||||
# This should be a list of pip-installable references.
|
||||
# default: empty list
|
||||
|
@ -300,6 +300,11 @@
|
||||
url: "{{ cirros_deploy_image_upstream_url }}"
|
||||
dest: "{{ deploy_image }}"
|
||||
when: use_cirros | bool == true
|
||||
- name: "Create a checksum file for cirros"
|
||||
shell: md5sum {{ deploy_image_filename }} > {{ deploy_image_filename }}.CHECKSUMS
|
||||
args:
|
||||
chdir: "{{ http_boot_folder }}"
|
||||
when: use_cirros | bool
|
||||
- name: >
|
||||
"Explicitly permit nginx port (TCP) for file downloads from nodes to be provisioned
|
||||
and TCP/6385 for IPA callback"
|
||||
|
@ -19,6 +19,8 @@ enabled_deploy_interfaces = {{ enabled_deploy_interfaces }}
|
||||
|
||||
enabled_hardware_types = {{ enabled_hardware_types }}
|
||||
|
||||
default_resource_class = {{ default_resource_class }}
|
||||
|
||||
{% if use_rabbitmq is defined and use_rabbitmq | bool == true %}
|
||||
transport_url = rabbit://ironic:{{ironic_db_password }}@{{ message_queue_host | default('127.0.0.1') }}:{{ message_queue_port | default('5672') }}/{{ rabbit_virtual_host | default('') }}
|
||||
{% else %}
|
||||
|
6
releasenotes/notes/resource-class-243535c9049cbd73.yaml
Normal file
6
releasenotes/notes/resource-class-243535c9049cbd73.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Sets the default resource class for newly enrolled nodes without an
|
||||
explicit resource class. Defaults to ``baremetal``, can be changed via
|
||||
the ``default_resource_class`` parameter.
|
Loading…
x
Reference in New Issue
Block a user