Bug #24274
closedDeploy VMWare Template fails
Description
When i want to deploy a vmware Image ( Ubuntu) I get the following error in the Production.log
The ID is the UUID from the Compute Resource.
2018-07-16T11:29:17 [I|app|57373] Completed 200 OK in 6ms (Views: 0.9ms | ActiveRecord: 0.8ms)
2018-07-16T11:29:17 [I|app|559f2] Adding autosign entry for testf.devtqdu.de
2018-07-16T11:29:17 [I|app|559f2] Revoked old certificates and enabled autosign for UserData
2018-07-16T11:29:17 [I|app|559f2] Adding Compute instance for testf.devtqdu.de
2018-07-16T11:29:18 [W|app|559f2] Unhandled VMware error
| Fog::Compute::Vsphere::NotFound: 5028b497-1f1e-131d-cf34-5b4f0746a05d was not found
| /usr/share/foreman/vendor/ruby/2.3.0/gems/fog-vsphere-2.2.0/lib/fog/vsphere/requests/compute/get_virtual_machine.rb:28:in `get_vm_ref'
| /usr/share/foreman/vendor/ruby/2.3.0/gems/fog-vsphere-2.2.0/lib/fog/vsphere/requests/compute/get_virtual_machine.rb:7:in `get_virtual_machine'
| /usr/share/foreman/vendor/ruby/2.3.0/gems/fog-vsphere-2.2.0/lib/fog/vsphere/requests/compute/vm_clone.rb:23:in `vm_clone_check_options'
| /usr/share/foreman/vendor/ruby/2.3.0/gems/fog-vsphere-2.2.0/lib/fog/vsphere/requests/compute/vm_clone.rb:97:in `vm_clone'
| /usr/share/foreman/app/models/compute_resources/foreman/model/vmware.rb:510:in `clone_vm'
| /usr/share/foreman/app/models/compute_resources/foreman/model/vmware.rb:439:in `create_vm'
| /usr/share/foreman/app/models/concerns/orchestration/compute.rb:78: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'
| /usr/share/foreman/vendor/ruby/2.3.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:117:in `block in run_callbacks'
| /usr/share/foreman/vendor/ruby/2.3.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:135:in `run_callbacks'
| /usr/share/foreman/vendor/ruby/2.3.0/gems/activesupport-5.1.6/lib/active_support/callbacks.rb:827:in `_run_save_callbacks'
| /usr/share/foreman/vendor/ruby/2.3.0/gems/activerecord-5.1.6/lib/active_record/callbacks.rb:336:in `create_or_update'
| /usr/share/foreman/vendor/ruby/2.3.0/gems/activerecord-5.1.6/lib/active_record/persistence.rb:129:in `save'
Version installed:
ii foreman 1.18.0~rc3-1 amd64 Systems management web interface
ii foreman-cli 1.18.0~rc3-1 all metapackage providing hammer CLI for Foreman
ii foreman-debug 1.18.0~rc3-1 all provides support utility foreman-debug.
ii foreman-installer 1.18.0~rc3-1 all Automated puppet-based installer for The Foreman
ii foreman-postgresql 1.18.0~rc3-1 all metapackage providing PostgreSQL dependencies for Foreman
ii foreman-proxy 1.18.0~rc3-1 all RESTful proxies for DNS, DHCP, TFTP, and Puppet
ii foreman-vmware 1.18.0~rc3-1 all metapackage providing vmware dependencies for Foreman
Updated by Chris Roberts almost 6 years ago
- Status changed from New to Need more information
- Assignee set to Chris Roberts
- Triaged changed from No to Yes
Hi,
Are you able to provision a VM normally without an image? Are you sure the path is correct since we are seeing this?
Fog::Compute::Vsphere::NotFound: 5028b497-1f1e-131d-cf34-5b4f0746a05d was not found
Are permissions correct for the user added in the compute resource?
Updated by Peter Rupp almost 6 years ago
- Status changed from Need more information to Resolved
I have upgrade to 1.18.0