GithubHelp home page GithubHelp logo

signalfx / ansible-signalfx-agent Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 4.0 14 KB

Install and Configure the SignalFx Smart Agent. (Partial mirror of https://github.com/signalfx/signalfx-agent. Do not edit manually.)

ansible-signalfx-agent's People

Contributors

jchengsfx avatar jeffreyc-splunk avatar prasadsfx avatar rmfitzpatrick avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ansible-signalfx-agent's Issues

Latest version not compatible with ansible 2.4

The latest changes are not compatible with old versions of ansible as apt is not able to install it.
The problems lies with apt being unable to install policy_rc_d
This is only possible with ansible 2.8

However, the meta is saying it should be possible:

  min_ansible_version: 2.4.1

Debian9: apt-cache update failed

Description/issue

    TASK [signalfx.smart_agent : Add Signalfx Agent repository into sources list] ***
    fatal: [debian9]: FAILED! => {"changed": false, "msg": "apt cache update failed"}
    changed: [debian-latest]
    changed: [ubuntu]

Test environment

molecule with docker

here is the playbook

---
- name: Setup Signalfx smart agent
  hosts: all
  become: yes

  tasks:
    - name: "Install package requirements"
      package:
        name:
          - gnupg
        state: present
    - include_role:
        name: "signalfx.smart_agent"
      vars:
        sfx_agent_config:
          signalFxAccessToken: testxxxxx
        monitors:
          - type: cpu
          - type: filesystems
          - type: disk-io
          - type: net-io
          - type: load
          - type: memory
          - type: vmem
          - type: host-metadata
          - type: processlist

How to reproduce

Set molecule if you want to test it. but You can use a docker container with the debian:9 image.

Run the playbook on debian:9 fresh installation. You can use vvv option on ansible to have more details

Detailed Error

    The full traceback is:
    WARNING: The below traceback may *not* be related to the actual failure.
      File "/tmp/ansible_apt_repository_payload_UnGu3W/ansible_apt_repository_payload.zip/ansible/modules/packaging/os/apt_repository.py", line 548, in main
      File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 483, in update
        raise FetchFailedException(e)
    
    fatal: [debian9]: FAILED! => {
        "changed": false,
        "invocation": {
            "module_args": {
                "codename": null,
                "filename": "signalfx-agent",
                "install_python_apt": true,
                "mode": 644,
                "repo": "deb https://splunk.jfrog.io/splunk/signalfx-agent-deb release main",
                "state": "present",
                "update_cache": true,
                "validate_certs": true
            }
        },
        "msg": "apt cache update failed"
    }

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.