Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add flag for blazar nova prefilter workaround #284

Merged
merged 1 commit into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions kolla/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ blazar_fip_polling_monitor_dry_run: true
blazar_network_polling_monitor: true
blazar_network_polling_monitor_dry_run: true

# enable to use https://github.com/ChameleonCloud/nova/pull/9
# workaround for https://bugs.launchpad.net/nova/+bug/1542491
use_blazar_prefilter: false

# Cinder
enable_cinder: no

Expand All @@ -109,8 +113,8 @@ glance_allow_anonymous_access: no
hammers_openstack_user: "{{ keystone_admin_user }}"
hammers_openstack_password: "{{ keystone_admin_password }}"
hammers_openstack_project_name: "{{ keystone_admin_project }}"
hammer_lease_stacking_sender_email: ""
hammer_lease_stacking_manager_email: ""
hammer_lease_stacking_sender_email: "[email protected]"
hammer_lease_stacking_manager_email: "[email protected]"

# HAProxy
enable_haproxy: yes
Expand Down
8 changes: 7 additions & 1 deletion kolla/node_custom_config/nova.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ workers = 10
[filter_scheduler]
# Override default filters (just remove filters not relevant to baremetal-only)
# default: AvailabilityZoneFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,BlazarFilter
enabled_filters = ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,BlazarFilter
enabled_filters = ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter{% if not use_blazar_prefilter | bool %},BlazarFilter{% endif %}

# https://docs.openstack.org/ironic/train/install/configure-compute.html
# > Enables querying of individual hosts for instance information.
# Not possible for bare metal nodes, so set it to False.
Expand Down Expand Up @@ -79,6 +80,11 @@ max_attempts = 50
# service polls the Bare Metal service for node information.
discover_hosts_in_cells_interval = 120

{% if use_blazar_prefilter | bool %}
blazar_reservation_required = True
use_blazar_reservation_prefilter = True
{% endif %}

[serial_console]
base_url = wss://{{ kolla_external_fqdn }}:{{ nova_serialproxy_port }}/

Expand Down
Loading