Tried upgrading to the new landscape version and I was surprised by how poorly it went âŚ
I followed the limited instructions here:
https://ubuntu.com/landscape/docs/upgrade-landscape
and I want to highlight:
âDuring your upgrade, you may be asked if you want to replace your configuration file with a later version. Do not replace your configuration; you should keep your existing configuration file.â
After upgrading landscape, I restart it and some services failed to start, looking at the logs it was because there were no definitions for new parameters in /etc/landscape/service.conf
So I had to compare the service.conf file provided by the deb package and take some default values from there and put it into my service.conf file, the default values from it
I donât have the error messages anymore, since I had to revert my server to a previous version of landscape but it was a python configparser âsection not foundâ error error which I feel could have:
A) During postinst of landscape-server, if those sections donât exist in the config file, add them
B) Better error handling in the code âif section not in config: use defaultsâ
C) Stating in the upgrade documentation clearly that these new entries need to be defined
After adding those things, I get it working. great
Then I go to the new ârepositoriesâ tab, which ⌠is not just repositories, itâs a full UI, why not have a ânew ui / old uiâ slider or something or at least labeling that button correctly âŚ
and it doesnât work, that may have been my fault, I am running a modified apache config, it seemed to actually modify the default config, so I canât fault them on that really.
And at that point, I was somewhat annoyed but happy to have the new version up and running but then, it all comes crashing down, landscape is no longer capable of keeping my repoâs up to date and without that functionality it is abselutely useless to me ( this bug: Bug #2064622 âLandscape Server Upgrade 23.03 to 24.04 causes rep...â : Bugs : Landscape Server ).
after reading up on this a bit, I revert my landscape server to the previous version, however a lot of the client-servers had already been talking to the new landscape server, had upgraded the client âŚ
Now I donât know if the next part is because of the upgrade or the downgrade but I had a lot of clients not reporting into landscape, taking a closer look I see a lot of âname_of_serverâ that hasnât reported in for an hour and âname_of_server (clone)â that has reported in the last couple of minutes, I tried manually deleting some entries and stuff but doing that for a fleet of servers seemed like a daunting task so I created a removal profile, set it for the minimum time (1 day) and waited for 24 hours.
Thankfully, I have some custom monitoring to see if all hosts that should be registered, were and after all of this, I had a lot of servers that were no longer a part of landscape, I donât know if that is because of the upgrade, downgrade or manual efforts by me but I had to re-register a large number of servers and if I didnât have that monitoring in place, I might have missed that.
So overall experience of upgrading was terrible, I will not be upgrading this server to 24 until I create a test instance to try it on once the repo problem is solved