mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-06 18:50:09 +01:00
1.9 KiB
1.9 KiB
Test 5-01 - OVA Networking Settings During Deployment
Purpose:
To verify that an OVA version of Harbor can be configured to obtain IP address from DHCP or static IP.
References:
User guide, installation guide of Harbor OVA version.
Environment:
- This test requires an OVA binary of Harbor.
- A vCenter, at least an ESX host, and a network that supports DHCP.
- A linux host with Docker CLI installed (Docker client).
Test Steps:
- From vSphere Web Client, import Harbor's OVA onto an ESX host.
- In the deployment wizard, enter different passwords of Linux root user, Harbor admin user and MySQL root user.
- Leave the networking settings blank.
- Power on the imported OVA.
- Wait a few minutes for the VM's booting and its IP address comes up in vCenter. (may need to refresh in Web Client)
- Open a browser and enter http://VM_IP_address.
- Log in as admin user of Harbor.
- Create a new project.
- On a Docker client host, use
docker login <harbor_host>
command to log in as the admin user. - Run some
docker push
anddocker pull
commands to push images to the project and pull from the project. - On vSphere, open the console of Harbor's VM, log in as root user using the password entered during deployment.
- Check the network IP address of the VM.
- From vSphere Web Client, import a new Harbor's OVA onto an ESX host.
- Repeat Step 2-12, except in Step 3, enter static network settings of the OVA, such as static IP, DNS, gateway, hostname.
Expected Outcome:
- In Step 1-11, everything should work without errors. The passwords entered during deployment should work in Step 7, 9 and 11.
- In Step 14, basically is to test if static networking works for the OVA. The outcome should be the same as Step 1-12, except the networking settings are from the deployment wizard. Verify the IP address, hostname, DNS are correctly set inside the VM.
Possible Problems:
None