Can not create vm guest using foreman 1.17.1

Hello,

Recently I added our vcenter to foreman as compute resource. I tried to provision through the foreman
I got below error.


vcenter server versio. 6.5
esxi version 6.0

vcenter server has multiple data centers and clusters. multiple VLANs connected to each esxi host.

Foreman versiom 1.17.
Proxy versions: 1.17.1

please take a look on below log file. Please help me to fix this issue

2018-06-21T11:59:29 ba3fea01 [app] [I] Current user: LVeeturi1 (administrator)
2018-06-21T11:59:29 ba3fea01 [app] [I] Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 0.7ms)
2018-06-21T11:59:30 5f8ef505 [app] [I] Started POST "/api/config_reports" for 162.44.48.254 at 2018-06-21 11:59:30 -0400
2018-06-21T11:59:30 5f8ef505 [app] [I] Processing by Api::V2::ConfigReportsController#create as JSON
2018-06-21T11:59:30 5f8ef505 [app] [I]   Parameters: {"config_report"=>"[FILTERED]", "apiv"=>"v2"}
2018-06-21T11:59:30 5f8ef505 [app] [I] Current user: foreman_api_admin (administrator)
2018-06-21T11:59:30 5f8ef505 [app] [I] Imported report for bousdbienhs06q.cegedim.clt in 0.21 seconds, status refreshed in 0.03 seconds
2018-06-21T11:59:30 5f8ef505 [app] [I]   Rendering api/v2/config_reports/create.json.rabl
2018-06-21T11:59:30 5f8ef505 [app] [I]   Rendered api/v2/config_reports/create.json.rabl (82.5ms)
2018-06-21T11:59:30 5f8ef505 [app] [I] Completed 201 Created in 350ms (Views: 74.0ms | ActiveRecord: 86.9ms)
2018-06-21T11:59:35 c75438d1 [app] [I] Started POST "/hosts" for 10.44.101.107 at 2018-06-21 11:59:35 -0400
2018-06-21T11:59:35 c75438d1 [app] [I] Processing by HostsController#create as */*
2018-06-21T11:59:35 c75438d1 [app] [I]   Parameters: {"utf8"=>"✓", "authenticity_token"=>"8YVf3Cv/7JZvGdeYcRSrdjvrs4lCt5QtHOoiPPDobJKq+GZrPAz1cv/yuugO1ZSU+tGPG4cFDSITzjzvfZB42Q==", "host"=>{"name"=>"carultst09", "hostgroup_id"=>"", "compute_resource_id"=>"2", "environment_id"=>"1", "puppet_proxy_id"=>"1", "puppet_ca_proxy_id"=>"1", "config_group_ids"=>[""], "puppetclass_ids"=>[""], "managed"=>"true", "progress_report_id"=>"[FILTERED]", "type"=>"Host::Managed", "interfaces_attributes"=>{"0"=>{"_destroy"=>"0", "type"=>"Nic::Managed", "mac"=>"", "identifier"=>"", "name"=>"carultst09", "domain_id"=>"1", "subnet_id"=>"8", "ip"=>"162.44.28.8", "ip6"=>"", "managed"=>"1", "primary"=>"1", "provision"=>"1", "virtual"=>"0", "tag"=>"", "attached_to"=>"", "compute_attributes"=>{"type"=>"VirtualVmxnet3", "network"=>"dvportgroup-252034"}}}, "compute_attributes"=>{"cpus"=>"2", "corespersocket"=>"1", "memory_mb"=>"2048", "firmware"=>"automatic", "cluster"=>"cdt-cluster-1024-Linux", "resource_pool"=>"CPK-Hadoop", "path"=>"/Datacenters/Carlstadt/vm", "guest_id"=>"oracleLinux7_64Guest", "hardware_version"=>"Default", "memoryHotAddEnabled"=>"0", "cpuHotAddEnabled"=>"0", "add_cdrom"=>"0", "start"=>"0", "annotation"=>"", "scsi_controllers"=>"{\"scsiControllers\":[{\"type\":\"VirtualLsiLogicController\",\"key\":1000}],\"volumes\":[{\"thin\":true,\"name\":\"Hard disk\",\"mode\":\"persistent\",\"controllerKey\":1000,\"size\":10485760,\"sizeGb\":100,\"key\":\"e654fcc0-756b-11e8-877d-b303b064ff0d\",\"storagePod\":\"dsc1024\"}]}"}, "architecture_id"=>"1", "operatingsystem_id"=>"6", "provision_method"=>"build", "build"=>"1", "medium_id"=>"12", "ptable_id"=>"119", "pxe_loader"=>"PXELinux BIOS", "disk"=>"", "root_pass"=>"[FILTERED]", "is_owned_by"=>"6-Users", "enabled"=>"1", "comment"=>"", "overwrite"=>"false"}, "capabilities"=>"build image", "provider"=>"Vmware", "bare_metal_capabilities"=>"build"}
2018-06-21T11:59:35 c75438d1 [app] [I] Current user: LVeeturi1 (administrator)
2018-06-21T11:59:35 c75438d1 [app] [I] Adding Compute instance for carultst09.rxcorp.com
2018-06-21T11:59:37 9dab21ec [app] [I] Started GET "/tasks/5cfeb021-f7f7-41b5-b201-9b0b9e6bffb6" for 10.44.101.107 at 2018-06-21 11:59:37 -0400
2018-06-21T11:59:37 9dab21ec [app] [I] Processing by TasksController#show as */*
2018-06-21T11:59:37 9dab21ec [app] [I]   Parameters: {"id"=>"5cfeb021-f7f7-41b5-b201-9b0b9e6bffb6"}
2018-06-21T11:59:37 9dab21ec [app] [I] Current user: LVeeturi1 (administrator)
2018-06-21T11:59:37 9dab21ec [app] [I]   Rendered tasks/_list.html.erb (0.9ms)
2018-06-21T11:59:37 9dab21ec [app] [I] Completed 200 OK in 11ms (Views: 1.9ms | ActiveRecord: 1.4ms)
2018-06-21T11:59:38 a5465696 [app] [I] Started GET "/tasks/5cfeb021-f7f7-41b5-b201-9b0b9e6bffb6" for 10.44.101.107 at 2018-06-21 11:59:38 -0400
2018-06-21T11:59:38 a5465696 [app] [I] Processing by TasksController#show as */*
2018-06-21T11:59:38 a5465696 [app] [I]   Parameters: {"id"=>"5cfeb021-f7f7-41b5-b201-9b0b9e6bffb6"}
2018-06-21T11:59:38 a5465696 [app] [I] Current user: LVeeturi1 (administrator)
2018-06-21T11:59:38 a5465696 [app] [I]   Rendered tasks/_list.html.erb (1.0ms)
2018-06-21T11:59:38 a5465696 [app] [I] Completed 200 OK in 12ms (Views: 2.0ms | ActiveRecord: 1.7ms)
2018-06-21T11:59:39 85cb6a23 [app] [I] Started GET "/notification_recipients" for 10.44.101.107 at 2018-06-21 11:59:39 -0400
2018-06-21T11:59:39 85cb6a23 [app] [I] Processing by NotificationRecipientsController#index as JSON
2018-06-21T11:59:39 85cb6a23 [app] [I] Current user: LVeeturi1 (administrator)
2018-06-21T11:59:39 85cb6a23 [app] [I] Completed 200 OK in 8ms (Views: 0.3ms | ActiveRecord: 0.7ms)
2018-06-21T11:59:40 dcd55306 [app] [I] Started GET "/tasks/5cfeb021-f7f7-41b5-b201-9b0b9e6bffb6" for 10.44.101.107 at 2018-06-21 11:59:40 -0400
2018-06-21T11:59:40 dcd55306 [app] [I] Processing by TasksController#show as */*
2018-06-21T11:59:40 dcd55306 [app] [I]   Parameters: {"id"=>"5cfeb021-f7f7-41b5-b201-9b0b9e6bffb6"}
2018-06-21T11:59:40 dcd55306 [app] [I] Current user: LVeeturi1 (administrator)
2018-06-21T11:59:40 dcd55306 [app] [I]   Rendered tasks/_list.html.erb (1.4ms)
2018-06-21T11:59:40 dcd55306 [app] [I] Completed 200 OK in 13ms (Views: 2.5ms | ActiveRecord: 1.4ms)
2018-06-21T11:59:40 c75438d1 [app] [W] Failed to create a compute cdtsvmm11 (VMware) instance carultst09.rxcorp.com: InvalidArgument: A specified parameter was not correct: configSpec.guestId
 |
 | RbVmomi::Fault: InvalidArgument: A specified parameter was not correct: configSpec.guestId
 | /opt/theforeman/tfm/root/usr/share/gems/gems/rbvmomi-1.10.0/lib/rbvmomi/vim/Task.rb:14:in `wait_for_completion'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/fog-vsphere-2.1.1/lib/fog/vsphere/requests/compute/create_vm.rb:68:in `create_vm_on_storage_pod'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/fog-vsphere-2.1.1/lib/fog/vsphere/requests/compute/create_vm.rb:38:in `create_vm'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/fog-vsphere-2.1.1/lib/fog/vsphere/models/compute/server.rb:303:in `save'
 | /usr/share/foreman/app/models/compute_resources/foreman/model/vmware.rb:447:in `create_vm'
 | /usr/share/foreman/app/models/concerns/orchestration/compute.rb:77:in `setCompute'
 | /usr/share/foreman/app/models/concerns/orchestration.rb:222:in `execute'
 | /usr/share/foreman/app/models/concerns/orchestration.rb:145:in `block in process'
 | /usr/share/foreman/app/models/concerns/orchestration.rb:137:in `each'
 | /usr/share/foreman/app/models/concerns/orchestration.rb:137:in `process'
 | /usr/share/foreman/app/models/concerns/orchestration.rb:44:in `around_save_orchestration'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:135:in `run_callbacks'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:827:in `_run_save_callbacks'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.4/lib/active_record/callbacks.rb:336:in `create_or_update'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.4/lib/active_record/persistence.rb:129:in `save'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.4/lib/active_record/validations.rb:44:in `save'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.4/lib/active_record/attribute_methods/dirty.rb:35:in `save'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.4/lib/active_record/transactions.rb:308:in `block (2 levels) in save'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.4/lib/active_record/transactions.rb:384:in `block in with_transaction_returning_status'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `block in transaction'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:194:in `block in within_new_transaction'
 | /opt/rh/rh-ruby24/root/usr/share/ruby/monitor.rb:214:in `mon_synchronize'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/transaction.rb:191:in `within_new_transaction'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.4/lib/active_record/connection_adapters/abstract/database_statements.rb:235:in `transaction'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.4/lib/active_record/transactions.rb:210:in `transaction'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.4/lib/active_record/transactions.rb:381:in `with_transaction_returning_status'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.4/lib/active_record/transactions.rb:308:in `block in save'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.4/lib/active_record/transactions.rb:323:in `rollback_active_record_state!'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.4/lib/active_record/transactions.rb:307:in `save'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.4/lib/active_record/suppressor.rb:42:in `save'
 | /usr/share/foreman/app/models/concerns/foreman/sti.rb:26:in `save'
 | /usr/share/foreman/app/controllers/hosts_controller.rb:104:in `create'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_controller/metal/basic_implicit_render.rb:4:in `send_action'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/abstract_controller/base.rb:186:in `process_action'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_controller/metal/rendering.rb:30:in `process_action'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:108:in `block in run_callbacks'
 | /usr/share/foreman/app/controllers/concerns/application_shared.rb:15:in `set_timezone'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/audited-4.4.1/lib/audited/sweeper.rb:14:in `around'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/audited-4.4.1/lib/audited/sweeper.rb:14:in `around'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:135:in `run_callbacks'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/abstract_controller/callbacks.rb:19:in `process_action'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_controller/metal/rescue.rb:20:in `process_action'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `block in instrument'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/notifications.rb:166:in `instrument'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_controller/metal/params_wrapper.rb:252:in `process_action'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activerecord-5.1.4/lib/active_record/railties/controller_runtime.rb:22:in `process_action'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/abstract_controller/base.rb:124:in `process'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionview-5.1.4/lib/action_view/rendering.rb:30:in `process'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_controller/metal.rb:189:in `dispatch'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_controller/metal.rb:253:in `dispatch'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:31:in `serve'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_dispatch/journey/router.rb:50:in `block in serve'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_dispatch/journey/router.rb:33:in `each'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_dispatch/journey/router.rb:33:in `serve'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_dispatch/routing/route_set.rb:834:in `call'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.6/lib/apipie/static_dispatcher.rb:65:in `call'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.6/lib/apipie/extractor/recorder.rb:136:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/static.rb:125:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/static.rb:125:in `call'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.6/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
 | /usr/share/foreman/lib/middleware/catch_json_parse_errors.rb:8:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/etag.rb:25:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/conditional_get.rb:38:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/head.rb:12:in `call'
 | /usr/share/foreman/lib/middleware/session_safe_logging.rb:17:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/session/abstract/id.rb:232:in `context'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/session/abstract/id.rb:226:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/cookies.rb:613:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/callbacks.rb:26:in `block in call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/callbacks.rb:97:in `run_callbacks'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/callbacks.rb:24:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/debug_exceptions.rb:59:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/show_exceptions.rb:31:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.4/lib/rails/rack/logger.rb:36:in `call_app'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.4/lib/rails/rack/logger.rb:26:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'
 | /usr/share/foreman/lib/middleware/tagged_logging.rb:18:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/remote_ip.rb:79:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/request_id.rb:25:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/method_override.rb:22:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/runtime.rb:22:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/activesupport-5.1.4/lib/active_support/cache/strategy/local_cache_middleware.rb:27:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/executor.rb:12:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/actionpack-5.1.4/lib/action_dispatch/middleware/static.rb:125:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/sendfile.rb:111:in `call'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/secure_headers-3.4.1/lib/secure_headers/middleware.rb:12:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.4/lib/rails/engine.rb:522:in `call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.4/lib/rails/railtie.rb:185:in `public_send'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/railties-5.1.4/lib/rails/railtie.rb:185:in `method_missing'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:68:in `block in call'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:53:in `each'
 | /opt/theforeman/tfm-ror51/root/usr/share/gems/gems/rack-2.0.3/lib/rack/urlmap.rb:53:in `call'
 | /usr/share/passenger/phusion_passenger/rack/thread_handler_extension.rb:74:in `process_request'
 | /usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:141:in `accept_and_process_next_request'
 | /usr/share/passenger/phusion_passenger/request_handler/thread_handler.rb:109:in `main_loop'
 | /usr/share/passenger/phusion_passenger/request_handler.rb:455:in `block (3 levels) in start_threads'
 | /opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2018-06-21T11:59:40 c75438d1 [app] [W] Rolling back due to a problem: [#<Orchestration::Task:0x00007f6f6f50f948 @name="Set up compute instance carultst09.rxcorp.com", @status="failed", @priority=2, @action=[#<Host::Managed id: nil, name: "carultst09.rxcorp.com", last_compile: nil, last_report: nil, updated_at: nil, created_at: nil, root_pass: "$5$vuBkKzQC$op5IOZSGC9YGZ3Wcck//gkEadBpd7yT6iJ7zrq...", architecture_id: 1, operatingsystem_id: 6, environment_id: 1, ptable_id: 119, medium_id: 12, build: true, comment: "", disk: "", installed_at: nil, model_id: nil, hostgroup_id: nil, owner_id: 6, owner_type: "User", enabled: true, puppet_ca_proxy_id: 1, managed: true, use_image: nil, image_file: nil, uuid: nil, compute_resource_id: 2, puppet_proxy_id: 1, certname: nil, image_id: nil, organization_id: nil, location_id: nil, type: "Host::Managed", otp: nil, realm_id: nil, compute_profile_id: nil, provision_method: "build", grub_pass: "$6$sgjxB6sP$kXBS5Bm7F34bforwNE3B2YP7KJmP3o2oX5sSlc...", global_status: 0, lookup_value_matcher: "fqdn=carultst09.rxcorp.com", pxe_loader: "PXELinux BIOS">, :setCompute], @timestamp=2018-06-21 15:59:40 UTC>]
2018-06-21T11:59:40 c75438d1 [app] [I] Processed 1 tasks from queue 'Host::Managed Main', completed 0/7
2018-06-21T11:59:40 c75438d1 [app] [E] Task 'Set up compute instance carultst09.rxcorp.com' *failed*
2018-06-21T11:59:40 c75438d1 [app] [E] Task 'Query instance details for carultst09.rxcorp.com' *canceled*
2018-06-21T11:59:40 c75438d1 [app] [E] Task 'Create DHCP Settings for carultst09.rxcorp.com' *canceled*
2018-06-21T11:59:40 c75438d1 [app] [E] Task 'Deploy TFTP PXEGrub2 config for carultst09.rxcorp.com' *canceled*
2018-06-21T11:59:40 c75438d1 [app] [E] Task 'Deploy TFTP PXELinux config for carultst09.rxcorp.com' *canceled*
2018-06-21T11:59:40 c75438d1 [app] [E] Task 'Deploy TFTP PXEGrub config for carultst09.rxcorp.com' *canceled*
2018-06-21T11:59:40 c75438d1 [app] [E] Task 'Fetch TFTP boot files for carultst09.rxcorp.com' *canceled*
2018-06-21T11:59:40 c75438d1 [app] [I] Failed to save: Failed to create a compute cdtsvmm11 (VMware) instance carultst09.rxcorp.com: InvalidArgument: A specified parameter was not correct: configSpec.guestId
 |
2018-06-21T11:59:40 c75438d1 [app] [I]   Rendering hosts/new.html.erb within layouts/application
2018-06-21T11:59:40 c75438d1 [app] [I]   Rendered hosts/_progress.html.erb (0.6ms)
2018-06-21T11:59:40 c75438d1 [app] [I]   Rendered hosts/puppet/_main_tab_fields.html.erb (4.6ms)
2018-06-21T11:59:40 c75438d1 [app] [I]   Rendered config_groups/_config_group.html.erb (12.2ms)
2018-06-21T11:59:40 c75438d1 [app] [I]   Rendered config_groups/_config_group.html.erb (6.7ms)
2018-06-21T11:59:40 c75438d1 [app] [I]   Rendered config_groups/_config_group.html.erb (7.1ms)
2018-06-21T11:59:40 c75438d1 [app] [I]   Rendered config_groups/_config_groups_selection.html.erb (57.2ms)
2018-06-21T11:59:40 c75438d1 [app] [I]   Rendered collection of puppetclasses/_selectedClasses.html.erb [0 times] (0.0ms)
2018-06-21T11:59:40 c75438d1 [app] [I]   Rendered collection of puppetclasses/_classes_in_groups.html.erb [0 times] (0.1ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered puppetclasses/_classes.html.erb (57.1ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered puppetclasses/_class_selection.html.erb (132.3ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered hosts/puppet/_puppet_classes_tab.html.erb (133.3ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered nic/_base_form.html.erb (38.8ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered nic/_virtual_form.html.erb (2.5ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered compute_resources_vms/form/vmware/_network.html.erb (6.0ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered nic/_provider_specific_form.html.erb (7.7ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered nic/manageds/_managed.html.erb (52.7ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered nic/_base_form.html.erb (32.3ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered nic/_virtual_form.html.erb (2.3ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered compute_resources_vms/form/vmware/_network.html.erb (5.7ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered nic/_provider_specific_form.html.erb (20.3ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered nic/manageds/_managed.html.erb (77.8ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered hosts/_interfaces.html.erb (134.9ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered hosts/_compute.html.erb (1.3ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered common/os_selection/_architecture.html.erb (11.0ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered common/os_selection/_pxe_loader.html.erb (2.1ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered common/os_selection/_operatingsystem.html.erb (20.7ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered hosts/provision_method/build/_form.html.erb (23.6ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered hosts/provision_method/image/_form.html.erb (0.4ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered hosts/_operating_system.html.erb (44.9ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered hosts/_unattended.html.erb (47.4ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered collection of puppetclasses/_class_parameters.html.erb [0 times] (0.0ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered puppetclasses/_classes_parameters.html.erb (14.2ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered common_parameters/_inherited_parameters.html.erb (0.7ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered common_parameters/_parameter.html.erb (4.0ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered common_parameters/_parameters.html.erb (9.3ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered hosts/_form.html.erb (424.2ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered hosts/new.html.erb within layouts/application (425.3ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered layouts/_application_content.html.erb (1.0ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendering layouts/base.html.erb
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered home/_org_switcher.html.erb (0.3ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered home/_user_dropdown.html.erb (2.7ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered home/_topbar.html.erb (4.6ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered home/_vertical_menu.html.erb (4.2ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered home/_vertical_menu.html.erb (2.0ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered home/_vertical_menu.html.erb (4.2ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered home/_vertical_menu.html.erb (3.6ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered home/_vertical_menu.html.erb (4.0ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered home/_vertical_menu.html.erb (3.5ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered home/_vertical_menu.html.erb (1.8ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered home/_navbar.html.erb (29.0ms)
2018-06-21T11:59:41 c75438d1 [app] [I]   Rendered layouts/base.html.erb (39.5ms)
2018-06-21T11:59:41 c75438d1 [app] [I] Completed 200 OK in 5843ms (Views: 439.5ms | ActiveRecord: 57.4ms)
2018-06-21T11:59:41 5d9a3d7f [app] [I] Started GET "/tasks/5cfeb021-f7f7-41b5-b201-9b0b9e6bffb6" for 10.44.101.107 at 2018-06-21 11:59:41 -0400
2018-06-21T11:59:41 5d9a3d7f [app] [I] Processing by TasksController#show as */*
2018-06-21T11:59:41 5d9a3d7f [app] [I]   Parameters: {"id"=>"5cfeb021-f7f7-41b5-b201-9b0b9e6bffb6"}
2018-06-21T11:59:41 5d9a3d7f [app] [I] Current user: LVeeturi1 (administrator)
2018-06-21T11:59:41 5d9a3d7f [app] [I]   Rendered tasks/_list.html.erb (0.9ms)
2018-06-21T11:59:41 5d9a3d7f [app] [I] Completed 200 OK in 12ms (Views: 1.8ms | ActiveRecord: 1.4ms)
2018-06-21T11:59:46 453e15bd [app] [I] Started GET "/node/sgpsdbmiasan01u.cegedim.clt?format=yml" for 162.44.48.254 at 2018-06-21 11:59:46 -0400
2018-06-21T11:59:46 453e15bd [app] [I] Processing by HostsController#externalNodes as YML
2018-06-21T11:59:46 453e15bd [app] [I]   Parameters: {"name"=>"sgpsdbmiasan01u.cegedim.clt"}
2018-06-21T11:59:46 453e15bd [app] [I] Current user: foreman_api_admin (administrator)
2018-06-21T11:59:46 453e15bd [app] [I]   Rendering text template
2018-06-21T11:59:46 453e15bd [app] [I]   Rendered text template (0.0ms)
2018-06-21T11:59:46 453e15bd [app] [I] Completed 200 OK in 302ms (Views: 1.3ms | ActiveRecord: 23.0ms)
2018-06-21T11:59:49 583e72cf [app] [I] Started GET "/notification_recipients" for 10.44.101.107 at 2018-06-21 11:59:49 -0400
2018-06-21T11:59:49 583e72cf [app] [I] Processing by NotificationRecipientsController#index as JSON
2018-06-21T11:59:49 583e72cf [app] [I] Current user: LVeeturi1 (administrator)
2018-06-21T11:59:49 583e72cf [app] [I] Completed 200 OK in 9ms (Views: 0.3ms | ActiveRecord: 0.7ms)
2018-06-21T11:59:59 88fb1cbb [app] [I] Started GET "/notification_recipients" for 10.44.101.107 at 2018-06-21 11:59:59 -0400
2018-06-21T11:59:59 88fb1cbb [app] [I] Processing by NotificationRecipientsController#index as JSON
2018-06-21T11:59:59 88fb1cbb [app] [I] Current user: LVeeturi1 (administrator)
2018-06-21T11:59:59 88fb1cbb [app] [I] Completed 200 OK in 8ms (Views: 0.4ms | ActiveRecord: 0.8ms)

What guest os did you chose under virtual machine?

oracle linx 7.5

Nvm I found it you picked oracle 7 - I don’t know if this a bug per se but the oracle 7 in VMware doesn’t exist it’s actually oracle 5,6,7 64 bit of something like that. Just use the Rhel 7 guest option instead

ok let me try

Thanks
Laxman

working now

Thank you somuch
Laxman