Skip to content
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

chef-client runs with version 18.x get a EOL warning #14365

Open
Ladybiss opened this issue May 1, 2024 · 7 comments
Open

chef-client runs with version 18.x get a EOL warning #14365

Ladybiss opened this issue May 1, 2024 · 7 comments
Assignees
Labels
Chef 18.5 Triage: Confirmed Indicates and issue has been confirmed as described.

Comments

@Ladybiss
Copy link

Ladybiss commented May 1, 2024

Description

on 18.4.12, the last published version, chef-client run gives a EOL warning:

[2024-05-01T11:47:05+00:00] WARN: This release of Chef Infra Client became end of life (EOL) on May 1st 2024. Please update to a supported release to receive new features, bug fixes, and security updates.

Chef Version

18.4.12 or 18.4.2

Platform Version

Ubuntu 22.04

Replication Case

See: https://github.com/chef/chef/blob/main/lib/chef/client.rb#L339

    def warn_if_eol
      require_relative "version"

      # We make a release every year so take the version you're on + 2006 and you get
      # the year it goes EOL
      eol_year = 2006 + Gem::Version.new(Chef::VERSION).segments.first

      if Time.now > Time.new(eol_year, 5, 01)
        logger.warn("This release of #{ChefUtils::Dist::Infra::PRODUCT} became end of life (EOL) on May 1st #{eol_year}. Please update to a supported release to receive new features, bug fixes, and security updates.")
      end
    end

Client Output

[2024-05-01T11:47:05+00:00] WARN: This release of Chef Infra Client became end of life (EOL) on May 1st 2024. Please update to a supported release to receive new features, bug fixes, and security updates.

Stacktrace

@Ladybiss Ladybiss added the Status: Untriaged An issue that has yet to be triaged. label May 1, 2024
@YorithTheDreamer
Copy link

Can confirm, this is happening on every run on my end as well.

@Stromweld Stromweld mentioned this issue May 1, 2024
11 tasks
@the6thBook
Copy link

RHEL9 as well

@nareshsukhija
Copy link

This happens on every run for all current RHEL versions (7/8/9), kindly treat this as an urgent issue.

@breisig
Copy link

breisig commented May 10, 2024

This is a HUGE issue on RHEL 9...

@blackknight36
Copy link

Seeing the same message on Ubuntu 20.04.

@breisig
Copy link

breisig commented May 14, 2024

This should be simple remove and a quick release needs to happen.

@tpowell-progress tpowell-progress added the Triage: Confirmed Indicates and issue has been confirmed as described. label May 21, 2024
@tpowell-progress tpowell-progress self-assigned this May 21, 2024
@tpowell-progress tpowell-progress added Chef 18.5 and removed Status: Untriaged An issue that has yet to be triaged. labels May 21, 2024
@tpowell-progress
Copy link
Contributor

This should be in our next 18 release. Release date still pending.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Chef 18.5 Triage: Confirmed Indicates and issue has been confirmed as described.
Projects
None yet
Development

No branches or pull requests

7 participants