Comments (6)
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.
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.
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.
@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.
@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.
from isle.
Related Issues (20)
- Staging install instructions: clarify or improve "commit locally to git" HOT 2
- Documentation: How to build a Multisite in ISLE HOT 3
- Drush crashes due to IMI use of Composer in install-local-migrate process at Step 10 HOT 5
- Development needed for Cantaloupe upgrade from 4.0.3 to 4.1.5 HOT 2
- Restore production `/var/www/html/sites/default/files` in `install-local-migrate.md` HOT 1
- Run standalone fedora image with AWS RDS configuration.
- Documentation: small fixes to install-environments.md HOT 1
- Documentation: update the final terminal output of install_solution_packs.sh HOT 1
- Error Message needs attention HOT 1
- Insufficient TemporaryStore disk space halting FEDORA HOT 4
- WARC tools missing from ISLE-apache Dockerfile HOT 4
- No documentation about configuring to send mail HOT 13
- Documentation update: docs/update/update.md needs "master" changed to "main" HOT 3
- Traefik should get an upgrade to 2.0
- Removing forced permissions check on ISLE apache image every time container restarts HOT 1
- Migration instructions have an odd step. HOT 5
- cache.server.source.ttl_seconds set twice in cantaloupe.properties HOT 1
- Tailing fedoragsearch logs: path needs correction HOT 4
- Staging Migration: Software Dependencies for both Ubuntu and CentOS are missing two steps HOT 1
- Should there be a warning that the docs are for ISLE7 / Islandora 7 and not for ISLE2 / Islandora 2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from isle.