Le lundi 10 juin 2013, à 17:44 +0100, Adam Spiers a écrit :
> Vincent Untz (vu...@suse.com) wrote:
> > Le jeudi 30 mai 2013, à 13:10 +0200, Vincent Untz a écrit :
> > > Hi,
> > > 
> > > While investigating a bug, I wondered about the differences between the
> > > "Delete" and "Reset" (which also seems to be called "Deallocate")
> > > actions in Crowbar.
> > > 
> > > The only doc I could really find is at
> > > https://github.com/crowbar/travis-ci-crowbar/blob/master/barclamps/crowbar/doc/userguide/using-crowbar.md
> > > and it says:
> > > 
> > > Delete: Completely removes all records of the node from the Crowbar/Chef
> > > database. If a node is deleted, it is rediscovered when it reboots.
> > > 
> > > Reset: Removes all the roles assigned to the node and re-image it back
> > > to an unallocated node.
> > > 
> > > Do I understand it right that Reset is more or less like Delete, except
> > > that it re-allocates the node on next discovery? If that's correct, the
> > > Deallocate name is, hrm, kind of weird because it's re-allocated. If
> > > that's not correct, then what's the difference?
> > 
> > So, nobody knows? I guess it means we should just drop deallocate in
> > that case ;-)
> 
> Does this help?
> 
> https://github.com/crowbar/barclamp-crowbar/commit/43aab2

Not really :-) What's the difference between:

"This will remove the current allocation from the node.  Any subsequent
allocation will rebuild the node from scratch, causing any data to be
lost."

and

"This will remove all records of the node from the Crowbar / Chef
database.  It will be rediscovered if it reboots."

In both cases, the node will be rebuilt from scratch next time it gets
allocated. Or does deallocate mean "if I'm reallocated, I will keep the
exact same roles as I had before", in which case this means "temporarily
disable".

Vincent

-- 
Les gens heureux ne sont pas pressés.

_______________________________________________
Crowbar mailing list
Crowbar@dell.com
https://lists.us.dell.com/mailman/listinfo/crowbar
For more information: http://crowbar.github.com/

Reply via email to