<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Oleg,</div><div><br></div><div>Thanks for your promptly reply and detail explanation. Merry Christmas and wish you have a happy new year!</div><div><br></div><div>At the same time, I think we can discuss more on Ironic is for backend driver for nova. I'm new in ironic. Per my understanding, the purpose of bare metal as a backend driver is to solve the problem that some appliance systems can not be virtualized, but operator still wants same cloud management system to manage these systems. With the help of ironic, operator can achieve the goal, and use one openstack to manage these systems as VMs, create, delete, deploy image etc. this is one typical use case.</div><div><br></div><div>In addition, actually I'm thinking another interesting use case. Currently openstack requires ops to pre-install all servers. TripleO try to solve this problem and bootstrap openstack using openstack. However, what is missing here is dynamic power on VM/switches/storage only. Imagine initially lab only had one all-in-one openstack controller. The whole work flow can be:</div><div> 1. Users request one VM or baremetal server through portal.</div><div> 2. Horizon sends request to nova-scheduler</div><div> 3. Nova-scheduler finds no server, then invoke ironic api to power on one through IPMI, and install either hyper visor or appliance directly.</div><div> 4. If it need create VM, Nova-scheduler will find one compute node, and send message for further processing.</div><div><br></div><div>Based on this use case, I'm thinking whether it makes sense to embed this ironic invokation logic in nova-scheduler, or another approach is as overall orchestration manager, TripleO project has a TripleO-scheduler to firstly intercept the message, invoke ironic api, then heat api which calls nova api, neutron api, storage api. In this case, TripleO only powers on baremetal server running VM, nova is responsible to power on baremetal server running appliance system. Sounds like latter one is a good solution, however the prior one also works. So can you please comment on it? Thanks!</div><div><br>B.R.<div>Leslie</div><div><br><div>Sent from my iPhone</div></div></div><div><br>On Dec 24, 2013, at 5:02 PM, "Oleg Gelbukh" <<a href="mailto:ogelbukh@mirantis.com">ogelbukh@mirantis.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr">Hello, Leslie<div><br></div><div>There seem to be some misnotation in this picture, in steps #2 and #4-7. In #2, the 'node' means 'instance of nova-compute' which should handle the request, and nova-scheduler selects that instance of nova-compute.</div>
<div><br></div><div>In #4 and #7, however, the 'node' means bare-metal server under management of that compute node. That server is actually provisioned as an instance of bare-metal cloud. It is assumed that all servers under management of single instance of nova-compute are equal. Ironic does not perfrom any scheduling or selection of bare-metal servers on its side, just picks the first one.</div>
<div><br></div><div>Ironic is considered to be a back-end to virt driver of Nova. That is why nova-compute service talks to Ironic API, just as it talks to vCenter API, for example, when VMWare is used as a virt back-end.</div>
<div><br></div><div>Hope it helps to clarify the picture.</div><div><br></div><div>--</div><div>Best regards,</div><div>Oleg Gelbukh</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 24, 2013 at 12:28 PM, LeslieWang <span dir="ltr"><<a href="mailto:wqyuwss@hotmail.com" target="_blank">wqyuwss@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">Hi All,<div><br></div><div>I'm investigating Ironic recently, and found below diagram describing the workflow between nova and ironic. I have one questions about step #4, #7. <span style="font-size:12pt">Why it is invoked by Nova Compute, not Nova Scheduler. Ironic is used to power on baremetal server, and deploy image. Seems like nova compute should be installed after this call. So I guess this call should be initiated from Nova Scheduler through either synchronous ironic API call, or asynchronous message queue. </span></div>
<div><br></div><div><div style="display:inline-block"><span> </span><div style="display:inline-block"><wentian2-1024x415.png></div><span> </span></div><br></div><div><div style="display:inline-block">
<span><br></span></div></div><div>Can anyone please answer this question? Your input is highly appreciated.</div><div><br></div><div>Best Regards</div><div>Leslie</div> </div></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>OpenStack-dev mailing list</span><br><span><a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a></span><br><span><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></span><br></div></blockquote></body></html>