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 Infra Client 18 is being marked as End Of Life as of May 1, 2024 #14370

Closed
jjperry opened this issue May 8, 2024 · 4 comments
Closed

Chef Infra Client 18 is being marked as End Of Life as of May 1, 2024 #14370

jjperry opened this issue May 8, 2024 · 4 comments
Labels
Status: Untriaged An issue that has yet to be triaged.

Comments

@jjperry
Copy link

jjperry commented May 8, 2024

Description

Chef Infra Client 18.x including 18.4.12 (the latest release available on the Chef Infra Client page) is reporting: 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

Platform Version

Linux
Windows

Replication Case

  1. Install any version of Chef Infra Client.
  2. Run chef-client

Client Output

[2024-05-08T19:02:28+00:00] WARN: This release of Chef Infra Client 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.

Stacktrace

None

@jjperry jjperry added the Status: Untriaged An issue that has yet to be triaged. label May 8, 2024
@jjperry
Copy link
Author

jjperry commented May 8, 2024

The code in question is client.rb.

I don't know the EOL plans for the Chef client releases, so I can't even suggest a change to this block as it would change the EOL message for multiple versions now and in the future.

      # 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

@fern4lvarez
Copy link

Duplicate of #14365, please close.

@jjperry
Copy link
Author

jjperry commented May 9, 2024

Closed. Duplicate of #14365

@jjperry jjperry closed this as completed May 9, 2024
@Asif-123
Copy link

$chef-client -zr "recipe[my-cookbook::recipe1]" not working in the latest chef infra version 18.4.12
which command uses to execute chef-client please help us

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Untriaged An issue that has yet to be triaged.
Projects
None yet
Development

No branches or pull requests

3 participants