Code Monkey home page Code Monkey logo

Comments (4)

ctdk avatar ctdk commented on August 15, 2024

It's probably not a huge deal, but I'm curious where that's coming from. Do you have any idea what might be causing it?

from goiardi.

rmoriz avatar rmoriz commented on August 15, 2024

I see the same log entry. It may be caused by

n.n.n.n - - [18/Jun/2020:12:19:01 +0000] "POST /data-collector HTTP/1.1" 200 0 "-" "Chef Client/16.1.16 (r
uby-2.7.1-p83; ohai-16.1.1; x86_64-linux; +https://gitlab.com/cinc-project/organization-subjects/wikis/home)" "-"

It happens when chef 16 (or cinc) starts and POSTs to this endpoint

from goiardi.

rmoriz avatar rmoriz commented on August 15, 2024

As far as I can see, goiardi does not implement the POST /data-collector endpoint but maps all /data to the data handler, which then produces the message.

I was able to work around the issue by disabling data collection on the chef-client in client.rb:

client.rb

data_collector.output_locations nil
data_collector.server_url nil

When using chef-client cookbook to render the client.rb one could use the following attributes to get the config settings mentioned above:

  default['chef_client']['config']['data_collector.server_url'] = nil
  default['chef_client']['config']['data_collector.output_locations']  = nil

from goiardi.

ctdk avatar ctdk commented on August 15, 2024

Aha, thank you for digging that up @rmoriz. I'll see what I can do about that endpoint.

from goiardi.

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.