Adding Attribute to Nova Hosts
I have a need to add attributes to nova hosts to pull data from other, internal systems to display to users in Horizon. Think of the attribute sort of like a foreign key. I was wondering what is the best way to go about doing this? I looked at the compute_nodes table in the nova database and thought I'd add the required column there (or a meta_data column and possibly push the change to the project for use by others in case anyone else needs to relate arbitrary data to a host), but then I saw the compute_node_stats table and how it's a key/value table and thought to add it there, instead, which would be way less invasive. Does this seem like a reasonable approach? Is there some other way of getting this accomplished that I haven't thought of?