GithubHelp home page GithubHelp logo

Could someone help me in resolving the error below which I am getting while chef is trying to install datadog agent on AWS Ubuntu host. about chef-datadog HOT 7 CLOSED

jyotijazz avatar jyotijazz commented on June 9, 2024
Could someone help me in resolving the error below which I am getting while chef is trying to install datadog agent on AWS Ubuntu host.

from chef-datadog.

Comments (7)

jyotijazz avatar jyotijazz commented on June 9, 2024 1

Thank you so much for your help. The issue was that agent key was rotated on 2nd may and I updated it. It works fine now
https://docs.datadoghq.com/agent/guide/linux-agent-2022-key-rotation/?tab=debianubuntu

from chef-datadog.

julien-lebot avatar julien-lebot commented on June 9, 2024

Hi @jyotijazz
What version of the Agent did you specify in your recipe ?

from chef-datadog.

jyotijazz avatar jyotijazz commented on June 9, 2024

PFB metadata file.

name 'datadog'
maintainer 'Datadog'
maintainer_email '[email protected]'
license 'Apache-2.0'
description 'Installs/Configures datadog components'
long_description IO.read(File.join(File.dirname(FILE), 'README.md'))
version '4.4.0'
chef_version '>= 12.7'
source_url 'https://github.com/DataDog/chef-datadog'
issues_url 'https://github.com/DataDog/chef-datadog/issues'

from chef-datadog.

julien-lebot avatar julien-lebot commented on June 9, 2024

Thanks, your cookbook is not at the latest version but that shouldn't be a problem since it's only a couple of versions older.

Now, would you happen to know the Agent version you were trying to use with that cookbook ?
For instance did you use any of the agent_version or agent_major_version attributes ? See https://github.com/DataDog/chef-datadog#versions

from chef-datadog.

jyotijazz avatar jyotijazz commented on June 9, 2024

PFB. We have used nil at most of the places
image

from chef-datadog.

julien-lebot avatar julien-lebot commented on June 9, 2024

Alright, could you try to update your cookbook to the latest version ?
Also could you try running Chef-Client in debug logging mode using -l debug and see if you can capture the APT command and error message?

from chef-datadog.

julien-lebot avatar julien-lebot commented on June 9, 2024

Awesome, I'm going to close this issue for now, don't hesitate to re-open if you encounter any further issues !

from chef-datadog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.