<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">It is true that IPA and FuelAgent share a lot of functionality in common. However there is a major difference between them which is that they are intended to be used to solve a different problem.<div class=""><br class=""></div><div class="">IPA is a solution for provision-use-destroy-use_by_different_user use-case and is really great for using it for providing BM nodes for other OS services or in services like Rackspace OnMetal. FuelAgent itself serves for provision-use-use-…-use use-case like Fuel or TripleO have.</div><div class=""><br class=""></div><div class="">Those two use-cases require concentration on different details in first place. For instance for IPA proper decommissioning is more important than advanced disk management, but for FuelAgent priorities are opposite because of obvious reasons.</div><div class=""><br class=""></div><div class="">Putting all functionality to a single driver and a single agent may cause conflicts in priorities and make a lot of mess inside both the driver and the agent. Actually previously changes to IPA were blocked right because of this conflict of priorities. Therefore replacing FuelAgent by IPA in where FuelAgent is used currently does not seem like a good option because come people (and I’m not talking about Mirantis) might loose required features because of different priorities.</div><div class=""><br class=""></div><div class="">Having two separate drivers along with two separate agents for those different use-cases will allow to have two independent teams that are concentrated on what’s really important for a specific use-case. I don’t see any problem in overlapping functionality if it’s used differently.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">P. S.</div><div class="">I realise that people may be also confused by the fact that FuelAgent is actually called like that and is used only in Fuel atm. Our point is to make it a simple, powerful and what’s more important a generic tool for provisioning. It is not bound to Fuel or Mirantis and if it will cause confusion in the future we will even be happy to give it a different and less confusing name.</div><div class=""><br class=""></div><div class="">P. P. S.</div><div class="">Some of the points of this integration do not look generic enough or nice enough. We look pragmatic on the stuff and are trying to implement what’s possible to implement as the first step. For sure this is going to have a lot more steps to make it better and more generic.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On 09 Dec 2014, at 01:46, Jim Rollenhagen <<a href="mailto:jim@jimrollenhagen.com" class="">jim@jimrollenhagen.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">On December 8, 2014 2:23:58 PM PST, Devananda van der Veen <</span><a href="mailto:devananda.vdv@gmail.com" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">devananda.vdv@gmail.com</a><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">> wrote:</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">I'd like to raise this topic for a wider discussion outside of the<br class="">hallway<br class="">track and code reviews, where it has thus far mostly remained.<br class=""><br class="">In previous discussions, my understanding has been that the Fuel team<br class="">sought to use Ironic to manage "pets" rather than "cattle" - and doing<br class="">so<br class="">required extending the API and the project's functionality in ways that<br class="">no<br class="">one else on the core team agreed with. Perhaps that understanding was<br class="">wrong<br class="">(or perhaps not), but in any case, there is now a proposal to add a<br class="">FuelAgent driver to Ironic. The proposal claims this would meet that<br class="">teams'<br class="">needs without requiring changes to the core of Ironic.<br class=""><br class=""><a href="https://review.openstack.org/#/c/138115/" class="">https://review.openstack.org/#/c/138115/</a><br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">I think it's clear from the review that I share the opinions expressed in this email.<span class="Apple-converted-space"> </span></span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">That said (and hopefully without derailing the thread too much), I'm curious how this driver could do software RAID or LVM without modifying Ironic's API or data model. How would the agent know how these should be built? How would an operator or user tell Ironic what the disk/partition/volume layout would look like?</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">And before it's said - no, I don't think vendor passthru API calls are an appropriate answer here.<span class="Apple-converted-space"> </span></span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">// jim</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class="">The Problem Description section calls out four things, which have all<br class="">been<br class="">discussed previously (some are here [0]). I would like to address each<br class="">one,<br class="">invite discussion on whether or not these are, in fact, problems facing<br class="">Ironic (not whether they are problems for someone, somewhere), and then<br class="">ask<br class="">why these necessitate a new driver be added to the project.<br class=""><br class=""><br class="">They are, for reference:<br class=""><br class="">1. limited partition support<br class=""><br class="">2. no software RAID support<br class=""><br class="">3. no LVM support<br class=""><br class="">4. no support for hardware that lacks a BMC<br class=""><br class="">#1.<br class=""><br class="">When deploying a partition image (eg, QCOW format), Ironic's PXE deploy<br class="">driver performs only the minimal partitioning necessary to fulfill its<br class="">mission as an OpenStack service: respect the user's request for root,<br class="">swap,<br class="">and ephemeral partition sizes. When deploying a whole-disk image,<br class="">Ironic<br class="">does not perform any partitioning -- such is left up to the operator<br class="">who<br class="">created the disk image.<br class=""><br class="">Support for arbitrarily complex partition layouts is not required by,<br class="">nor<br class="">does it facilitate, the goal of provisioning physical servers via a<br class="">common<br class="">cloud API. Additionally, as with #3 below, nothing prevents a user from<br class="">creating more partitions in unallocated disk space once they have<br class="">access to<br class="">their instance. Therefor, I don't see how Ironic's minimal support for<br class="">partitioning is a problem for the project.<br class=""><br class="">#2.<br class=""><br class="">There is no support for defining a RAID in Ironic today, at all,<br class="">whether<br class="">software or hardware. Several proposals were floated last cycle; one is<br class="">under review right now for DRAC support [1], and there are multiple<br class="">call<br class="">outs for RAID building in the state machine mega-spec [2]. Any such<br class="">support<br class="">for hardware RAID will necessarily be abstract enough to support<br class="">multiple<br class="">hardware vendor's driver implementations and both in-band creation (via<br class="">IPA) and out-of-band creation (via vendor tools).<br class=""><br class="">Given the above, it may become possible to add software RAID support to<br class="">IPA<br class="">in the future, under the same abstraction. This would closely tie the<br class="">deploy agent to the images it deploys (the latter image's kernel would<br class="">be<br class="">dependent upon a software RAID built by the former), but this would<br class="">necessarily be true for the proposed FuelAgent as well.<br class=""><br class="">I don't see this as a compelling reason to add a new driver to the<br class="">project.<br class="">Instead, we should (plan to) add support for software RAID to the<br class="">deploy<br class="">agent which is already part of the project.<br class=""><br class="">#3.<br class=""><br class="">LVM volumes can easily be added by a user (after provisioning) within<br class="">unallocated disk space for non-root partitions. I have not yet seen a<br class="">compelling argument for doing this within the provisioning phase.<br class=""><br class="">#4.<br class=""><br class="">There are already in-tree drivers [3] [4] [5] which do not require a<br class="">BMC.<br class="">One of these uses SSH to connect and run pre-determined commands. Like<br class="">the<br class="">spec proposal, which states at line 122, "Control via SSH access<br class="">feature<br class="">intended only for experiments in non-production environment," the<br class="">current<br class="">SSHPowerDriver is only meant for testing environments. We could<br class="">probably<br class="">extend this driver to do what the FuelAgent spec proposes, as far as<br class="">remote<br class="">power control for cheap always-on hardware in testing environments with<br class="">a<br class="">pre-shared key.<br class=""><br class="">(And if anyone wonders about a use case for Ironic without external<br class="">power<br class="">control ... I can only think of one situation where I would rationally<br class="">ever<br class="">want to have a control-plane agent running inside a user-instance: I am<br class="">both the operator and the only user of the cloud.)<br class=""><br class=""><br class="">----------------<br class=""><br class="">In summary, as far as I can tell, all of the problem statements upon<br class="">which<br class="">the FuelAgent proposal are based are solvable through incremental<br class="">changes<br class="">in existing drivers, or out of scope for the project entirely. As<br class="">another<br class="">software-based deploy agent, FuelAgent would duplicate the majority of<br class="">the<br class="">functionality which ironic-python-agent has today.<br class=""><br class="">Ironic's driver ecosystem benefits from a diversity of<br class="">hardware-enablement<br class="">drivers. Today, we have two divergent software deployment drivers which<br class="">approach image deployment differently: "agent" drivers use a local<br class="">agent to<br class="">prepare a system and download the image; "pxe" drivers use a remote<br class="">agent<br class="">and copy the image over iSCSI. I don't understand how a second driver<br class="">which<br class="">duplicates the functionality we already have, and shares the same goals<br class="">as<br class="">the drivers we already have, is beneficial to the project.<br class=""><br class="">Doing the same thing twice just increases the burden on the team; we're<br class="">all<br class="">working on the same problems, so let's do it together.<br class=""><br class="">-Devananda<br class=""><br class=""><br class="">[0]<br class=""><a href="https://blueprints.launchpad.net/ironic/+spec/ironic-python-agent-partition" class="">https://blueprints.launchpad.net/ironic/+spec/ironic-python-agent-partition</a><br class=""><br class="">[1] https://review.openstack.org/#/c/107981/<br class=""><br class="">[2]<br class="">https://review.openstack.org/#/c/133828/11/specs/kilo/new-ironic-state-machine.rst<br class=""><br class=""><br class="">[3]<br class="">http://git.openstack.org/cgit/openstack/ironic/tree/ironic/drivers/modules/snmp.py<br class=""><br class="">[4]<br class="">http://git.openstack.org/cgit/openstack/ironic/tree/ironic/drivers/modules/iboot.py<br class=""><br class="">[5]<br class="">http://git.openstack.org/cgit/openstack/ironic/tree/ironic/drivers/modules/ssh.py<br class=""><br class=""><br class="">------------------------------------------------------------------------<br class=""><br class="">_______________________________________________<br class="">OpenStack-dev mailing list<br class=""><a href="mailto:OpenStack-dev@lists.openstack.org" class="">OpenStack-dev@lists.openstack.org</a><br class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class=""></blockquote><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">OpenStack-dev mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:OpenStack-dev@lists.openstack.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">OpenStack-dev@lists.openstack.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a></div></blockquote></div><br class=""></div></body></html>