Comment 3 for bug 1407562

Revision history for this message
Haifeng.Yan (yanheven) wrote :

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 .