Error has occurred while listing VMs = Undefined namespace prefix: //soapenv:Body/*

2015-12-16T11:50:54 [app] [W] Error has occurred while listing VMs on my_cluster (VMware)

> Nokogiri::XML::XPath::SyntaxError: Undefined namespace prefix: //soapenv:Body/*

> /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:159:in `evaluate'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:159:in `block in xpath'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:150:in `map'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:150:in `xpath'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/trivial_soap.rb:112:in `request'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/connection.rb:87:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:205:in `_call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:74:in `block (2 levels) in init'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:183:in `_get_property'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:35:in `block (2 levels) in init'

> /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:26:in `block in allvmsbyfolder'

> /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each'

> /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `allvmsbyfolder'

> /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:24:in `block in allvmsbyfolder'

> /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each'

> /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `allvmsbyfolder'

> /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:24:in `block in allvmsbyfolder'

> /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each'

> /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `allvmsbyfolder'

> /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:12:in `all'

> /usr/share/foreman/app/controllers/compute_resources_vms_controller.rb:4:in `index'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal/implicit_render.rb:4:in `send_action'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/abstract_controller/base.rb:167:in `process_action'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal/rendering.rb:10:in `process_action'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/abstract_controller/callbacks.rb:18:in `block in process_action'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:638:in `block (4 levels) in _run__2960124317673198887__process_action__2942039079704387319__callbacks'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_8091'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:326:in `around'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:310:in `_callback_around_1877'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_8091'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:637:in `block (3 levels) in _run__2960124317673198887__process_action__2942039079704387319__callbacks'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_8090'

> /usr/share/foreman/app/controllers/concerns/application_shared.rb:13:in `set_timezone'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_8090'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:636:in `block (2 levels) in _run__2960124317673198887__process_action__2942039079704387319__callbacks'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_8089'

> /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_8089'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:448:in `block in _run__2960124317673198887__process_action__2942039079704387319__callbacks'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_8088'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:326:in `around'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:310:in `_callback_around_13'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:214:in `_conditional_callback_around_8088'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:414:in `_run__2960124317673198887__process_action__2942039079704387319__callbacks'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `__run_callback'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:81:in `run_callbacks'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/abstract_controller/callbacks.rb:17:in `process_action'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal/rescue.rb:29:in `process_action'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/notifications.rb:123:in `block in instrument'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/notifications/instrumenter.rb:20:in `instrument'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/notifications.rb:123:in `instrument'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal/instrumentation.rb:29:in `process_action'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activerecord-3.2.21/lib/active_record/railties/controller_runtime.rb:18:in `process_action'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/abstract_controller/base.rb:121:in `process'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/abstract_controller/rendering.rb:45:in `process'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal.rb:203:in `dispatch'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_controller/metal.rb:246:in `block in action'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/routing/route_set.rb:73:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/routing/route_set.rb:36:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/routing/route_set.rb:608:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/apipie-rails-0.2.6/lib/apipie/static_dispatcher.rb:65:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/apipie-rails-0.2.6/lib/apipie/extractor/recorder.rb:97:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/apipie-rails-0.2.6/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rack-1.4.7/lib/rack/etag.rb:23:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rack-1.4.7/lib/rack/conditionalget.rb:25:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/head.rb:14:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/params_parser.rb:21:in `call'

> /usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:9:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/flash.rb:242:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rack-1.4.7/lib/rack/session/abstract/id.rb:210:in `context'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rack-1.4.7/lib/rack/session/abstract/id.rb:205:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/cookies.rb:341:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activerecord-3.2.21/lib/active_record/query_cache.rb:64:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activerecord-3.2.21/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `_run__4007361381951050747__call__2415978747642726864__callbacks'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:405:in `__run_callback'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/callbacks.rb:81:in `run_callbacks'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/callbacks.rb:27:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/railties-3.2.21/lib/rails/rack/logger.rb:32:in `call_app'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/railties-3.2.21/lib/rails/rack/logger.rb:18:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/request_id.rb:22:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rack-1.4.7/lib/rack/methodoverride.rb:21:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rack-1.4.7/lib/rack/runtime.rb:17:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/activesupport-3.2.21/lib/active_support/cache/strategy/local_cache.rb:72:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rack-1.4.7/lib/rack/lock.rb:15:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/actionpack-3.2.21/lib/action_dispatch/middleware/static.rb:83:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/railties-3.2.21/lib/rails/engine.rb:484:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/railties-3.2.21/lib/rails/application.rb:231:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/railties-3.2.21/lib/rails/railtie/configurable.rb:30:in `method_missing'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rack-1.4.7/lib/rack/builder.rb:134:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rack-1.4.7/lib/rack/urlmap.rb:64:in `block in call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rack-1.4.7/lib/rack/urlmap.rb:49:in `each'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/rack-1.4.7/lib/rack/urlmap.rb:49:in `call'

