-
Notifications
You must be signed in to change notification settings - Fork 794
Remove EOL platforms Debian 8 and Ubuntu 14.04 #1406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
mysql::backup::mysqlbackup is a classthat may have no external impact to Forge modules. mysql::backup::mysqldump is a classthat may have no external impact to Forge modules. mysql::backup::xtrabackup is a classthat may have no external impact to Forge modules. mysql::params is a classBreaking changes to this file WILL impact these 2 modules (exact match):Breaking changes to this file MAY impact these 1 modules (near match):This module is declared in 143 of 576 indexed public
|
This PR removes Ubuntu 14.04 and Debian 8 as both are EOL. It also removes references to RedHat 5 which is already not supported by the module. It adds Ubuntu 20.04 to the metadata as it seems it is already supported in the module with tests and data. |
There are other platforms that should be evaluated as they are not listed in the metadata and it is unclear as to which versions of the platform are even supported. Suggest officially removing support for these.
|
@@ -367,7 +367,7 @@ This example shows how to install the MariaDB client and all of the bindings at | |||
Specify the version of the package you want with the `package_ensure` parameter. | |||
|
|||
```puppet | |||
class {'::mysql::client': | |||
class { 'mysql::client': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file is just style updates I missed on the last pass
@@ -123,28 +123,24 @@ | |||
'Suse': { | |||
case $::operatingsystem { | |||
'OpenSuSE': { | |||
if versioncmp( $::operatingsystemmajrelease, '12' ) >= 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
12 is the smallest version we support (we support 12 and 15) so no need for the comparison.
@@ -153,31 +149,13 @@ | |||
$config_file = '/etc/my.cnf' | |||
$includedir = '/etc/my.cnf.d' | |||
$datadir = '/var/lib/mysql' | |||
$log_error = $::operatingsystem ? { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already a conditional above, so removing this pattern and adding to the correct block above.
$client_dev_package_name = 'libmysqlclient-devel' | ||
$daemon_dev_package_name = 'mysql-devel' | ||
} | ||
|
||
'Debian': { | ||
if $::operatingsystem == 'Debian' and versioncmp($::operatingsystemrelease, '9') >= 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We support Debian 9 and 10 so all Debian is at least version 9 :)
Something to note as you will run into it is that we are currently facing issues testing Debian/Ubuntu. Which is why the Debian tests are not running and there are failures in your Ubuntu tests. 👎 It is something we have ticketed up but just haven't had the bandwidth to get around to yet, we are working on prioritizing and getting it worked on but cannot commit to a date for now. Issue is ticketed here: https://tickets.puppetlabs.com/browse/IAC-1595 |
@pmcmaw Does this mean this PR is on hold until that ticket is resolved or can we proceed with merging this? What about these other unsupported platforms that are making the code more complex? Can we remove them? |
The errors below are unrelated to this PR and were introduced with commit 8413dbe
|
At least Solaris and Amazon Linux are listed as PE supported agent platforms. Dunno of the exact history though. But I guess Solaris wasn't supported at the time of #774 ?? I'm also not keen on removing the unofficial support for non EOL OSes like ArchLinux. I imagine @bastelfreak will be less keen still! :) |
@ghoneycutt we will proceed, we shouldn't let known issues stop the development of a module. Compatible - It works with the code base, but if something goes wrong Puppet will not provide support |
@alexjfisher but what versions of Solaris and Amazon? :) @pmcmaw This approach of Compatible and Supported is not great because it encourages baggage like this module has which makes maintaining it and refactoring it much more difficult and does not provide a way to test that compatibility even works. All that said.. I wanted to get the conversation around this going and that is happening 🎉 This PR though is ready for merge as it is just removing the EOL platforms Debian 8 and Ubuntu 14.04. |
These are fine, they are actually marked as pending so wont affect the test suite. |
@pmcmaw The spec tests are failing here instead of being pending as they are locally. The other failing tests are the known issues. We good to merge? |
mysql::backup::mysqlbackup is a classthat may have no external impact to Forge modules. mysql::backup::mysqldump is a classthat may have no external impact to Forge modules. mysql::backup::xtrabackup is a classthat may have no external impact to Forge modules. mysql::params is a classBreaking changes to this file WILL impact these 2 modules (exact match):Breaking changes to this file MAY impact these 1 modules (near match):This module is declared in 143 of 576 indexed public
|
mysql::backup::mysqlbackup is a classthat may have no external impact to Forge modules. mysql::backup::mysqldump is a classthat may have no external impact to Forge modules. mysql::backup::xtrabackup is a classthat may have no external impact to Forge modules. mysql::params is a classBreaking changes to this file WILL impact these 2 modules (exact match):Breaking changes to this file MAY impact these 1 modules (near match):This module is declared in 143 of 576 indexed public
|
Would it be possible to remove Ubuntu20 from the metadata.json as currently we don't want it running on CI with the known issues that are currently raised against it. Im unsure as to why the other Ubuntu OSs are currently failing in this PR as they are passing against main in the nightly run. If you maybe try rebasing? Last nights nightly run: https://github.com/puppetlabs/puppetlabs-mysql/actions/runs/999406897 |
@pmcmaw I removed Ubuntu 20 from the metadata as you asked and rebased. |
Thanks @ghoneycutt I was hoping that rebasing sorted your Ubuntu errors. But it hasn't and last nights nightly ran green on main therefore it suggests there is somewhere in the logic something is going wrong. 👎 Im unable to merge until all of the above OSs are running green. |
@pmcmaw all green :) |
Im happy with the changes from my end, @alexjfisher just wanting to check if you happy enough for me to merge as I can see you commented earlier in the thread :-) |
Alex was just commenting on my proposal for removing OS's that are not officially supported. This is ready for merge. |
No description provided.