Bug 1402797

Summary: VMWare full refresh fail on 'The session is not authenticated.'
Product: Red Hat CloudForms Management Engine Reporter: Ilanit Stein <istein>
Component: ProvidersAssignee: James Wong <jwong>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Ilanit Stein <istein>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: bsorota, gblomqui, istein, jfrey, jhardy, jwong, obarenbo, pmukhedk
Target Milestone: GAFlags: pmukhedk: needinfo-
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: vmware:ems_refresh
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-29 17:59:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
evm.log none

Description Ilanit Stein 2016-12-08 11:23:11 UTC
Description of problem:
When adding VMWare provider for the first time on a new installed CFME,
Initial refresh failed, and the following refresh trials, failed as well on:

Handsoap::Fault { :code => 'ServerFaultCode', :reason => 'The session is not authenticated.' }

The VMWare provider credentials validate passed, and Add operation was OK too.

From evm.log:

[----] E, [2016-12-08T04:23:02.227554 #12840:5cfff30] ERROR -- : <VIM> ******* Handsoap::Fault
[----] E, [2016-12-08T04:23:02.227857 #12840:5cfff30] ERROR -- : <VIM> Handsoap::Fault { :code => 'ServerFaultCode', :reason => 'The session is not authenticated.' }
[----] E, [2016-12-08T04:23:02.227995 #12840:5cfff30] ERROR -- : <VIM> /opt/rh/cfme-gemset/bundler/gems/handsoap-b1247a733ca3/lib/handsoap/service.rb:217:in `on_fault'
/opt/rh/cfme-gemset/bundler/gems/handsoap-b1247a733ca3/lib/handsoap/service.rb:307:in `dispatch'
/opt/rh/cfme-gemset/bundler/gems/handsoap-b1247a733ca3/lib/handsoap/service.rb:211:in `invoke'
/var/www/miq/vmdb/gems/pending/VMwareWebService/VimService.rb:1181:in `waitForUpdatesEx'
/var/www/miq/vmdb/gems/pending/VMwareWebService/MiqVimUpdate.rb:31:in `monitorUpdatesInitial'
/var/www/miq/vmdb/gems/pending/VMwareWebService/MiqVimUpdate.rb:108:in `monitorUpdates'
/var/www/miq/vmdb/gems/pending/VMwareWebService/DMiqVim.rb:88:in `monitor'
/var/www/miq/vmdb/gems/pending/VMwareWebService/DMiqVim.rb:44:in `block in initialize'
[----] E, [2016-12-08T04:23:02.395749 #12840:4c5130] ERROR -- : <VIM> MiqVimBroker.getMiqVim: failed to create new connection for 10.8.58.22_root
[----] E, [2016-12-08T04:23:02.395905 #12840:4c5130] ERROR -- : <VIM> Handsoap::Fault: Handsoap::Fault { :code => 'ServerFaultCode', :reason => 'The session is not authenticated.' }


Version-Release number of selected component (if applicable):
CFME-5.7.0.14
VSphere55


Additional info:
* After removing this VMWare provider, and adding it back, refresh worked just fine.

Comment 2 Ilanit Stein 2016-12-08 11:26:45 UTC
Created attachment 1229441 [details]
evm.log

Comment 4 Ilanit Stein 2017-01-03 08:34:23 UTC
I didn't manage to reproduce. It tried few times, on recent CFME versions (following CFME-5.7.0.14, reported).

Comment 9 Bronagh Sorota 2017-06-29 15:33:21 UTC
Hi  Prasad,
Can you please share an update on the status of this ticket? There hasn't been any activity in almost 6 months. 

thank you
Bronagh