Giter Club home page Giter Club logo

Comments (6)

dwk2 avatar dwk2 commented on July 22, 2024

Love this idea of havING this report version info upon instantiation, AND also would like to be able to create such a report at any point after installation, including possibly being able to also report the current version of ISLE tagged container set used.
One more idea would be to include this as a pre-populated idea within the customizations folder

from isle.

McFateM avatar McFateM commented on July 22, 2024

Still looking for possible approaches to satisfying this need. Currently giving https://lumogon.com/ a spin based on what I read at http://thenewstack.io/puppet-launches-lumogon-container-inspection-tool/

from isle.

McFateM avatar McFateM commented on July 22, 2024

Wow! Me like. Just took Lumogon (created by the folks at Puppet) for a spin on my Mac with an ISLE.localdomain set of containers running... and wow, what it reports is incredible. It dumps a BUNCH of json but just browsing through the raw file shows me what I need to know. Here's a tiny fraction (big chunks have been replaced with ...) of what it reported for my current Apache container...

         ...
        "docker": {
          "$schema": "http://puppet.com/lumogon/capability/docker/draft-01/schema#1",
          "title": "Docker Server Information",
          "type": "dockerapi",
          "harvestid": "51ddc580-b788-493e-93f7-63a6b4c0caa3",
          "payload": {
            "APIVersion": "1.37",
            "MinAPIVersion": "1.12",
            "Version": "18.03.0-ce"
          }
        },
        "dpkg": {
          "$schema": "http://puppet.com/lumogon/capability/label/draft-01/schema#1",
          "title": "Packages (DPKG)",
          "type": "dockerapi",
          "harvestid": "e511ecfd-201d-49c6-9658-0cb8c983032d",
          "payload": {
            "adduser": "3.113+nmu3ubuntu4",
            "apache2": "2.4.33-1+ubuntu16.04.1+deb.sury.org+1",
             ...
            "ghostscript": "9.18~dfsg~0-0ubuntu2.7",
             ...
            "imagemagick": "8:6.8.9.9-7ubuntu5.9",
            "imagemagick-6.q16": "8:6.8.9.9-7ubuntu5.9",
            "imagemagick-common": "8:6.8.9.9-7ubuntu5.9",
            ...
            "php-common": "1:60+ubuntu16.04.1+deb.sury.org+1",
            "php-imagick": "3.4.3-3+ubuntu16.04.1+deb.sury.org+1",
            "php-pear": "1:1.10.5+submodules+notgz-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6-cli": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6-common": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6-curl": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6-dev": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6-gd": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6-json": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6-ldap": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6-mbstring": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6-mcrypt": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6-mysql": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6-opcache": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6-readline": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6-soap": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6-xml": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6-xmlrpc": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6-xsl": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            "php5.6-zip": "5.6.35-1+ubuntu16.04.1+deb.sury.org+1",
            ...
            "zlib1g-dev": "1:1.2.8.dfsg-2ubuntu4.1"
          }
        },
        "host": {
          "$schema": "http://puppet.com/lumogon/capability/host/draft-01/schema#1",
          "title": "Host Information",
          "type": "attached",
          "harvestid": "f9607ca9-c29d-4d4b-83e1-c3557d17ce22",
          "payload": {
            "hostname": "bd057f0e6f56",
            "kernelversion": "4.9.87-linuxkit-aufs",
            "os": "linux",
            "platform": "ubuntu",
            "platformfamily": "debian",
            "platformversion": "16.04",
            "procs": "70",
            "uptime": "5155",
            "virtualizationrole": "guest",
            "virtualizationsystem": "docker"
          }
        },
        "label": {
          "$schema": "http://puppet.com/lumogon/capability/label/draft-01/schema#1",
          "title": "Labels",
          "type": "dockerapi",
          "harvestid": "e5771fa1-d685-4652-84aa-699d3f336577",
          "payload": {
            "com.docker.compose.config-hash": "34ef0977e64a76ed0387990ff2a0ceaad836bd87671891994bc5717d7925399e",
            "com.docker.compose.container-number": "1",
            "com.docker.compose.oneoff": "False",
            "com.docker.compose.project": "isle",
            "com.docker.compose.service": "apache",
            "com.docker.compose.version": "1.20.1",
            "io.github.islandora-collaboration-group.description": "ISLE Apache container, responsible for serving Drupal and Islandora's presentation layer!A default site called isle.localdomain is prepared for those looking to explore Islandora for the first time!",
            "io.github.islandora-collaboration-group.license": "Apache-2.0",
            "io.github.islandora-collaboration-group.maintainer": "Islandora Collaboration Group (ICG) - [email protected]",
            "io.github.islandora-collaboration-group.name": "isle-apache",
            "io.github.islandora-collaboration-group.vcs-url": "[email protected]:Islandora-Collaboration-Group/ISLE.git",
            "io.github.islandora-collaboration-group.vendor": "Islandora Collaboration Group (ICG) - [email protected]",
            "traefik.backend": "isle.localdomain.web",
            "traefik.frontend.rule": "Host:isle.localdomain;",
            "traefik.port": "80"
          }
        }
      }
    },

The key elements in this, for me, are that this tells me my Apache container is running atop Ubuntu 16.04 with PHP 5.6 (not usually the case for 16.04 but required for Islandora 7) and a nice new(ish) versions of Ghostscript and ImageMagick.

This rocks! Now, just need a way to clean it up and make it pretty. 8^)

from isle.

DiegoPino avatar DiegoPino commented on July 22, 2024

@McFateM cool! Just a side note here, Islandora 7 runs perfectly on PHP 7+, so for the next iteration, you should consider that. Performance improvements are "dramatic".

from isle.

dwk2 avatar dwk2 commented on July 22, 2024

@McFateM This looks amazing! Love the reporting feedback capability it provides.
@DiegoPino If Islandora 7 runs perfectly on PHP 7+, might there be incompatibility problems for institutions using modules that are custom built or from Islandora Labs? Or would Drupal theming be an issue?

from isle.

McFateM avatar McFateM commented on July 22, 2024

from isle.

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.