Git Product home page Git Product logo

openattic-docker's Introduction

openATTIC -- Open Source Management and Monitoring System for Ceph

Note

The openATTIC project has entered maintenance mode. New feature development has been discontinued in favor of enhancing the upstream Ceph Dashboard.

See this blog post for details.

openATTIC is an Open Source Management and Monitoring System for the Ceph distributed storage system.

Various resources of a Ceph cluster can be managed and monitored via a web-based management interface. It is no longer necessary to be intimately familiar with the inner workings of the individual Ceph components.

Any task can be carried out by either using openATTIC’s clean and intuitive web interface or via the openATTIC REST API.

openATTIC itself is stateless - it remains in a consistent state even if you make changes to the Ceph cluster's resources using external command-line tools.

Please visit openattic.org for more details.

openATTIC's documentation is hosted at docs.openattic.org.

openattic-docker's People

Contributors

ricardoasmarques avatar rjfd avatar sebastian-philipp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

openattic-docker's Issues

Unable to use disks module inside openattic-docker

When running openattic inside a docker container, we can't access disks.

Error we get from docker run output:

checking disk /dev/sda
serial not found

This problem happens because some device properties like "ID_SCSI_SERIAL", "ID_SERIAL_SHORT" and "ID_SERIAL" are not available inside the docker container (see line 57 of file "backend/volumes/management/__init__.py").

To reproduce, we can execute this code manually:

import pyudev
ctx = pyudev.Context()
for dev in ctx.list_devices(subsystem="block", DEVTYPE="disk"): dev.keys()

The output is:

Inside docker container

[u'DEVNAME', u'DEVPATH', u'DEVTYPE', u'MAJOR', u'MINOR', u'SUBSYSTEM']

Outside docker container

[u'DEVLINKS', u'DEVNAME', u'DEVPATH', u'DEVTYPE', u'ID_ATA', u'ID_BUS', u'ID_MODEL', u'ID_MODEL_ENC', u'ID_PART_TABLE_TYPE', u'ID_PART_TABLE_UUID', u'ID_PATH', u'ID_PATH_COMPAT', u'ID_PATH_TAG', u'ID_REVISION', u'ID_SCSI', u'ID_SCSI_COMPAT', u'ID_SCSI_COMPAT_TRUNCATED', u'ID_SCSI_DI', u'ID_SCSI_SN', u'ID_SERIAL', u'ID_SERIAL_SHORT', u'ID_TYPE', u'ID_VENDOR', u'ID_VENDOR_ENC', u'ID_WWN', u'ID_WWN_WITH_EXTENSION', u'MAJOR', u'MINOR', u'SCSI_IDENT_LUN_ATA', u'SCSI_IDENT_LUN_NAA_REG', u'SCSI_IDENT_LUN_T10', u'SCSI_IDENT_LUN_VENDOR', u'SCSI_IDENT_SERIAL', u'SCSI_MODEL', u'SCSI_MODEL_ENC', u'SCSI_REVISION', u'SCSI_TPGS', u'SCSI_TYPE', u'SCSI_VENDOR', u'SCSI_VENDOR_ENC', u'SUBSYSTEM', u'TAGS', u'USEC_INITIALIZED']   

Repository 'python_libs' is invalid.

Hi there, during building new image for openattic based on opensuse I stuck on this error:
What is proper path for these repository ?

Repository 'python_libs' is invalid.
[python_libs|http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_Leap_42.3] Valid metadata not found at specified URL
Please check if the URIs defined for this repository are pointing to a valid repository.
Skipping repository 'python_libs' because of the above error.
Some of the repositories have not been refreshed because of an error.
The command '/bin/sh -c zypper --gpg-auto-import-keys ref && zypper -n install python-requests-aws python-pyinotify' returned a non-zero code: 4

Error accessing http://localhost:openattic

After accessing http://localhost/openattic I got this error on /var/log/apache2/error.log:

[Wed Feb 08 22:02:39.068534 2017] [wsgi:error] [pid 994:tid 140281240299264] (13)Permission denied: [client ::1:42358] mod_wsgi (pid=994): Unable to connect to WSGI daemon process 'openattic' on '/var/run/apache2/wsgi.991.0.1.sock'.

host environment

  • openSUSE

docker exec container_id ps aux

root's password:
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  18132  2960 ?        Ss+  07:56   0:00 /bin/bash /entrypoint.sh
root        40  0.0  0.0  36956  5040 ?        Ss   07:56   0:00 systemd --system
root        60  0.0  0.0  35280  7560 ?        Ss   07:56   0:00 /lib/systemd/systemd-journald
message+   346  0.0  0.0  42896  3872 ?        Ss   07:56   0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
postgres   400  0.0  0.0 291744 24096 ?        S    07:56   0:00 /usr/lib/postgresql/9.5/bin/postgres -D /var/lib/postgresql/9.5/main -c config_file=/etc/postgresql/9.5/main/postgresql.conf
postgres   402  0.0  0.0 291852 10384 ?        Ss   07:56   0:00 postgres: checkpointer process   
postgres   403  0.0  0.0 291744  5632 ?        Ss   07:56   0:00 postgres: writer process   
postgres   404  0.0  0.0 291744  8808 ?        Ss   07:56   0:00 postgres: wal writer process   
postgres   405  0.0  0.0 292176  6468 ?        Ss   07:56   0:00 postgres: autovacuum launcher process   
postgres   406  0.0  0.0 146868  4360 ?        Ss   07:56   0:00 postgres: stats collector process   
root       423  0.0  0.0  20104  1276 ?        Ss   07:56   0:00 /lib/systemd/systemd-logind
root       550  0.1  0.2 626892 75556 ?        S    07:57   0:00 /usr/bin/python /srv/openattic/backend/manage.py runsystemd -l /var/log/openattic/openattic_systemd.log
openatt+   595  0.0  0.2 667856 71728 ?        S    07:57   0:00 /usr/bin/python /srv/openattic/backend/manage.py runrpcd -l /var/log/openattic/openattic_rpcd.log
postgres   690  0.0  0.0 293412 17612 ?        Ss   07:57   0:00 postgres: openattic openattic ::1(57674) idle
nagios     759  0.0  0.0 164596  2212 ?        S    07:57   0:00 /usr/local/pnp4nagios/bin/npcd -d -f /usr/local/pnp4nagios/etc/npcd.cfg
nagios     810  0.0  0.0  30592  4492 ?        SNs  07:57   0:00 /usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg
root       828  0.0  0.0 102972  1556 ?        Ss   07:57   0:00 /sbin/lvmetad -f
root       990  0.0  0.0  88960  5640 ?        Ss   07:57   0:00 /usr/sbin/apache2 -k start
www-data   993  0.0  0.0 380428 12172 ?        Sl   07:57   0:00 /usr/sbin/apache2 -k start
www-data   994  0.0  0.0 380428 12176 ?        Sl   07:57   0:00 /usr/sbin/apache2 -k start
root      1060  2.0  0.3 1016828 105256 ?      Sl+  07:57   0:15 grunt
root      1494  0.0  0.0  34428  2868 ?        Rs   08:09   0:00 ps aux

docker exec container_id ls -l /var/run/apache2

total 4
-rw-r--r-- 1 root root 4 Feb 10 07:57 apache2.pid
srwx------ 1 root root 0 Feb 10 07:57 wsgi.990.0.1.sock

docker exec container_id groups openattic
openattic : openattic www-data nagios

links

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.