Skip to content

Instantly share code, notes, and snippets.

View alexcos78's full-sized avatar

Alessandro Costantini alexcos78

View GitHub Profile
2022-10-27T12:28:22.872+0200 7fe016a53700 20 CONTENT_LENGTH=545
2022-10-27T12:28:22.872+0200 7fe016a53700 20 CONTENT_TYPE=application/x-www-form-urlencoded; charset=utf-8
2022-10-27T12:28:22.872+0200 7fe016a53700 20 HTTP_ACCEPT_ENCODING=identity
2022-10-27T12:28:22.872+0200 7fe016a53700 20 HTTP_AMZ_SDK_INVOCATION_ID=a5a7dda7-6731-4d2e-bfa8-0f62d0051d92
2022-10-27T12:28:22.872+0200 7fe016a53700 20 HTTP_AMZ_SDK_REQUEST=attempt=1
2022-10-27T12:28:22.872+0200 7fe016a53700 20 HTTP_AUTHORIZATION=AWS4-HMAC-SHA256 Credential=TESTER/20221027//iam/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=00cd0b8e194847cb140c4f68b5a2a9e8d3fd6abbbbe13a2a4c19469efad8be54
2022-10-27T12:28:22.872+0200 7fe016a53700 20 HTTP_HOST=ceph-mon01-tb.cloud.cnaf.infn.it:7480
2022-10-27T12:28:22.872+0200 7fe016a53700 20 HTTP_USER_AGENT=Boto3/1.23.10 Python/3.6.9 Linux/4.15.0-193-generic Botocore/1.26.10
2022-10-27T12:28:22.872+0200 7fe016a53700 20 HTTP_VERSION=1.1
2022-10-27T12:28:22.872+0200 7fe016a53700 20 HTTP_X_AMZ_DATE=2
2022-10-27T10:39:41.809+0200 7fe016a53700 20 CONTENT_LENGTH=56
2022-10-27T10:39:41.809+0200 7fe016a53700 20 CONTENT_TYPE=application/x-www-form-urlencoded; charset=utf-8
2022-10-27T10:39:41.809+0200 7fe016a53700 20 HTTP_ACCEPT_ENCODING=identity
2022-10-27T10:39:41.809+0200 7fe016a53700 20 HTTP_AMZ_SDK_INVOCATION_ID=48666cb7-31e4-482f-86a2-3198b3be6360
2022-10-27T10:39:41.809+0200 7fe016a53700 20 HTTP_AMZ_SDK_REQUEST=attempt=1
2022-10-27T10:39:41.809+0200 7fe016a53700 20 HTTP_AUTHORIZATION=AWS4-HMAC-SHA256 Credential=TESTER/20221027//iam/aws4_request, SignedHeaders=content-type;host;x-amz-date, Signature=d865db49881cf486a424292e4a36adbc4e1c7e98eaeaacbd0c6ddfe6995c1e4b
2022-10-27T10:39:41.809+0200 7fe016a53700 20 HTTP_HOST=ceph-mon01-tb.cloud.cnaf.infn.it:7480
2022-10-27T10:39:41.809+0200 7fe016a53700 20 HTTP_USER_AGENT=Boto3/1.23.10 Python/3.6.9 Linux/4.15.0-193-generic Botocore/1.26.10
2022-10-27T10:39:41.809+0200 7fe016a53700 20 HTTP_VERSION=1.1
2022-10-27T10:39:41.809+0200 7fe016a53700 20 HTTP_X_AMZ_DATE=20
root@iotwins-paas-services2:~/indigopaas-deploy/ansible# docker logs aff650bacfcd
2022-01-25 11:50:37+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.36-1debian10 started.
2022-01-25 11:50:37+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2022-01-25 11:50:37+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.36-1debian10 started.
2022-01-25 11:50:37+00:00 [Note] [Entrypoint]: Initializing database files
2022-01-25T11:50:37.542762Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2022-01-25T11:50:38.033415Z 0 [Warning] InnoDB: New log files created, LSN=45790
2022-01-25T11:50:38.198181Z 0 [Warning] InnoDB: Creating foreign key constraint system tables.
2022-01-25T11:50:38.231967Z 0 [Warning] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 0386df83-7dd5-11ec-9a87-0242ac
root@iotwins-paas-services2:~/indigopaas-deploy/ansible# docker logs 2580f659f5ca
ls: cannot access '*.pem': No such file or directory
/app
[2022-01-25 11:52:53 +0000] [1] [INFO] Starting gunicorn 20.1.0
[2022-01-25 11:52:53 +0000] [1] [INFO] Listening at: http://0.0.0.0:5001 (1)
[2022-01-25 11:52:53 +0000] [1] [INFO] Using worker: sync
[2022-01-25 11:52:53 +0000] [12] [INFO] Booting worker with pid: 12
[2022-01-25 11:52:53 +0000] [13] [INFO] Booting worker with pid: 13
[2022-01-25 11:52:53 +0000] [1] [INFO] Handling signal: term
INFO [alembic.runtime.migration] Context impl MySQLImpl.
#!/bin/bash
echo LD_LIBRARY_PATH=$LD_LIBRARY_PATH
echo PATH=$PATH
apt-get update; apt-get install -y git
pip install mnist
#!pip install -q git+https://github.com/tensorflow/examples.git
git clone https://github.com/alexcos78/tensorflow-test.git
echo RUNNING
cd tensorflow-test;
time python keras-test.py
root@acostantini-test:~# apt-get install collectd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
acl adwaita-icon-theme apg aptdaemon aptdaemon-data aspell aspell-en at-spi2-core avahi-daemon avahi-utils bluez bubblewrap ca-certificates-java cheese-common
collectd-core colord colord-data cpp cpp-9 cracklib-runtime crda cups-pk-helper dbus-x11 dconf-cli default-jre-headless desktop-file-utils dictionaries-common
dns-root-data dnsmasq-base docbook-xml emacsen-common enchant-2 evolution-data-server evolution-data-server-common fontconfig fontconfig-config fonts-dejavu-core
fprintd gcc-9-base gcr gdm3 geoclue-2.0 gir1.2-accountsservice-1.0 gir1.2-atk-1.0 gir1.2-atspi-2.0 gir1.2-freedesktop gir1.2-gck-1 gir1.2-gcr-3
gir1.2-gdesktopenums-3.0 gir1.2-gdkpixbuf-2.0 gir1.2-gdm-1.0 gir1.2-geoclue-2.0 gir1.2-gnomebluetooth-1.0 gir1.2-gnomedesktop-3.0 gir1.2-graphene-1.0 gir1.2-gtk-3.0
2021-05-04 12:42:49,789 - InfrastructureManager - DEBUG - TOSCA: tosca_definitions_version: tosca_simple_yaml_1_0
metadata:
template_name: template
template_version: 1.0.0-SNAPSHOT
template_author: orchestrator
description: "Launch a compute node getting the IP and SSH credentials to access via ssh"
imports:
2021-05-04 12:28:26,670 - InfrastructureManager - DEBUG - TOSCA: tosca_definitions_version: tosca_simple_yaml_1_0
metadata:
template_name: template
template_version: 1.0.0-SNAPSHOT
template_author: orchestrator
description: "Launch a compute node getting the IP and SSH credentials to access via ssh"
imports:
2021-05-04 12:28:20.770 DEBUG req-d14b16a2-49c2-4f97-8d69-b99a12c1e414 - 1 --- [ XNIO-2 task-21] i.r.o.c.f.CustomRequestLoggingFilter : {"headers":{"authorization":"Bearer eyJraWQiOiJyc2ExIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJiMzcwZThkYi1hOGY1LTRjMGYtODkzZC00MjE5MzAwMDIwOTQiLCJpc3MiOiJodHRwczpcL1wvaW90d2lucy1pYW0uY2xvdWQuY25hZi5pbmZuLml0XC8iLCJuYW1lIjoiQWxlc3NhbmRybyBDb3N0YW50aW5pIiwiZ3JvdXBzIjpbIlRCMDJcL2Nsb3VkIl0sInByZWZlcnJlZF91c2VybmFtZSI6ImFjb3N0YW50aW5pIiwib3JnYW5pc2F0aW9uX25hbWUiOiJpb3R3aW5zIiwiZXhwIjoxNjIwMTM0MDYyLCJpYXQiOjE2MjAxMzA0NjIsImp0aSI6ImNiOTRlMTJiLTRjOTgtNGVhZi1hYzFlLWFiOWM2MDQ2ZWYxMCIsImNsaWVudF9pZCI6ImU4MjE1MDMxLWQxZGMtNDIwMS1iYzhmLTcxODNhOWUwOTQ2MCIsImVtYWlsIjoiYWxlc3NhbmRyby5jb3N0YW50aW5pQGNuYWYuaW5mbi5pdCJ9.AszeulKSU2cSpq9g5IPExoA2kXIio2v1_9J2Lj0TIgxtHZRdJLqD1jAcW3cz5qYsmQz0m6g8ysnJ3luznvl_ynzecJ4OvcYC-LLHCUxnWy_i1e8CsCUD6N_TCBZEo14uabUsOk-PNXqbpUnxFxyxQbX2tcVLpSeCb4dP9E55i6w","X-Forwarded-Prefix":"/orchestrator","Connection":"close","X-Forwarded-Proto":"https","X-Forwarded-For":"131.15
2021-03-30 10:52:05.174 INFO req-3b8fd18f-226c-4eb5-a6c4-ec229ae8715f 11eb9145-f2e4-21fe-8f86-0242f1c51fa0 1 --- [askExecutor-452] i.r.o.service.commands.BaseJavaDelegate : Task Get Monitoring - ENDED SUCCESSFULLY
2021-03-30 10:52:05.206 INFO req-3b8fd18f-226c-4eb5-a6c4-ec229ae8715f 11eb9145-f2e4-21fe-8f86-0242f1c51fa0 1 --- [askExecutor-453] i.r.o.service.commands.BaseJavaDelegate : Task Get Providers Rank - STARTED
2021-03-30 10:52:05.247 INFO req-3b8fd18f-226c-4eb5-a6c4-ec229ae8715f 11eb9145-f2e4-21fe-8f86-0242f1c51fa0 1 --- [askExecutor-453] i.r.o.service.commands.BaseJavaDelegate : Task Get Providers Rank - ENDED SUCCESSFULLY
2021-03-30 10:52:05.305 INFO req-3b8fd18f-226c-4eb5-a6c4-ec229ae8715f 11eb9145-f2e4-21fe-8f86-0242f1c51fa0 1 --- [askExecutor-454] i.r.o.service.commands.BaseJavaDelegate : Task Choose Provider and update Deployment - STARTED
2021-03-30 10:52:05.311 DEBUG req-3b8fd18f-226c-4eb5-a6c4-ec229ae8715f 11eb9145-f2e4-21fe-8f86-0242f1c51fa0 1 --- [askExecutor-454] i.r.o.service.comma