- Related issues: #2436 [BUG] Image upload does not start when HTTP Proxy is configured
- Related issues: #2524 [backport v1.0] [BUG] Image upload does not start when HTTP Proxy is configured
Category:
- Image
Verification Steps
- Clone ipxe-example vagrant project https://github.com/harvester/ipxe-examples
- Edit settings.yml
- Set
harvester_network_config.offline=true
- Create a one node air gapped Harvester with a HTTP proxy server
- Access Harvester settings page
- Add the following http proxy configuration
{
"httpProxy": "http://192.168.0.254:3128",
"httpsProxy": "http://192.168.0.254:3128",
"noProxy": "localhost,127.0.0.1,0.0.0.0,10.0.0.0/8,cattle-system.svc,192.168.0.0/16,.svc,.cluster.local,example.com"
}
- Wait for 5 minutes for Harvester to apply the network setting
- Go to images page
- Upload image from local file
Expected Results
After the HTTP proxy is configured, we can upload image from local file correctly without error