You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The boot volume is created successfully, and is properly created using the image at vm_image_name.
The image fails to be created, with error:
Task failed | my_blueprint | my_deployment | install | cloudify.interfaces.lifecycle.create | vm | vm_gs6yit
| Task failed 'nova_plugin.server.create' -> Invalid input for field/attribute imageRef. Value: my-image-
name. u'my-image-name' is not valid under any of the given schemas [status_code=400]
The workflow fails.
I find it odd that the image was fine to be created with an image name (as opposed to a UUID), but the server (which doesn't need an image to be created!) cannot be created with an image name (as opposed to a UUID).
I see that there's some existing code which goes and gets the ID from a name-or-ID. This is used for the Server node-type. I imagine this could be used elsewhere to solve this issue.
Summary
I want to boot a VM by using a boot volume, which is created by providing the openstack name for an image (not the openstack id).
Symptoms / repro
Here's the relevant node_templates:
The result of this is:
vm_image_name
.I find it odd that the image was fine to be created with an image name (as opposed to a UUID), but the server (which doesn't need an image to be created!) cannot be created with an image name (as opposed to a UUID).
Environment
Cloudify manager version: v4.1.1
Openstack plugin version: v2.2.0
Suggestion
I see that there's some existing code which goes and gets the ID from a name-or-ID. This is used for the
Server
node-type. I imagine this could be used elsewhere to solve this issue.cloudify-openstack-plugin/nova_plugin/server.py
Line 911 in 7211674
The text was updated successfully, but these errors were encountered: