osism 0.20250530.0__py3-none-any.whl → 0.20250602.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
osism/commands/apply.py CHANGED
@@ -69,7 +69,7 @@ class Run(Command):
69
69
  )
70
70
  parser.add_argument(
71
71
  "--timeout",
72
- default=300,
72
+ default=os.environ.get("OSISM_TASK_TIMEOUT", 300),
73
73
  type=int,
74
74
  help="Timeout to end if there is no output",
75
75
  )
@@ -1,5 +1,6 @@
1
1
  # SPDX-License-Identifier: Apache-2.0
2
2
 
3
+ import os
3
4
  import subprocess
4
5
  import time
5
6
 
@@ -34,7 +35,7 @@ class Sync(Command):
34
35
  )
35
36
  parser.add_argument(
36
37
  "--task-timeout",
37
- default=3600,
38
+ default=os.environ.get("OSISM_TASK_TIMEOUT", 300),
38
39
  type=int,
39
40
  help="Timeout for a scheduled task that has not been executed yet",
40
41
  )
osism/tasks/__init__.py CHANGED
@@ -1,5 +1,6 @@
1
1
  # SPDX-License-Identifier: Apache-2.0
2
2
 
3
+ import logging
3
4
  import os
4
5
  import re
5
6
  import subprocess
@@ -77,6 +78,7 @@ def run_ansible_in_environment(
77
78
 
78
79
  # NOTE: Consider arguments in the future
79
80
  if locking:
81
+ logging.getLogger("redlock").setLevel(logging.WARNING)
80
82
  lock = Redlock(
81
83
  key=f"lock-ansible-{environment}-{role}",
82
84
  masters={utils.redis},
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: osism
3
- Version: 0.20250530.0
3
+ Version: 0.20250602.0
4
4
  Summary: OSISM manager interface
5
5
  Home-page: https://github.com/osism/python-osism
6
6
  Author: OSISM GmbH
@@ -27,7 +27,7 @@ Requires-Dist: GitPython==3.1.44
27
27
  Requires-Dist: Jinja2==3.1.6
28
28
  Requires-Dist: PyYAML==6.0.2
29
29
  Requires-Dist: ara==1.7.2
30
- Requires-Dist: celery[redis]==5.5.2
30
+ Requires-Dist: celery[redis]==5.5.3
31
31
  Requires-Dist: cliff==4.10.0
32
32
  Requires-Dist: deepdiff==8.5.0
33
33
  Requires-Dist: docker==7.1.0
@@ -37,7 +37,7 @@ Requires-Dist: flower==2.0.1
37
37
  Requires-Dist: hiredis==3.2.1
38
38
  Requires-Dist: jc==1.25.5
39
39
  Requires-Dist: keystoneauth1==5.11.0
40
- Requires-Dist: kombu==5.5.3
40
+ Requires-Dist: kombu==5.5.4
41
41
  Requires-Dist: kubernetes==32.0.1
42
42
  Requires-Dist: loguru==0.7.3
43
43
  Requires-Dist: nbcli==0.10.0.dev2
@@ -53,7 +53,7 @@ Requires-Dist: sqlmodel==0.0.24
53
53
  Requires-Dist: sushy==5.6.0
54
54
  Requires-Dist: tabulate==0.9.0
55
55
  Requires-Dist: transitions==0.9.2
56
- Requires-Dist: uvicorn[standard]==0.34.2
56
+ Requires-Dist: uvicorn[standard]==0.34.3
57
57
  Requires-Dist: watchdog==6.0.0
58
58
  Provides-Extra: ansible
59
59
  Requires-Dist: ansible-runner==2.4.1; extra == "ansible"
@@ -5,7 +5,7 @@ osism/main.py,sha256=Dt2-9sLXcS-Ny4DAz7hrha-KRc7zd7BFUTRdfs_X8z4,893
5
5
  osism/settings.py,sha256=mkvbxVQ64ZD7Ypk-bRePHn0gZ5j6Lcu2a578eLU0gQs,1309
6
6
  osism/actions/__init__.py,sha256=bG7Ffen4LvQtgnYPFEpFccsWs81t4zqqeqn9ZeirH6E,38
7
7
  osism/commands/__init__.py,sha256=Ag4wX_DCgXRdoLn6t069jqb3DdRylsX2nyYkiyCx4uk,456
8
- osism/commands/apply.py,sha256=mH3-NctgevVzP_1IW92FQeiYMCPB49K5hXbxmTY2vnA,16795
8
+ osism/commands/apply.py,sha256=q645f4qxmOAaUjVD7npzM2aNuOqfptVAkCLfE6x5IV8,16833
9
9
  osism/commands/baremetal.py,sha256=EDLorDkt3iUblIZb-Fn6fonnMewVEOyrLBTlfxuQ2tc,8043
10
10
  osism/commands/compose.py,sha256=iqzG7mS9E1VWaLNN6yQowjOqiHn3BMdj-yfXb3Dc4Ok,1200
11
11
  osism/commands/compute.py,sha256=cgqXWJa5wAvn-7e3FWCgX6hie_aK0yrKRkcNzjLXwDY,25799
@@ -17,7 +17,7 @@ osism/commands/log.py,sha256=2IpYuosC7FZwwLvM8HmKSU1NRNIelVVYzqjjVMCrOJk,4072
17
17
  osism/commands/manage.py,sha256=WxUZEhylZj2IhydAe3BAr3S5ED6opG243skfSq5q41s,11971
18
18
  osism/commands/netbox.py,sha256=PagHlAwEyzKzhrqi4nikkD8sjnVqAzzbDt8PVkl2j9k,6651
19
19
  osism/commands/noset.py,sha256=7zDFuFMyNpo7DUOKcNiYV8nodtdMOYFp5LDPcuJhlZ8,1481
20
- osism/commands/reconciler.py,sha256=xOyPzQj66xwjdQd2ysCTHX2yBvmMVMppUDZTas6voXc,2882
20
+ osism/commands/reconciler.py,sha256=Tp4aMlKzumEdcSsJCX76ud1iLXvuJjAmdyqs7uHBCcE,2929
21
21
  osism/commands/server.py,sha256=avmoOv5rjOi-fN2A-27cPwOtiy2Q2j6UFtCh3QrfWAI,7512
22
22
  osism/commands/service.py,sha256=A1lgAlGeCJpbFFqF55DRWPcCirIgpU0dzjzVLZ0mz3k,2649
23
23
  osism/commands/set.py,sha256=xLBi2DzbVQo2jb3-cOIE9In5UB3vFxquQJkDN-EsfhM,1425
@@ -36,7 +36,7 @@ osism/data/__init__.py,sha256=izXdh0J3vPLQI7kBhJI7ibJQzPqU_nlONP0L4Cf_k6A,1504
36
36
  osism/plugins/__init__.py,sha256=bG7Ffen4LvQtgnYPFEpFccsWs81t4zqqeqn9ZeirH6E,38
37
37
  osism/services/__init__.py,sha256=bG7Ffen4LvQtgnYPFEpFccsWs81t4zqqeqn9ZeirH6E,38
38
38
  osism/services/listener.py,sha256=eEamlQsJqCuU9K2QFmk3yM9LAJZEanVcTLtGMsNCKjs,9783
39
- osism/tasks/__init__.py,sha256=ZEu_KYsapTYp0etr-rLqie_NT_LndHDDpx53xITru5Y,8691
39
+ osism/tasks/__init__.py,sha256=68mP3DBhGr0om4_oxBLPF8TWBiVMr61lU7kdWiqV0dk,8769
40
40
  osism/tasks/ansible.py,sha256=_2zrHwynwwEv9nDnX-LbNCzcwy9dTUGo_yyutt34HyQ,1346
41
41
  osism/tasks/ceph.py,sha256=eIQkah3Kj4INtOkF9kTjHbXJ3_J2lg48EWJKfHc-UYw,615
42
42
  osism/tasks/conductor.py,sha256=okLlmuSsJpmu6zQOR_dXX0LMQI1xFBlHRm76qB6txRk,20502
@@ -46,11 +46,11 @@ osism/tasks/netbox.py,sha256=Dq2hg2yiv_dHV-zygJgy9T1ZhTSE32_a34fhfURUfTA,5912
46
46
  osism/tasks/openstack.py,sha256=g15tCll5vP1pC6ysxRCTZxplsdGmXbxaCH3k1Qdv5Xg,6367
47
47
  osism/tasks/reconciler.py,sha256=tnZEZZpveBCK4vHZkHE6wDcHfJAlsPcSjIVxB5ItSFM,1981
48
48
  osism/utils/__init__.py,sha256=_Y4qchR5yyI_JKhBWd_jcsvDLYZjxO0c3iMA_VRQl58,4304
49
- osism-0.20250530.0.dist-info/licenses/AUTHORS,sha256=EKFIR9F27AvoEXp1cA6FkGbjEOFt4Rcbipr5RJc7jSs,64
50
- osism-0.20250530.0.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
51
- osism-0.20250530.0.dist-info/METADATA,sha256=p5ZH0PS7XC8iz2s-FFeGy10nd93NDinuBAS-YXCmPu4,2903
52
- osism-0.20250530.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
53
- osism-0.20250530.0.dist-info/entry_points.txt,sha256=cTxzUWJff6JKe1Jv-iMMKayIiC26S1_Fph3k5faiQvw,3252
54
- osism-0.20250530.0.dist-info/pbr.json,sha256=3Gdc4g_dd2jHbkHZk28onO59wzLpSeDVrRWZwOrw3Wk,47
55
- osism-0.20250530.0.dist-info/top_level.txt,sha256=8L8dsI9hcaGHsdnR4k_LN9EM78EhwrXRFHyAryPXZtY,6
56
- osism-0.20250530.0.dist-info/RECORD,,
49
+ osism-0.20250602.0.dist-info/licenses/AUTHORS,sha256=oWotd63qsnNR945QLJP9mEXaXNtCMaesfo8ZNuLjwpU,39
50
+ osism-0.20250602.0.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
51
+ osism-0.20250602.0.dist-info/METADATA,sha256=frEuV5fcv6KmdWtJEXDlrh8IiN4ZR64rogZRpnE4sIA,2903
52
+ osism-0.20250602.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
53
+ osism-0.20250602.0.dist-info/entry_points.txt,sha256=cTxzUWJff6JKe1Jv-iMMKayIiC26S1_Fph3k5faiQvw,3252
54
+ osism-0.20250602.0.dist-info/pbr.json,sha256=t8jNfdhATa7R2M9W0MQ6bUK6qMjzDZnuhNROq0oJRmM,47
55
+ osism-0.20250602.0.dist-info/top_level.txt,sha256=8L8dsI9hcaGHsdnR4k_LN9EM78EhwrXRFHyAryPXZtY,6
56
+ osism-0.20250602.0.dist-info/RECORD,,
@@ -0,0 +1 @@
1
+ Christian Berendt <berendt@osism.tech>
@@ -0,0 +1 @@
1
+ {"git_version": "e6f441e", "is_release": false}
@@ -1 +0,0 @@
1
- renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@@ -1 +0,0 @@
1
- {"git_version": "424407f", "is_release": false}