as I see it ,we can fix this bug by delete this two lines in "inspector.py",as commented below:
def get_api_session():
hostIp = cfg.CONF.vmware.host_ip
#wsdl_loc = vim.Vim._get_wsdl_loc("https", hostIp) api_session = api.VMwareAPISession( hostIp, cfg.CONF.vmware.host_username, cfg.CONF.vmware.host_password, cfg.CONF.vmware.api_retry_count, cfg.CONF.vmware.task_poll_interval, )#wsdl_loc=wsdl_loc) return api_session
in my env,after commented these two lines, the ceilometer-agent-compute can finally work .
as I see it ,we can fix this bug by delete this two lines in "inspector.py",as commented below:
def get_api_session():
hostIp = cfg.CONF. vmware. host_ip
#wsdl_loc = vim.Vim. _get_wsdl_ loc("https" , hostIp) ssion(
cfg.CONF. vmware. host_username,
cfg.CONF. vmware. host_password,
cfg.CONF. vmware. api_retry_ count,
cfg.CONF. vmware. task_poll_ interval,
)#wsdl_ loc=wsdl_ loc)
api_session = api.VMwareAPISe
hostIp,
return api_session
in my env,after commented these two lines, the ceilometer- agent-compute can finally work .