Re: [openstack-dev] [ironic]Create vm fails when using IronicDriver

2015-12-02 Thread Lucas Alvares Gomes
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

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [ironic]Create vm fails when using IronicDriver

2015-12-01 Thread Zhi Chang
hi, all
I install Ironic in my devstack by following the document 
http://docs.openstack.org/developer/ironic/dev/dev-quickstart.html. But I meet 
a problem now. Create a vm fail by nova by using IronicDriver. My nova.conf 
like this: 
./nova.conf:scheduler_host_manager = 
nova.scheduler.ironic_host_manager.IronicHostManager
./nova.conf:compute_driver = nova.virt.ironic.IronicDriver


Creating vm command is: nova boot --flavor baremetal --image $image --key-name 
default --nic net-id=xxx testing


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?


Thx
Zhi Chang__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev