Actions
Bug #17232
open[openstack] Error when deploying an instance with boot volume creation
Status:
New
Priority:
Normal
Assignee:
-
Category:
Compute resources - OpenStack
Target version:
-
Description
Hi,
I'm using Openstack Mitaka and Foreman 1.12.3.
If I create an instance from foreman without creating a new boot volume, it is working fine.
But if I check "Create new boot volume from image", new volume is created but instance launching failed with this error:
[app] [W] Failed to create a compute openstack-mqt (OpenStack) instance test-foreman.qt.cls.fr: Invalid input for field/attribute device_name. Value: None. None is not of type 'string' | | RuntimeError: Invalid input for field/attribute device_name. Value: None. None is not of type 'string' | /usr/share/foreman/app/models/compute_resources/foreman/model/openstack.rb:113:in `rescue in create_vm' | /usr/share/foreman/app/models/compute_resources/foreman/model/openstack.rb:97:in `create_vm' | /usr/share/foreman/app/models/concerns/orchestration/compute.rb:82:in `setCompute' | /usr/share/foreman/app/models/concerns/orchestration.rb:162:in `execute' | /usr/share/foreman/app/models/concerns/orchestration.rb:107:in `block in process' | /usr/share/foreman/app/models/concerns/orchestration.rb:99:in `each' | /usr/share/foreman/app/models/concerns/orchestration.rb:99:in `process' | /usr/share/foreman/app/models/concerns/orchestration.rb:35:in `on_save'
It seems that there is an issue with device name given by foreman to openstack, but I don't know how to check passed values.
If I launch an instance directly from Horizon with boot volume creation, it is working fine.
Thanks.
No data to display
Actions