Skip to content

Commit 3ab9c7b

Browse files
committed
WIP: add NetworkManager TODO items
Signed-off-by: Tim Serong <[email protected]>
1 parent c875267 commit 3ab9c7b

File tree

4 files changed

+51
-0
lines changed

4 files changed

+51
-0
lines changed

docs/install/update-harvester-configuration.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,21 @@ You can update the slave interfaces of Harvester's management bonding interface
122122
123123
### Runtime change
124124
125+
:::info DOCS TODO
126+
127+
Procedure is to add a new NM connection profile for the new interface, e.g.: `/etc/NetworkManager/system-connections`, with content:
128+
```
129+
[connection]
130+
id=bond-slave-eno50
131+
type=ethernet
132+
interface-name=eno50
133+
master=mgmt-bo
134+
slave-type=bond
135+
```
136+
...then `nmcli con reload` and probably `nmcli device reapply mgmt-bo`.
137+
138+
:::
139+
125140
1. Log in to a Harvester node and become root. See [how to log into a Harvester node](../troubleshooting/os.md#how-to-log-in-to-a-harvester-node) for more details.
126141
1. Identify the interface names with the following command:
127142
@@ -151,6 +166,11 @@ You can update the slave interfaces of Harvester's management bonding interface
151166
152167
### Configuration persistence
153168
169+
:::info DOCS TODO
170+
171+
Files as in above TODO, and note `/oem/91_networkmanager.yaml` for pre v1.7.0 systems
172+
173+
:::
154174
155175
1. Backup the elemental cloud-init file `/oem/90_custom.yaml` as follows:
156176

docs/logging/harvester-logging.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ In Harvester's practice, the `Logging`, `Audit` and `Event` shares one architect
4747
The Harvester logging infrastructure allows you to aggregate Harvester logs into an external service such as [Graylog](https://www.graylog.org), [Elasticsearch](https://www.elastic.co/elasticsearch/), [Splunk](https://www.splunk.com/), [Grafana Loki](https://grafana.com/oss/loki/) and others.
4848

4949
### Collected Logs
50+
:::info DOCS TODO
51+
52+
Confirm this does NetworkManager logs and fix it if not.
53+
54+
:::
55+
5056
See below for a list logs that are collected:
5157
- Logs from all cluster `Pods`
5258
- Kernel logs from each `node`

docs/networking/clusternetwork.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,15 @@ During installation of the first cluster node, you can configure the MTU value f
102102

103103
### Add Secondary VLAN Interfaces
104104

105+
:::info DOCS TODO
106+
107+
figure out how to do this. It probably means:
108+
- Add a new connection based on vlan-mgmt
109+
- Add the VLAN id to vlans in bridge-mgmt connection profile
110+
- Add the VLAN id to bridge-port in bond-mgmt connection profile
111+
112+
:::
113+
105114
Add the following commands to the `/oem/90_custom.yaml` file and reboot the node.
106115

107116
- `/etc/wicked/scripts/setup_bond.sh` section
@@ -167,6 +176,12 @@ Exercise extreme caution when editing `/oem/90_custom.yaml`. Do not change other
167176
168177
1. Change the MTU value in the `/oem/90_custom.yaml` file on each node.
169178
179+
:::info DOCS TODO
180+
181+
files are `/etc/NetworkManager/system-connections/{bond-mgmt,bridge-mgmt,vlan-mgmt}.nmconnection`, and you need to add the line `mtu=whatever` to the `[ethernet]` section if it's not already present (it won't be in the default case of 1500)
182+
183+
:::
184+
170185
Locate the following paths, and then change the value in `MTU=1500`.
171186
172187
- `path: /etc/sysconfig/network/ifcfg-mgmt-bo`

docs/upgrade/automatic.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ Harvester does not support downgrades. This restriction helps prevent unexpected
2828

2929
:::
3030

31+
:::info DOCS TODO
32+
33+
Add information about NetworkManager migration when upgrading from v1.6.x to v1.7.0,
34+
notably that configuration will be generated based on `/oem/harvester.config` and will
35+
be saved in /oem/91_networkmanager.yaml. See https://github.com/harvester/harvester/pull/9039
36+
for more information.
37+
38+
:::
39+
40+
3141
## Upgrade paths
3242

3343
The following table outlines the supported upgrade paths.

0 commit comments

Comments
 (0)