Justin Clacherty
2009-Aug-21 14:03 UTC
[Ovirt-devel] Unable to assign cobbler image as boot device
If I edit a VM and assign the operating system to an image I created under
cobbler I get a http 404 error when I attempt to save the settings. The
following is shown in the rails log.
Processing VmController#update (for 192.168.42.102 at 2009-08-21 23:45:26)
[POST]
Parameters:
{"vm"=>{"provisioning_and_boot_settings"=>"image
at cobbler:W2k8-R2", "storage_volume_ids"=>["9"],
"vm_resource_pool_id"=>"5",
"uuid"=>"d25a31bb-23a4-aa62-3113-1539a7f9dce9",
"description"=>"Alfresco",
"memory_allocated_in_mb"=>"1024",
"num_vcpus_allocated"=>"1"},
"id"=>"8",
"macs"=>["00:16:3e:10:ac:33", ""],
"networks"=>["1", ""]}
RuntimeError (HTTP-Error: 404 Not Found):
/usr/lib/ruby/1.8/xmlrpc/client.rb:549:in `do_rpc'
/usr/lib/ruby/1.8/xmlrpc/client.rb:420:in `call2'
/usr/lib/ruby/1.8/xmlrpc/client.rb:410:in `call'
cobbler (0.1.3) lib/cobbler/base.rb:127:in `make_call'
(eval):4:in `find_one'
app/services/vm_service.rb:291:in `vm_provision'
app/services/vm_service.rb:164:in `svc_update'
app/services/vm_service.rb:159:in `svc_update'
app/controllers/vm_controller.rb:81:in `update'
The image is an iso on an nfs mount set up using the cobbler gui.
Cheers,
Justin.
Possibly Parallel Threads
- [PATCH server] final cleanup for service layer refactoring.
- [PATCH server] permit many-to-many vms / networks relationship
- Provisioning Windows
- [PATCH server] provide default uuid and mac if not provided for create.
- [PATCH server] Add svc_vm_actions method to VmService.
