Coder Social home page Coder Social logo

adfinis / ansible-role-hw_vm_tools Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 33 KB

Ansible role hw_vm_tools

Home Page: https://docs.adfinis-sygroup.ch/public/ansible-guide/adfinis-sygroup.hw_vm_tools.yml.html

License: GNU General Public License v3.0

ansible ansible-galaxy ansible-role automation infrastructure

ansible-role-hw_vm_tools's People

Contributors

altesockensuppe avatar eyenx avatar fujexo avatar hairmare avatar karras avatar keachi avatar

Watchers

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

ansible-role-hw_vm_tools's Issues

ovirt-guest-agent fails to start on Ubuntu 16.04

ISSUE TYPE
  • Bug Report
ANSIBLE VERSION
n/a
CONFIGURATION

n/a

OS / ENVIRONMENT

Ubuntu 16.04 and RHV 4.x

SUMMARY

The ovirt-guest-agent on Ubuntu 16.04 requires a manual fix by touching the log file and providing the proper permissions (e.g. ovirtagent:adm). Otherwise the agent does not start after the installation. Maybe it's also required to deploy a custom logrotate config.

 systemctl status ovirt-guest-agent
โ— ovirt-guest-agent.service - oVirt Guest Agent
   Loaded: loaded (/lib/systemd/system/ovirt-guest-agent.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Sat 2018-06-23 10:36:12 CEST; 12min ago
  Process: 2359 ExecStart=/usr/bin/python /usr/share/ovirt-guest-agent/ovirt-guest-agent.py (code=exited, status=1/FAILURE)
  Process: 2356 ExecStartPre=/bin/chown ovirtagent:ovirtagent /run/ovirt-guest-agent.pid (code=exited, status=0/SUCCESS)
  Process: 2353 ExecStartPre=/bin/touch /run/ovirt-guest-agent.pid (code=exited, status=0/SUCCESS)
  Process: 2349 ExecStartPre=/sbin/modprobe virtio_console (code=exited, status=0/SUCCESS)
 Main PID: 2359 (code=exited, status=1/FAILURE)

Jun 23 10:36:12 zuse2 python[2359]:   File "/usr/lib/python2.7/logging/handlers.py", line 64, in __init__
Jun 23 10:36:12 zuse2 python[2359]:     logging.FileHandler.__init__(self, filename, mode, encoding, delay)
Jun 23 10:36:12 zuse2 python[2359]:   File "/usr/lib/python2.7/logging/__init__.py", line 913, in __init__
Jun 23 10:36:12 zuse2 python[2359]:     StreamHandler.__init__(self, self._open())
Jun 23 10:36:12 zuse2 python[2359]:   File "/usr/lib/python2.7/logging/__init__.py", line 943, in _open
Jun 23 10:36:12 zuse2 python[2359]:     stream = open(self.baseFilename, self.mode)
Jun 23 10:36:12 zuse2 python[2359]: IOError: [Errno 13] Permission denied: '/var/log/ovirt-guest-agent/ovirt-guest-agent.log'
Jun 23 10:36:12 zuse2 systemd[1]: ovirt-guest-agent.service: Main process exited, code=exited, status=1/FAILURE
Jun 23 10:36:12 zuse2 systemd[1]: ovirt-guest-agent.service: Unit entered failed state.
Jun 23 10:36:12 zuse2 systemd[1]: ovirt-guest-agent.service: Failed with result 'exit-code'.

STEPS TO REPRODUCE
n/a
EXPECTED RESULTS

ovirt-agent to run out-of-the-box.

ACTUAL RESULTS

ovirt-agent does not run and requires manual intervention.

n/a

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.