Giter VIP home page Giter VIP logo

auter-manager's People

Contributors

mark-hyde avatar popindavibe avatar reaperzn avatar rjmco avatar spiraltaap avatar stephenbrown2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

auter-manager's Issues

Yum exclusion - overwrite systematically by default?

Current state of things:

  • no matter what is set in the auter_config.csv file, the installation of Auter currently blindly enforce the yum excludes settings.

Problem:
It is pretty easily to overlook this and end up with no yum exclusions after the installation of auter through auter-manager.

Suggestion:

  • using a none value into the CSV file when we want to ensure that any yum excludes are removed during auter installation
  • if no value is set at all, do not overwrite yum.conf

Questions ? Comments ?

Replace IDs in auter_config.csv with placeholders

Having a valid ID in there is asking for trouble whether they are test devices or not. It should be swapped for a basic placeholder that will error out if someone tries to run the playbook without modifying the config.

Something along the lines of {{ device_id }}.

Auter Pre & Post Snapshot conflict (with timestamps)

BUG:

Auter is configured to run and apply updates before midnight say at 11:30pm on 20th July 1997 , it creates its .pre snapshot files before midnight passes and auter is then instructed to post midnight reboot (18th July 1997), on reboot the .post snapshot fails and is unable to run since its looking for the same timestamp .pre entries ( from the previous day) to check against which it believes does not exist.becuase a new day has already come into effect.

Better handling error on EPEL check

In some particular cases, epel check (yum repolist | grep epel | wc -l) does not return an stdout variable.
We need to catch this case to request manual check on the device for those cases.

Nimbus install fails if nimbus and nimsoft are both present

Raised initially as part of PR #48

The playbook also set up the extra nimbus config always at the same place:

- name: Create nimbus monitors in "{{ nimbus_path }}"
  tags: configure,nimbus
  blockinfile:
    backup: yes
    insertbefore: "</profiles>"
    marker: "# {mark} ANSIBLE MANAGED AUTER BLOCK"
    dest: /opt/nimsoft/probes/system/logmon/logmon.cfg

add epel repo task failing

Related to #38

TASK [add the epel repo] ****************************************************************************************************************************************************************************************************************************************************************
fatal: []: FAILED! => {"msg": "The conditional check '( 'no package' in result.msg|lower ) and epelPresent.stdout|int == 0' failed. The error was: error while evaluating conditional (( 'no package' in result.msg|lower ) and epelPresent.stdout|int == 0): 'dict object' has no attribute 'msg'\n\nThe error appears to have been in '/home/nich1145/Downloads/auter-manager/installer/auter_installer.yml': line 45, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: add the epel repo\n      ^ here\n"}
fatal: []: FAILED! => {"msg": "The conditional check '( 'no package' in result.msg|lower ) and epelPresent.stdout|int == 0' failed. The error was: error while evaluating conditional (( 'no package' in result.msg|lower ) and epelPresent.stdout|int == 0): 'dict object' has no attribute 'msg'\n\nThe error appears to have been in '/home/nich1145/Downloads/auter-manager/installer/auter_installer.yml': line 45, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n    - name: add the epel repo\n      ^ here\n"}

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.