FreeNAS/freenas f4f470esrc/middlewared/middlewared/service core_service.py

Add errno entry to exc_info in core.get_jobs schema (#14077)

A recent change to exc_info dictionary inside core.get_jobs output
was not reflected in the returns decorator schema.
DeltaFile
+1-0src/middlewared/middlewared/service/core_service.py
+1-01 files

FreeNAS/freenas d3092a2src/middlewared/middlewared/service core_service.py

Add errno entry to exc_info in core.get_jobs schema

A recent change to exc_info dictionary inside core.get_jobs output
was not reflected in the returns decorator schema.
DeltaFile
+1-0src/middlewared/middlewared/service/core_service.py
+1-01 files

FreeNAS/freenas e9d7ac8tests runtest.py

snmp only
DeltaFile
+12-0tests/runtest.py
+12-01 files

FreeNAS/freenas 6c73cc0src/freenas/usr/local/bin snmp-agent.py, src/freenas/usr/local/share/pysnmp/mibs TRUENAS-MIB.py

Updated the way we collect the zvols.  The previous method did not do a depth search.
Fixed a few typos in TRUENAS-MIB.txt which includes regenerating TRUENAS-MIB.py.
Added a context manager for simple 'file' creations in the filesystem asset.
Created a CI test in test_440_snmp.py for this issue.
DeltaFile
+93-1tests/api2/test_440_snmp.py
+22-0src/middlewared/middlewared/test/integration/assets/filesystem.py
+7-7src/freenas/usr/local/share/pysnmp/mibs/TRUENAS-MIB.py
+5-4src/freenas/usr/local/bin/snmp-agent.py
+3-3src/freenas/usr/local/share/snmp/mibs/TRUENAS-MIB.txt
+130-155 files

FreeNAS/freenas 862c454src/middlewared/middlewared/api/v25_04_0 container.py __init__.py, src/middlewared/middlewared/plugins container.py

WIP
DeltaFile
+192-0src/middlewared/middlewared/plugins/container.py
+55-0src/middlewared/middlewared/api/v25_04_0/container.py
+1-0src/middlewared/middlewared/api/v25_04_0/__init__.py
+248-03 files

FreeNAS/freenas bc80432tests/api2 test_pool_replace_disk.py

Initial commit
DeltaFile
+1-1tests/api2/test_pool_replace_disk.py
+1-11 files

FreeNAS/freenas 8e31169src/middlewared/middlewared/plugins/apps app_scale.py, src/middlewared/middlewared/plugins/apps/ix_apps query.py

There is no need to stop when redeploying app now
DeltaFile
+2-5src/middlewared/middlewared/plugins/apps/ix_apps/query.py
+0-4src/middlewared/middlewared/plugins/apps/app_scale.py
+2-92 files

FreeNAS/freenas ba20ef2src/middlewared/middlewared/plugins/apps crud.py, src/middlewared/middlewared/plugins/apps/ix_apps query.py

NAS-130225 / 24.10 / Add changes to allow retrieving app version details and config when querying apps (#14075)

* Add changes to allow UI to return app version schema

This commit adds changes so UI can retrieve app version schema which it would require to allow edits to an app is made available in the api.

* Allow retrieving config of apps in app.query

* Fix docstring
DeltaFile
+22-3src/middlewared/middlewared/plugins/apps/crud.py
+18-5src/middlewared/middlewared/plugins/apps/ix_apps/query.py
+40-82 files

FreeNAS/freenas 73df3c2src/middlewared/middlewared/plugins/apps crud.py, src/middlewared/middlewared/plugins/apps/ix_apps query.py

Allow retrieving config of apps in app.query
DeltaFile
+18-5src/middlewared/middlewared/plugins/apps/ix_apps/query.py
+4-1src/middlewared/middlewared/plugins/apps/crud.py
+22-62 files

FreeNAS/freenas 52a10adsrc/middlewared/middlewared/plugins/apps crud.py

Add changes to allow UI to return app version schema

This commit adds changes so UI can retrieve app version schema which it would require to allow edits to an app is made available in the api.
DeltaFile
+15-1src/middlewared/middlewared/plugins/apps/crud.py
+15-11 files

FreeNAS/freenas 087d127src/middlewared/middlewared/plugins/kubernetes_to_docker migrate_config_utils.py list_utils.py

Minor fixes
DeltaFile
+2-1src/middlewared/middlewared/plugins/kubernetes_to_docker/migrate_config_utils.py
+0-3src/middlewared/middlewared/plugins/kubernetes_to_docker/list_utils.py
+1-1src/middlewared/middlewared/plugins/kubernetes_to_docker/migrate.py
+3-53 files

FreeNAS/freenas 95d3e2dsrc/middlewared/middlewared/plugins/kubernetes_to_docker list_utils.py

Include app version for each old app
DeltaFile
+3-2src/middlewared/middlewared/plugins/kubernetes_to_docker/list_utils.py
+3-21 files

FreeNAS/freenas 734acc8src/middlewared/middlewared/plugins/kubernetes_to_docker migrate.py

Add changes to configure docker service on new k8s pool
DeltaFile
+48-4src/middlewared/middlewared/plugins/kubernetes_to_docker/migrate.py
+48-41 files

FreeNAS/freenas d60d04bsrc/middlewared/middlewared/plugins/kubernetes_to_docker list_k8s_backups.py

Make listing backups a job
DeltaFile
+4-2src/middlewared/middlewared/plugins/kubernetes_to_docker/list_k8s_backups.py
+4-21 files

FreeNAS/freenas 296bd60src/middlewared/middlewared/plugins/kubernetes_to_docker list_utils.py list_k8s_backups.py

Amend listing backups endpoint to more comprehensively retrieve details of each app
DeltaFile
+40-7src/middlewared/middlewared/plugins/kubernetes_to_docker/list_utils.py
+4-9src/middlewared/middlewared/plugins/kubernetes_to_docker/list_k8s_backups.py
+6-4src/middlewared/middlewared/plugins/kubernetes_to_docker/secrets_utils.py
+50-203 files

FreeNAS/freenas 305033asrc/middlewared/middlewared/plugins/kubernetes_to_docker secrets_utils.py

Add secrets utils
DeltaFile
+23-0src/middlewared/middlewared/plugins/kubernetes_to_docker/secrets_utils.py
+23-01 files

FreeNAS/freenas f786627src/middlewared/middlewared/plugins/kubernetes_to_docker yaml.py

Port yaml bits from df to read k8s backups
DeltaFile
+37-0src/middlewared/middlewared/plugins/kubernetes_to_docker/yaml.py
+37-01 files

FreeNAS/freenas d537470src/middlewared/middlewared/plugins/kubernetes_to_docker migrate.py

Add basic migration service
DeltaFile
+30-0src/middlewared/middlewared/plugins/kubernetes_to_docker/migrate.py
+30-01 files

FreeNAS/freenas 942f6d5src/middlewared/middlewared/plugins/kubernetes_to_docker list_k8s_backups.py utils.py

Add basic method to list k8s backups
DeltaFile
+19-0src/middlewared/middlewared/plugins/kubernetes_to_docker/list_k8s_backups.py
+5-0src/middlewared/middlewared/plugins/kubernetes_to_docker/utils.py
+24-02 files

FreeNAS/freenas c8cdb5asrc/middlewared/middlewared/plugins/apps crud.py schema_normalization.py

Add changes to allow a dry run of sorts for app creation which we will use to help migrate over apps from k8s
DeltaFile
+12-7src/middlewared/middlewared/plugins/apps/crud.py
+5-2src/middlewared/middlewared/plugins/apps/schema_normalization.py
+17-92 files

FreeNAS/freenas b6d9025src/middlewared/middlewared/plugins/kubernetes_to_docker list_k8s_backups.py list_utils.py

Give a detailed response in the case when we skip a release
DeltaFile
+21-4src/middlewared/middlewared/plugins/kubernetes_to_docker/list_k8s_backups.py
+5-4src/middlewared/middlewared/plugins/kubernetes_to_docker/list_utils.py
+26-82 files

FreeNAS/freenas 651ac76src/middlewared/middlewared/plugins/kubernetes_to_docker list_k8s_backups.py __init__.py

Add basic plugin which will handle k8s to docker migration bits
DeltaFile
+7-0src/middlewared/middlewared/plugins/kubernetes_to_docker/list_k8s_backups.py
+0-0src/middlewared/middlewared/plugins/kubernetes_to_docker/__init__.py
+7-02 files

FreeNAS/freenas c775856src/middlewared/middlewared/plugins/apps schema_action_context.py, src/middlewared/middlewared/plugins/apps/ix_apps path.py

Add util to retrieve app's volume ds
DeltaFile
+4-1src/middlewared/middlewared/plugins/apps/schema_action_context.py
+4-0src/middlewared/middlewared/plugins/apps/ix_apps/path.py
+8-12 files

FreeNAS/freenas c0631e1src/middlewared/middlewared/plugins/kubernetes_to_docker migrate.py

Setup app's filesystem bits and normalize it's config etc
DeltaFile
+18-0src/middlewared/middlewared/plugins/kubernetes_to_docker/migrate.py
+18-01 files

FreeNAS/freenas f60db31src/middlewared/middlewared/plugins/kubernetes_to_docker secrets_utils.py

Make sure list secrets gets us normalized data and verifies it's integrity
DeltaFile
+7-1src/middlewared/middlewared/plugins/kubernetes_to_docker/secrets_utils.py
+7-11 files

FreeNAS/freenas 657ed33src/middlewared/middlewared/plugins/kubernetes_to_docker list_k8s_backups.py list_utils.py

Add basic bits in place which determine if an app can be ported to docker
DeltaFile
+7-2src/middlewared/middlewared/plugins/kubernetes_to_docker/list_k8s_backups.py
+4-0src/middlewared/middlewared/plugins/kubernetes_to_docker/list_utils.py
+11-22 files

FreeNAS/freenas 633a46esrc/middlewared/middlewared/plugins/kubernetes_to_docker list_k8s_backups.py list_utils.py

Complete implementation for listing k8s backups
DeltaFile
+41-2src/middlewared/middlewared/plugins/kubernetes_to_docker/list_k8s_backups.py
+3-0src/middlewared/middlewared/plugins/kubernetes_to_docker/list_utils.py
+44-22 files

FreeNAS/freenas 4d76b48src/middlewared/middlewared/plugins/kubernetes_to_docker list_k8s_backups.py list_utils.py

Handle error when backup dir is not found
DeltaFile
+7-0src/middlewared/middlewared/plugins/kubernetes_to_docker/list_k8s_backups.py
+5-0src/middlewared/middlewared/plugins/kubernetes_to_docker/list_utils.py
+12-02 files

FreeNAS/freenas 34ed499src/middlewared/middlewared/plugins/kubernetes_to_docker migrate.py

Clone/promote necessary ix volumes
DeltaFile
+41-0src/middlewared/middlewared/plugins/kubernetes_to_docker/migrate.py
+41-01 files

FreeNAS/freenas fbe8e6csrc/middlewared/middlewared/plugins/kubernetes_to_docker list_utils.py

Fix backups listing logic
DeltaFile
+3-2src/middlewared/middlewared/plugins/kubernetes_to_docker/list_utils.py
+3-21 files