Implement getDisks in Confd
Add 'ReqInstDisks' request type and allow Confd to query for the disksof an instance. The helper function 'getInstDisks' returns the listof instances on the given node along with their disks and isused by the function 'addInstNameToLv'....
Use 'getInstDisks' function to retrieve the disks
Change Haskell's Query code to use Config's 'getInstDisks' function inorder to retrieve the instance's disks.
Signed-off-by: Ilias Tsitsimpis <iliastsi@grnet.gr>
Hs2Py constants: add 'Ganeti.Confd' types
Hs2Py constants: add 'Ganeti.Confd' types.
Signed-off-by: Jose A. Lopes <jabolopes@google.com>Reviewed-by: Thomas Thrainer <thomasth@google.com>
Update reference to proper module
Update reference to constant 'confdMagicFourcc' to fetch its valuefrom 'Ganeti.Constants' instead of the re-export from module'Ganeti.Confd.Types'.
Move confd request constants to 'Ganeti.ConstantUtils'
Let ReqNodeInstances work with node UUIDs
The "primaryNode" and "secondaryNode" fields of "Instance" entities in thecluster configuration where changed to use UUIDs instead of names. TheReqNodeInstances query inside Confd was not upgraded yet, and was thus...
Add debug logging to Confd
Knowing the replies actually sent helps tracking down problems much moreefficiently.
Signed-off-by: Michele Tartara <mtartara@google.com>Reviewed-by: Helga Velroyen <helgav@google.com>
Merge branch 'stable-2.8' into stable-2.9
Add queryd daemon (split from confd)
queryd is added as a new daemon which handles configuration queries overLUXI. This functionality was removed from confd, which now only queriesover the network.
The queryd user is added to the master group such that it can access...
Extract ConfigReader from Confd/Server.hs
Confd's functionality to watch the Ganeti configuration file isextracted to the ConfigReader module. No functional changes areintroduced.
This extraction makes will enable us to split queryd from confd, asqueryd will have to use the same functionality....
View revisions
Also available in: Atom