Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kayobe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kayobe
Commits
cf640396
Commit
cf640396
authored
1 year ago
by
Zuul
Committed by
Gerrit Code Review
1 year ago
Browse files
Options
Downloads
Plain Diff
Merge "Resolve slow fact gathering when seed SNAT is off"
parents
d4502e6e
9980a8f8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/kolla-bifrost-hostvars.yml
+4
-4
4 additions, 4 deletions
ansible/kolla-bifrost-hostvars.yml
releasenotes/notes/configdrive-gateway-62366f613e6eaac9.yaml
+14
-0
14 additions, 0 deletions
releasenotes/notes/configdrive-gateway-62366f613e6eaac9.yaml
with
18 additions
and
4 deletions
ansible/kolla-bifrost-hostvars.yml
+
4
−
4
View file @
cf640396
...
...
@@ -19,10 +19,10 @@
ipv4_interface_mac
:
"
{%
raw
%}{{
extra.pxe_interface_mac
|
default
}}{%
endraw
%}"
ipv4_address
:
"
{{
admin_oc_net_name
|
net_ip
}}"
ipv4_subnet_mask
:
"
{{
admin_oc_net_name
|
net_mask
}}"
# If the admin network does not have a gateway defined
, use the
# seed as a gateway to allow external access until other
networks have
# been configured.
ipv4_gateway
:
"
{{
admin_oc_net_name
|
net_gateway
or
admin_oc_net_name
|
net_ip(seed_host)
}}"
# If the admin network does not have a gateway defined
and seed SNAT is
#
enabled, use the
seed as a gateway to allow external access until other
#
networks have
been configured.
Otherwise, do not set any gateway.
ipv4_gateway
:
"
{{
admin_oc_net_name
|
net_gateway
or
admin_oc_net_name
|
net_ip(seed_host)
if
seed_enable_snat
|
bool
}}"
ipv4_nameserver
:
"
{{
resolv_nameservers
}}"
network_mtu
:
"
{{
admin_oc_net_name
|
net_mtu
or
'1500'
}}"
vlan_id
:
"
{{
''
if
admin_oc_net_name
==
provision_oc_net_name
else
(admin_oc_net_name
|
net_vlan)
}}"
...
...
This diff is collapsed.
Click to expand it.
releasenotes/notes/configdrive-gateway-62366f613e6eaac9.yaml
0 → 100644
+
14
−
0
View file @
cf640396
---
upgrade
:
-
|
If the admin network does not have a gateway defined and
``seed_enable_snat`` is ``false``, which is the default, overcloud hosts
will not have a default gateway immediately after provisioning anymore. A
default gateway on another network can still be applied during the host
configuration step.
fixes
:
-
|
Fixes slow fact gathering in some environments by not configuring the seed
host as the initial default gateway for overcloud hosts when
``seed_enable_snat`` is ``false``, which is the default.
`LP#2039461 <https://bugs.launchpad.net/kolla-ansible/+bug/2039461>`__
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment