This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Ganeti core".
The branch, master has been updated
via 6bf9c06adcef3413511de975f177f7946238e6ed (commit)
via ee7e56c249b313d9b5139b707f936c7f79c229e0 (commit)
via 281aa41e4b94af7b2f6d36474b5e319086adaa16 (commit)
via e1f6b061635442923a4b5a3d51b924b7d9325b37 (commit)
via 64d4ec34e0c54423f51e1cb7cb2dfd7864a32612 (commit)
via 482aef46adfcf1fd6c8a5f2cf9ac49379e0f6bc8 (commit)
via abc0655ea98d9a4bc386c91c89d549828a785f5d (commit)
from 59f31b6f729b96e39c237db4785ffd1481210b0b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 6bf9c06adcef3413511de975f177f7946238e6ed
Author: Klaus Aehlig <[email protected]>
Date: Thu Nov 6 17:30:36 2014 +0100
Add instances to the configuration directly via WConfD
Make jobs adding instances do so by means of the corresponding
WConfD function. In this way, no long-lived config lock has to
be acquired.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Aaron Karper <[email protected]>
commit ee7e56c249b313d9b5139b707f936c7f79c229e0
Author: Klaus Aehlig <[email protected]>
Date: Thu Nov 6 16:20:34 2014 +0100
Make WConfD export a function to add an instance
This function handles all the configuration modifications
necessary: it adds the instance to the list of instances,
drops the DRBD minor reservations, and commits the temporary
IPs.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Aaron Karper <[email protected]>
commit 281aa41e4b94af7b2f6d36474b5e319086adaa16
Author: Klaus Aehlig <[email protected]>
Date: Mon Nov 10 14:15:06 2014 +0100
Extend config modification to depend on TempRes
Extend modifyConfigWithLock so that the config modification
may also depend on the state of the temporary reservations.
This is needed, e.g., to commit temporary IP reservations.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Aaron Karper <[email protected]>
commit e1f6b061635442923a4b5a3d51b924b7d9325b37
Author: Klaus Aehlig <[email protected]>
Date: Fri Nov 7 17:21:18 2014 +0100
Extend modifyConfig to also modify TempResState
Extend the modifyConfig function to also support modifications
of the state of temporary reservations.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Aaron Karper <[email protected]>
commit 64d4ec34e0c54423f51e1cb7cb2dfd7864a32612
Author: Klaus Aehlig <[email protected]>
Date: Tue Nov 4 16:46:26 2014 +0100
Support config-changes with temporary ConfigLock
Support changes of the configuration with a temporarily acquired
configuration lock. This can be used to support requests to directly
change parts of the configuration.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Aaron Karper <[email protected]>
commit 482aef46adfcf1fd6c8a5f2cf9ac49379e0f6bc8
Author: Klaus Aehlig <[email protected]>
Date: Fri Nov 7 16:37:26 2014 +0100
Move unpacking of config-change to a separate function
In this way, the logic of determining whether the configuration needs
to be distributed, as well as the implicit serial numb can be shared
with other functions.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Aaron Karper <[email protected]>
commit abc0655ea98d9a4bc386c91c89d549828a785f5d
Author: Klaus Aehlig <[email protected]>
Date: Wed Nov 5 17:07:01 2014 +0100
Add prefix for WConfD livelock file name
WConfD will also need a livelock to request locks in its
own name, e.g., when providing short-lived locks.
Signed-off-by: Klaus Aehlig <[email protected]>
Reviewed-by: Aaron Karper <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
Makefile.am | 1 +
lib/config.py | 13 ++---
src/Ganeti/Constants.hs | 4 +
src/Ganeti/WConfd/ConfigModifications.hs | 83 ++++++++++++++++++++++++++
src/Ganeti/WConfd/Core.hs | 4 +-
src/Ganeti/WConfd/Monad.hs | 92 ++++++++++++++++++++++++-----
src/Ganeti/WConfd/Server.hs | 4 +
test/py/cmdlib/testsupport/config_mock.py | 11 ++++
8 files changed, 189 insertions(+), 23 deletions(-)
create mode 100644 src/Ganeti/WConfd/ConfigModifications.hs
hooks/post-receive
--
Ganeti core
--
---
You received this message because you are subscribed to the Google Groups
"ganeti-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.