Symptoms:
- In VCenter 8.0 U2 and above, the ls_update_certs.py tool may report an AttributeError as follows:
Traceback (most recent call last):
File "/usr/lib/vmware-lookupsvc/tools/ls_update_certs.py", line 15, in <module>
lstoolutil.modify_svc_ep_certs(args.url,
File "/usr/lib/vmware-lookupsvc/tools/lstoolutil.py", line 113, in modify_svc_ep_certs
update55_ct = _modify_svc_eps(lsUrl, True, ids55, _update_svc_spec, username, password)
File "/usr/lib/vmware-lookupsvc/tools/lstoolutil.py", line 139, in _modify_svc_eps
svcUpdated = fnUpdateSvcSpec(io.StringIO(oldSpec), newSpec)
File "/usr/lib/vmware-lookupsvc/tools/lstoolutil.py", line 110, in _update_svc_spec
update_ct = _modify_ep_certs(oldSpec, newSpec, oldThumbprint, newCert)
File "/usr/lib/vmware-lookupsvc/tools/lstoolutil.py", line 217, in _modify_ep_certs
h.update(base64.decodestring(value.encode('utf-8')))
AttributeError: module 'base64' has no attribute 'decodestring'