Currently there is no resolution.
Workaround:
Modify this file './usr/lib/applmgmt/update/py/vmware/appliance/update/update_functions.py' after configuring the proxy in the VAMI interface. Please ensure there is a snapshot of the vCenter Server Appliance and have created a backup of the file before proceeding.
- SSH to the appliance
- Backup the file
cp ./usr/lib/applmgmt/update/py/vmware/appliance/update/update_functions.py /tmp/update_functions.py
- Edit the file ./usr/lib/applmgmt/update/py/vmware/appliance/update/update_functions.py
[BEFORE]
473 def extend_proxy_info_wget(command, info):
474 logger.debug("Using proxy Environment.")
475 if(info.username is not None):
476 command.extend(['-e', 'use_proxy=yes',
477 '-e', 'http_proxy=https://'+info.username+':'+
478 info.password+'@'+
479 info.server+':'+str(info.port)])
480 else:
481 command.extend(['-e', 'use_proxy=yes',
482 '-e', 'http_proxy=https://'+
483 info.server+':'+str(info.port)])
484 return command
[AFTER]
473 def extend_proxy_info_wget(command, info):
474 logger.debug("Using proxy Environment.")
475 if(info.username is not None):
476 command.extend(['-e', 'use_proxy=yes',
477 '-e', 'http_proxy='+info.username+':'+
478 info.password+'@'+
479 info.server+':'+str(info.port)])
480 else:
481 command.extend(['-e', 'use_proxy=yes',
482 '-e', 'http_proxy='+
483 info.server+':'+str(info.port)])
484 return command
- Restart the applmgmt service
service-control --restart applmgmt
- Check for Updates within the VAMI