- Related issues: #2962 [BUG] Host IP is inconsistent
Category:
- Upgrade Harvester
Environment setup
-
Open the virtual machine manager
-
Open the Connection Details -> Virtual Networks
-
Create a new virtual network
workload
-
Add the following XML content
<network> <name>workload</name> <uuid>ac62e6bf-6869-41a9-a2b7-25c06c7601c9</uuid> <forward mode="nat"> <nat> <port start="1024" end="65535"/> </nat> </forward> <bridge name="virbr5" stp="on" delay="0"/> <mac address="52:54:00:7b:ed:99"/> <domain name="workload"/> <ip address="192.168.101.1" netmask="255.255.255.0"> <dhcp> <range start="192.168.101.128" end="192.168.101.254"/> </dhcp> </ip> <ip family="ipv6" address="fd7d:844d:3e17:f3ae::1" prefix="64"> <dhcp> <range start="fd7d:844d:3e17:f3ae::100" end="fd7d:844d:3e17:f3ae::1ff"/> </dhcp> </ip> </network>
-
Change the bridge name to a new one
Verification Steps
- Create a VM and use the customized ipv6 virtual network. (workload)
- Doing an Harvester v1.0.3 ISO install with
create
new mode - Select DHCP node ip and DHCP vip during the installation
- Create another VMs use the customized ipv6 virtual network
- Doing an Harvester v1.0.3 ISO install with
join
mode - Select DHCP node ip and DHCP vip during the installation
- Offline upgrade to master release, refer to https://docs.harvesterhci.io/v1.1/upgrade/automatic
- Check host IP on Host page
- Check the ip allocated to node
kubectl get nodes -o json | jq '.items[].status.addresses'
Expected Results
-
Can completely upgrade from v1.0.3 to v1.1.0
-
The Host IP should not display IPv6 information and no
Host IP is inconsistent
error -
Access node machine, check the IP information
harv103-master:~ # kubectl get nodes -o json | jq '.items[].status.addresses' [ { "address": "192.168.101.162", "type": "InternalIP" }, { "address": "harv103-master", "type": "Hostname" } ]
-
Check the network connectivity of vlan and management network
-
Can completely upgrade Harvester to specific version
-
All pods are running correctly
-
Check can display Monitoring Chart
- Prometheus dashboard
- VM metrics
-
Can access dashboard by VIP
-
Can use original password to login
-
Can start VM in running status
-
Image exists without corrupted
-
Volume exists
-
Virtual network exists
-
Backup exists
-
Setting value exists
-
Can restore VM from backup
-
Can create new VMs