-
Notifications
You must be signed in to change notification settings - Fork 93
feat: update docs for NetworkManager #897
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
base: main
Are you sure you want to change the base?
Conversation
Related-to: harvester/harvester#3418 Signed-off-by: Tim Serong <[email protected]>
Signed-off-by: Tim Serong <[email protected]>
|
|
Note to self: upgrade docs also need to point out that any additional manual network config (e.g. custom cloudinit CRDs that set up ifcfg- files) will need manual changes to migrate to NetworkManager. |
| - Add the VLAN id to vlans in bridge-mgmt connection profile | ||
| - Add the VLAN id to bridge-port in bond-mgmt connection profile | ||
|
|
||
| ::: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have closed this harvester/harvester#9221 (comment) issue as it is taken care part of this documentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And for the secondary interfaces, I believe user might need to add the following contents to the /oem_90_custom.yaml file and reboot the host.(below is an example and vlan id and ip address changes as per requirement of the user) This adds vlan id to the mgmt-br and also creates the secondary vlan interface and assigns ip address to it, if its method is auto, it gets ip address from DHCP.
- path: /etc/NetworkManager/system-connections/bridge-mgmt.nmconnection
permissions: 384
owner: 0
group: 0
content: |
[connection]
id=bridge-mgmt
type=bridge
interface-name=mgmt-br
[ethernet]
[bridge]
forward-delay=0
stp=false
vlan-filtering=true
vlan-default-pvid=1
vlans=2021
[ipv4]
method=disabled
[ipv6]
method=disabled
encoding: ""
ownerstring: ""
- path: /etc/NetworkManager/system-connections/vlan-mgmt.nmconnection
permissions: 384
owner: 0
group: 0
content: |-
[connection]
id=vlan-mgmt
type=vlan
[ethernet]
[vlan]
flags=1
id=2021
parent=mgmt-br
[ipv4]
method=manual
address1=10.115.252.74/23,10.115.253.254
[ipv6]
method=disabled
encoding: ""
ownerstring: ""
To add the vlan to mgmt-bo, user could create a VM Network with vlan id under mgmt cluster network.(an alternate option)
Problem:
Harvester v1.7.0 uses NetworkManager instead of Wicked
Solution:
Update the docs to match
Related Issue(s):
harvester/harvester#3418
Test plan:
N/A
Additional documentation or context
This is still WIP.