Updates:
Labels: -Priority-Critical Priority-Medium
Comment #5 on issue 759 by [email protected]: Add consistency checks
(VerifyConfig) to WConfD
http://code.google.com/p/ganeti/issues/detail?id=759
Basic checking done in the following patch series.
Since the other checks are still performed in Python, this issue isn't
currently critical.
commit aafd5cea35b4d92597a41f0f775357085fdab8ce
Author: Petr Pudlak <[email protected]>
Date: Wed Jun 25 12:54:42 2014 +0200
Remove duplicate Python configuration checks
.. that are now implemented in WConfd.
While this means that the configuration won't be checked for offline
operations, it will be checked by WConfd as soon as it starts.
Signed-off-by: Petr Pudlak <[email protected]>
Reviewed-by: Klaus Aehlig <[email protected]>
commit bba4feccfba94ac5634262e60707fbc75d1cb42c
Author: Petr Pudlak <[email protected]>
Date: Wed Jun 25 11:39:10 2014 +0200
Verify the configuration in WConfd every time it's uploaded
Since currently for most operations WConfd receives the whole
configuration from Python jobs, it makes sense to verify it in every
such call. This won't be necessary when WConfd will implement
ConfigWriter operations internally.
Also expose the verification function as a RPC call and use it when
explicitly verifying the configuration. Later this call will replace the
Python verification completely.
Signed-off-by: Petr Pudlak <[email protected]>
Reviewed-by: Klaus Aehlig <[email protected]>
commit 301d1fcbbf0034ea6a465f5cf05299827d548b74
Author: Petr Pudlak <[email protected]>
Date: Wed Jun 25 12:58:27 2014 +0200
Let WConfd verify the configuration on startup
.. and while at it, format the error messages properly.
Signed-off-by: Petr Pudlak <[email protected]>
Reviewed-by: Klaus Aehlig <[email protected]>
commit 90c83cdbaf162c5a5ed3a6ba1e0ada12c118a0b3
Author: Petr Pudlak <[email protected]>
Date: Wed Jun 25 11:37:07 2014 +0200
Add a module for WConfd configuration verification checks
Currently it does only some basic checking, like valid UUIDs.
Signed-off-by: Petr Pudlak <[email protected]>
Reviewed-by: Klaus Aehlig <[email protected]>
commit e8a1f062dad011fda25b8d48a7fd9f39bbbac4fa
Author: Petr Pudlak <[email protected]>
Date: Wed Jun 25 11:34:31 2014 +0200
Add runValidate for running a pure validation monad value
This complements runValidateT for the validation monad transformer.
Signed-off-by: Petr Pudlak <[email protected]>
Reviewed-by: Klaus Aehlig <[email protected]>
commit 79bf3209bdef3d36dc1ce205dbef30ed44d406f8
Author: Petr Pudlak <[email protected]>
Date: Wed Jun 25 11:32:50 2014 +0200
Add an exception for configuration verification errors
In addition to ConfigurationError it contains a list of messages
collected by the verification process.
It will be used to report any verification errors in WConfd to the
Python code.
Signed-off-by: Petr Pudlak <[email protected]>
Reviewed-by: Klaus Aehlig <[email protected]>
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings