Compare commits

..

1 Commits

Author SHA1 Message Date
Oscar Krause
b1ee3c9cd5 Merge branch 'dev' into 'main'
fixed logging

See merge request oscar.krause/fastapi-dls!47
2025-03-11 22:52:06 +01:00
2 changed files with 20 additions and 33 deletions

View File

@ -734,9 +734,6 @@ The error message can safely be ignored (since we have no license limitation :P)
**18.x Drivers are not supported on FastAPI-DLS Versions < 1.6.0** **18.x Drivers are not supported on FastAPI-DLS Versions < 1.6.0**
<details>
<summary>Show Table</summary>
Successfully tested with this package versions. Successfully tested with this package versions.
| vGPU Suftware | Driver Branch | Linux vGPU Manager | Linux Driver | Windows Driver | Release Date | EOL Date | | vGPU Suftware | Driver Branch | Linux vGPU Manager | Linux Driver | Windows Driver | Release Date | EOL Date |
@ -760,8 +757,6 @@ Successfully tested with this package versions.
| `15.4` | R525 | `525.147.01` | `525.147.05` | `529.19` | June 2023 | December 2023 | | `15.4` | R525 | `525.147.01` | `525.147.05` | `529.19` | June 2023 | December 2023 |
| `14.4` | R510 | `510.108.03` | `510.108.03` | `514.08` | December 2022 | February 2023 | | `14.4` | R510 | `510.108.03` | `510.108.03` | `514.08` | December 2022 | February 2023 |
</details>
- https://docs.nvidia.com/grid/index.html - https://docs.nvidia.com/grid/index.html
- https://docs.nvidia.com/grid/gpus-supported-by-vgpu.html - https://docs.nvidia.com/grid/gpus-supported-by-vgpu.html

View File

@ -29,7 +29,7 @@ nvidia-gridd[2986]: Acquiring license. (Info: license.nvidia.space; NVIDIA RTX V
nvidia-gridd[2986]: License acquired successfully. (Info: license.nvidia.space, NVIDIA RTX Virtual Workstation; Expiry: 2023-1-29 22:3:0 GMT) nvidia-gridd[2986]: License acquired successfully. (Info: license.nvidia.space, NVIDIA RTX Virtual Workstation; Expiry: 2023-1-29 22:3:0 GMT)
``` ```
# Docker DLS-Container File-System # DLS-Container File-System (Docker)
- More about Docker Images https://git.collinwebdesigns.de/nvidia/nls - More about Docker Images https://git.collinwebdesigns.de/nvidia/nls
@ -42,6 +42,23 @@ Files can be modified with `docker cp <container-id>:/venv/... /opt/localfile/..
Config-Variables are in `etc/dls/config/service_env.conf`. Config-Variables are in `etc/dls/config/service_env.conf`.
## Dive / Docker image inspector
- `dive dls:appliance`
The source code is stored in `/venv/lib/python3.9/site-packages/nls_*`.
Image-Reference:
```
Tags: (unavailable)
Id: d1c7976a5d2b3681ff6c5a30f8187e4015187a83f3f285ba4a37a45458bd6b98
Digest: sha256:311223c5af7a298ec1104f5dc8c3019bfb0e1f77256dc3d995244ffb295a97
1f
Command:
#(nop) ADD file:c1900d3e3a29c29a743a8da86c437006ec5d2aa873fb24e48033b6bf492bb37b in /
```
## Site Key Uri - `/etc/dls/config/site_key_uri.bin` ## Site Key Uri - `/etc/dls/config/site_key_uri.bin`
@ -63,43 +80,18 @@ cat dls_db_password.bin | base64 -d > dls_db_password.bin.raw
openssl rsautl -decrypt -inkey /tmp/private-key.pem -in dls_db_password.bin.raw openssl rsautl -decrypt -inkey /tmp/private-key.pem -in dls_db_password.bin.raw
``` ```
# Docker Postgres-Container # Database
- It's enough to manipulate database licenses. There must not be changed any line of code to bypass licensing - It's enough to manipulate database licenses. There must not be changed any line of code to bypass licensing
validations. validations.
## Inspect
Valid users are `dls_writer` and `postgres`. Valid users are `dls_writer` and `postgres`.
```shell ```shell
docker exec -it <dls:pgsql> psql -h localhost -U postgres docker exec -it <dls:pgsql> psql -h localhost -U postgres
``` ```
## External Access Or you can modify `docker-compose.yaml` to forward Postgres port.
Or you can modify `docker-compose.yaml` to forward Postgres port. To create a superuser for external access, use `docker exec` from above and rund the following:
```sql
CREATE USER admin WITH LOGIN SUPERUSER PASSWORD 'admin';
```
# Dive / Docker image inspector
- `dive dls:appliance`
The source code is stored in `/venv/lib/python3.9/site-packages/nls_*`.
Image-Reference:
```
Tags: (unavailable)
Id: d1c7976a5d2b3681ff6c5a30f8187e4015187a83f3f285ba4a37a45458bd6b98
Digest: sha256:311223c5af7a298ec1104f5dc8c3019bfb0e1f77256dc3d995244ffb295a97
1f
Command:
#(nop) ADD file:c1900d3e3a29c29a743a8da86c437006ec5d2aa873fb24e48033b6bf492bb37b in /
```
# Logging / Stack Trace # Logging / Stack Trace