[Rdo-list] [rhos-dev] [RDO-Manager] Rewriting instack scripts into python? Why?

James Slagle jslagle at redhat.com
Thu Apr 23 11:06:24 UTC 2015


On Thu, Apr 23, 2015 at 09:30:13AM +0200, Dmitry Tantsur wrote:
> On 04/23/2015 08:06 AM, Jaromir Coufal wrote:
> 
> I don't see it a plus tbh, there's no point in showing a person details
> he/she don't care about.
> 
> One particular problem is that flavor should match Ironic node data (=
> something introspected automagically), not real data. And yes, they differ.
> Due to Ironic partitioning limitations we have to -1 actual disk size.
> 
> That's why I proposed an RFE to create flavors automatically:
> https://bugzilla.redhat.com/show_bug.cgi?id=1214343

os-cloud-config already has the functionality to create flavors based on nodes
definition. It takes the node definitions from a json file though instead of
querying Ironic. However, there is also code already that uses that same json
file to register the nodes in Ironic, so it would be a simple enhancement I'd
think to make it query Ironic for the nodes definition.

Can you take a look and see if this is what you had in mind? I'd propose
driving this feature request in os-cloud-config directly.

--
-- James Slagle
--




More information about the dev mailing list