[openstack-dev] [ironic]Create vm fails when using IronicDriver
Lucas Alvares Gomes
lucasagomes at gmail.com
Wed Dec 2 11:17:42 UTC 2015
Hi Zhi,
> And the error message is:
> InstanceDeployFailure: RPC do_node_deploy failed to validate deploy or power
> info. Error: Node d71babdd-aa91-450d-b957-dc8c633c41f2 is configured to use
> the agent_ssh driver which currently does not support deploying partition
> images.
>
> Could someone give me some advice?
>
The error says almost it all, you are using the agent_ssh driver and
it does not support deploying partition images (meaning that it will
not partition the disk for you). When using that driver you should use
a whole disk image (an image that contains the partitions and a
booloader installed on it).
If you want to use a partition image you can use the pxe_ssh driver,
it does supports both types of image.
Also, there's work being done in a project called ironic-lib[0] which
is re-factoring the code that the ironic-conductor use to partition
the disk so it can be shared with the IPA ramdisk (that will be used
by the agent_ssh driver to partition the disk in-band) as well.
[0] https://github.com/openstack/ironic-lib
Hope that helps,
Lucas
More information about the OpenStack-dev
mailing list