On Mon, Sep 21, 2009 at 03:29:05PM +0100, Guido Trotter wrote: > On Mon, Sep 21, 2009 at 3:25 PM, Iustin Pop <[email protected]> wrote: > > On Mon, Sep 21, 2009 at 03:22:29PM +0100, Guido Trotter wrote: > >> On Mon, Sep 21, 2009 at 3:14 PM, Iustin Pop <[email protected]> wrote: > >> > +Proposed changes part 1 > >> > ++++++++++++++++++++++++ > >> > + > >> > +We will change Ganeti to use UUIDs for entity tracking, but in a > >> > +staggered way. In 2.1, we will simply add an “uuid” attribute to each > >> > +of the instances, nodes and cluster itself. This will be reported on > >> > +instance creation for nodes, and on node adds for the nodes. It will > >> > +be of course avaiblable for querying via the OpQueryNodes/Instance and > >> > +cluster information, and via RAPI as well. > >> > + > >> > +Note that Ganeti will not provide any way to change this attribute. > >> > + > >> > +Upgrading from Ganeti 2.0 will add automatically uuids to all entities > >> > +missing them. > >> > + > >> > >> Looks good. Also, can at least some of these information (eg: uuid to > >> name mapping for nodes) be exported by ssconf? > > > > What would be most useful? ssconf_node_uuids? or extending the > > ssconf_node_ips to have "$name $uuid $ip"? > > Good question. I guess both! :) The second change is definitely useful > because if a node knows its own uuids (or another node's) it's better > to check for its IP using that, rather than the hostname. Or we could > just provide one > > hostname to uuid mapping > and change the node_ips (and other similar ones) to > uuid to ip > > what do you think?
Hmm, see hansmi's reply and decide. I'm not sure we already have scripts relying on that (no release yet with that key, right?) iustin