> /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:74:in `process_request'

> /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:141:in `accept_and_process_next_request'

> /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:109:in `main_loop'

> /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:455:in `block (3 levels) in start_threads'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/logging-2.0.0/lib/logging/diagnostic_context.rb:448:in `call'

> /usr/share/foreman/vendor/ruby/2.1.0/gems/logging-2.0.0/lib/logging/diagnostic_context.rb:448:in `block in create_with_logging_context'

Hello,

Could someone help me ? vCenter = 5.5.0, 218311

Your email was so long it cut off the question at the end. Consider using
something like pastebin.org for long logs, as it makes things much more
readable.

I'm no expert in VMWare, but I do know that only some things are supported.
Tell us more about your setup - does your VMWare account have admin
priviledges? Were you creating a VM at the top level of the cluster?

Greg

··· On 16 December 2015 at 14:23, Jérémy D wrote: > Hello, > > Could someone help me ? vCenter = 5.5.0, 218311

Jeremy,

I facing this issue since a long time, my first question, did you received
this message only for listing vms ? or for others tasks ? ( cloning a VM
from Template )

My second one, is the ESX are hosted at OVH through their private cloud ?
or is it something you hosted yourself ?

While enabled the logs of RBVMOMI i saw that a empty SOAP response causing
this in my case since vSphere was trying to get properties datas from vm
name.

it's a weird issue…

··· On Wednesday, December 16, 2015 at 3:23:15 PM UTC+1, Jérémy D wrote: > > > 2015-12-16T11:50:54 [app] [W] Error has occurred while listing VMs on my_cluster (VMware) > > > Nokogiri::XML::XPath::SyntaxError: Undefined namespace prefix: //soapenv:Body/* > > > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:159:in `evaluate' > > > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:159:in `block in xpath' > > > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:150:in `map' > > > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:150:in `xpath' > > > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/trivial_soap.rb:112:in `request' > > > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/connection.rb:87:in `call' > > > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:205:in `_call' > > > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:74:in `block (2 levels) in init' > > > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:183:in `_get_property' > > > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:35:in `block (2 levels) in init' > > > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:26:in `block in allvmsbyfolder' > > > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each' > > > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `allvmsbyfolder' > > > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:24:in `block in allvmsbyfolder' > > > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each' > > > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `allvmsbyfolder' > > > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:24:in `block in allvmsbyfolder' > > > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each' > > > /usr/share/forema > > ...

http://pastebin.com/QxRZ1P14

I test VMware integration with administrator account, is there a way to
test the permission in CLI for debug ?

Jérémy

··· Le vendredi 18 décembre 2015 11:32:44 UTC+1, Greg Sutcliffe a écrit : > > > On 16 December 2015 at 14:23, Jérémy D <jeremy...@gmail.com > > wrote: > > Hello, > > > > Could someone help me ? vCenter = 5.5.0, 218311 > > Your email was so long it cut off the question at the end. Consider using > something like pastebin.org for long logs, as it makes things much more > readable. > > I'm no expert in VMWare, but I do know that only some things are > supported. Tell us more about your setup - does your VMWare account have > admin priviledges? Were you creating a VM at the top level of the cluster? > > Greg >

Hi Kevin

Listing VM, Create VM i dont try other thing.

Hosted on dedicated Cloud OVH Yes ! Maybe it's OVH limitation…

Jérémy

