~landscape/landscape-client/trunk

Viewing all changes in revision 790.

Merge landscape-config-dont-restart-twice [f=1376134] [r=benji,tealeg] [a=Free Ekanayaka]
This branch fixes two issues happening when switching a client
between servers.

1) Stop landscape-config from sending the reload_config() command to
   the broker, since the script has already restarted all services
   just a few moments before. This prevents the first exchange from
   happening without the monitor fully started, hence missing the
   server-uuid-change that the broker broadcasts and that the monitor
   is supposed to handle in order to clear the local hash-id map.

2) Make the Exchange downgrade the API server version currently in use
   if it gets a 404 from the server. This can happen for example if
   a client registered against a newer server is switched to an older
   server that doesn't support the same API version that the new one does.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: