Updates:
        Status: Fixed

Comment #5 on issue 739 by [email protected]: Determine what configuration changes must be fully distributed before finishing the call
http://code.google.com/p/ganeti/issues/detail?id=739

Fixed in:

commit 01a8d30063b296f5d997dc9689e4448fbf609525
Author: Petr Pudlak <[email protected]>
Date:   Fri May 16 10:52:10 2014 +0200

    Don't synchronize the configuration on DropECReservations

    The call doesn't modify the configuration state, only the reservations.
    And after moving reservations to WConfd, the reservations state will be
    locked just internally by WConfd.

    Since this method is called at the end of any job in mcpu, synchronizing
    the configuration caused it to be updated in WConfd, even if the job was
    read-only.
    In particular, "gnt-cluster verify" with multiple node groups often
    failed because of this, when verifying configuration consistency.

    Signed-off-by: Petr Pudlak <[email protected]>
    Reviewed-by: Klaus Aehlig <[email protected]>

commit 63324095de95737857372531bdb62821cfd455cd
Author: Petr Pudlak <[email protected]>
Date:   Fri May 16 10:51:11 2014 +0200

    Use Luxid for querying cluster tags instead of SSConf

    Not only there is no reason to use SSConf for that.
    Using it caused problems and failed tests as the query didn't get the
    latest information due to distribution delays.

    Signed-off-by: Petr Pudlak <[email protected]>
    Reviewed-by: Klaus Aehlig <[email protected]>

commit 68dd510b2b5557cc9fbb9e08a31cab76f9760d8c
Author: Petr Pudlak <[email protected]>
Date:   Wed May 14 09:44:15 2014 +0200

    Bump serial numbers in ConfigWriter only in offline mode

    Otherwise, WConfd takes care of it.

    Signed-off-by: Petr Pudlak <[email protected]>
    Reviewed-by: Klaus Aehlig <[email protected]>

commit 30f011c4f54511243d8b468ab56ef7800616f8ca
Author: Petr Pudlak <[email protected]>
Date:   Tue May 13 15:31:44 2014 +0200

    Chain the workers for saving and distributing configuration

    The worker that saves the configuration now also calls the workers for
    its distribution. It accepts an argument that determines, if the
    configuration needs to be fully distributed, and the distribution
    workers are triggered accordingly.

    Signed-off-by: Petr Pudlak <[email protected]>
    Reviewed-by: Klaus Aehlig <[email protected]>

commit d546d209248297b1d76e198fbdd9d4ca75147a1f
Author: Petr Pudlak <[email protected]>
Date:   Wed May 14 09:33:49 2014 +0200

    Add a function for bumping the serial number to WConfd

    .. and also add a lens for 'csConfigData'.

    Signed-off-by: Petr Pudlak <[email protected]>
    Reviewed-by: Klaus Aehlig <[email protected]>

commit be751ab9e79017f7eab1173f4e400da078df6966
Author: Petr Pudlak <[email protected]>
Date:   Tue May 13 15:27:14 2014 +0200

    Add comparison of configurations for distribution to MCs

    .. and SSConf. The function determines, if the configuration needs to be
    fully distributed before finishing a modification call or not.

    Signed-off-by: Petr Pudlak <[email protected]>
    Reviewed-by: Klaus Aehlig <[email protected]>

commit 4bd16f46e05541e81188e38af6f58e16cb4b62fe
Author: Petr Pudlak <[email protected]>
Date:   Tue May 13 12:49:09 2014 +0200

    Add parameters to calls to asynchronous workers

    Since a worker accumulates several request together, the type of a
    parameter must be a monoid so that the requests can be combined into one
    value used for running the worker's action.

    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

Reply via email to