··· Le samedi 9 janvier 2016 07:16:34 UTC+1, Kevin Lan a écrit : > > Jeremy, > > I facing this issue since a long time, my first question, did you received > this message only for listing vms ? or for others tasks ? ( cloning a VM > from Template ) > > My second one, is the ESX are hosted at OVH through their private cloud ? > or is it something you hosted yourself ? > > While enabled the logs of RBVMOMI i saw that a empty SOAP response causing > this in my case since vSphere was trying to get properties datas from vm > name. > > it's a weird issue... > > On Wednesday, December 16, 2015 at 3:23:15 PM UTC+1, Jérémy D wrote: >> >> >> 2015-12-16T11:50:54 [app] [W] Error has occurred while listing VMs on my_cluster (VMware) >> >> > Nokogiri::XML::XPath::SyntaxError: Undefined namespace prefix: //soapenv:Body/* >> >> > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:159:in `evaluate' >> >> > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:159:in `block in xpath' >> >> > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:150:in `map' >> >> > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:150:in `xpath' >> >> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/trivial_soap.rb:112:in `request' >> >> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/connection.rb:87:in `call' >> >> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:205:in `_call' >> >> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:74:in `block (2 levels) in init' >> >> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:183:in `_get_property' >> >> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:35:in `block (2 levels) in init' >> >> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:26:in `block in allvmsbyfolder' >> >> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each' >> >> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `allvmsbyfolder' >> >> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:24:in `block in allvmsbyfolder' >> >> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each' >> >> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `allvmsbyfolder' >> >> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:24:in `block in allvmsbyfolder' >> >> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each' >> >> > /usr/share/forema >> >> ... > >

Hi Jérémy,
Did you find any solution?
We're facing the same problem here, also with an OVH dedicated Cloud…

··· Le mardi 12 janvier 2016 15:16:29 UTC+1, Jérémy D a écrit : > > Hi Kevin > > Listing VM, Create VM i dont try other thing. > > Hosted on dedicated Cloud OVH Yes ! Maybe it's OVH limitation... > > > Jérémy > > Le samedi 9 janvier 2016 07:16:34 UTC+1, Kevin Lan a écrit : >> >> Jeremy, >> >> I facing this issue since a long time, my first question, did you >> received this message only for listing vms ? or for others tasks ? ( >> cloning a VM from Template ) >> >> My second one, is the ESX are hosted at OVH through their private cloud ? >> or is it something you hosted yourself ? >> >> While enabled the logs of RBVMOMI i saw that a empty SOAP response >> causing this in my case since vSphere was trying to get properties datas >> from vm name. >> >> it's a weird issue... >> >> On Wednesday, December 16, 2015 at 3:23:15 PM UTC+1, Jérémy D wrote: >>> >>> >>> 2015-12-16T11:50:54 [app] [W] Error has occurred while listing VMs on my_cluster (VMware) >>> >>> > Nokogiri::XML::XPath::SyntaxError: Undefined namespace prefix: //soapenv:Body/* >>> >>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:159:in `evaluate' >>> >>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:159:in `block in xpath' >>> >>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:150:in `map' >>> >>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:150:in `xpath' >>> >>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/trivial_soap.rb:112:in `request' >>> >>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/connection.rb:87:in `call' >>> >>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:205:in `_call' >>> >>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:74:in `block (2 levels) in init' >>> >>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:183:in `_get_property' >>> >>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:35:in `block (2 levels) in init' >>> >>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:26:in `block in allvmsbyfolder' >>> >>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each' >>> >>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `allvmsbyfolder' >>> >>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:24:in `block in allvmsbyfolder' >>> >>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each' >>> >>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `allvmsbyfolder' >>> >>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:24:in `block in allvmsbyfolder' >>> >>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each' >>> >>> > /usr/share/forema >>> >>> ... >> >>

Still no solution…

··· Le lundi 7 mars 2016 10:11:07 UTC+1, herve....@kosmos.fr a écrit : > > Hi Jérémy, > Did you find any solution? > We're facing the same problem here, also with an OVH dedicated Cloud... > > > Le mardi 12 janvier 2016 15:16:29 UTC+1, Jérémy D a écrit : >> >> Hi Kevin >> >> Listing VM, Create VM i dont try other thing. >> >> Hosted on dedicated Cloud OVH Yes ! Maybe it's OVH limitation... >> >> >> Jérémy >> >> Le samedi 9 janvier 2016 07:16:34 UTC+1, Kevin Lan a écrit : >>> >>> Jeremy, >>> >>> I facing this issue since a long time, my first question, did you >>> received this message only for listing vms ? or for others tasks ? ( >>> cloning a VM from Template ) >>> >>> My second one, is the ESX are hosted at OVH through their private cloud >>> ? or is it something you hosted yourself ? >>> >>> While enabled the logs of RBVMOMI i saw that a empty SOAP response >>> causing this in my case since vSphere was trying to get properties datas >>> from vm name. >>> >>> it's a weird issue... >>> >>> On Wednesday, December 16, 2015 at 3:23:15 PM UTC+1, Jérémy D wrote: >>>> >>>> >>>> 2015-12-16T11:50:54 [app] [W] Error has occurred while listing VMs on my_cluster (VMware) >>>> >>>> > Nokogiri::XML::XPath::SyntaxError: Undefined namespace prefix: //soapenv:Body/* >>>> >>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:159:in `evaluate' >>>> >>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:159:in `block in xpath' >>>> >>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:150:in `map' >>>> >>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:150:in `xpath' >>>> >>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/trivial_soap.rb:112:in `request' >>>> >>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/connection.rb:87:in `call' >>>> >>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:205:in `_call' >>>> >>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:74:in `block (2 levels) in init' >>>> >>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:183:in `_get_property' >>>> >>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:35:in `block (2 levels) in init' >>>> >>>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:26:in `block in allvmsbyfolder' >>>> >>>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each' >>>> >>>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `allvmsbyfolder' >>>> >>>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:24:in `block in allvmsbyfolder' >>>> >>>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each' >>>> >>>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `allvmsbyfolder' >>>> >>>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:24:in `block in allvmsbyfolder' >>>> >>>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each' >>>> >>>> > /usr/share/forema >>>> >>>> ... >>> >>>

Hello,

Did you find any solution for you problem ?

··· Le jeudi 12 mai 2016 15:28:26 UTC+2, Jérémy D a écrit : > > Still no solution... > > Le lundi 7 mars 2016 10:11:07 UTC+1, herve....@kosmos.fr a écrit : >> >> Hi Jérémy, >> Did you find any solution? >> We're facing the same problem here, also with an OVH dedicated Cloud... >> >> >> Le mardi 12 janvier 2016 15:16:29 UTC+1, Jérémy D a écrit : >>> >>> Hi Kevin >>> >>> Listing VM, Create VM i dont try other thing. >>> >>> Hosted on dedicated Cloud OVH Yes ! Maybe it's OVH limitation... >>> >>> >>> Jérémy >>> >>> Le samedi 9 janvier 2016 07:16:34 UTC+1, Kevin Lan a écrit : >>>> >>>> Jeremy, >>>> >>>> I facing this issue since a long time, my first question, did you >>>> received this message only for listing vms ? or for others tasks ? ( >>>> cloning a VM from Template ) >>>> >>>> My second one, is the ESX are hosted at OVH through their private cloud >>>> ? or is it something you hosted yourself ? >>>> >>>> While enabled the logs of RBVMOMI i saw that a empty SOAP response >>>> causing this in my case since vSphere was trying to get properties datas >>>> from vm name. >>>> >>>> it's a weird issue... >>>> >>>> On Wednesday, December 16, 2015 at 3:23:15 PM UTC+1, Jérémy D wrote: >>>>> >>>>> >>>>> 2015-12-16T11:50:54 [app] [W] Error has occurred while listing VMs on my_cluster (VMware) >>>>> >>>>> > Nokogiri::XML::XPath::SyntaxError: Undefined namespace prefix: //soapenv:Body/* >>>>> >>>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:159:in `evaluate' >>>>> >>>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:159:in `block in xpath' >>>>> >>>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:150:in `map' >>>>> >>>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/nokogiri-1.5.11/lib/nokogiri/xml/node.rb:150:in `xpath' >>>>> >>>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/trivial_soap.rb:112:in `request' >>>>> >>>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/connection.rb:87:in `call' >>>>> >>>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:205:in `_call' >>>>> >>>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:74:in `block (2 levels) in init' >>>>> >>>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:183:in `_get_property' >>>>> >>>>> > /usr/share/foreman/vendor/ruby/2.1.0/gems/rbvmomi-1.8.2/lib/rbvmomi/basic_types.rb:35:in `block (2 levels) in init' >>>>> >>>>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:26:in `block in allvmsbyfolder' >>>>> >>>>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each' >>>>> >>>>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `allvmsbyfolder' >>>>> >>>>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:24:in `block in allvmsbyfolder' >>>>> >>>>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each' >>>>> >>>>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `allvmsbyfolder' >>>>> >>>>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:24:in `block in allvmsbyfolder' >>>>> >>>>> > /usr/share/foreman/app/services/fog_extensions/vsphere/mini_servers.rb:22:in `each' >>>>> >>>>> > /usr/share/forema >>>>> >>>>> ... >>>> >>>>