osism 0.20250827.0__py3-none-any.whl → 0.20250914.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/manage.py CHANGED
@@ -87,7 +87,9 @@ class ImageClusterapi(Command):
87
87
  logger.info(f"date: {splitted[0]}")
88
88
  logger.info(f"image: {splitted[1]}")
89
89
 
90
- r = findall(r".*ubuntu-2204-kube-v(.*\..*\..*).qcow2", splitted[1])
90
+ r = findall(
91
+ r".*ubuntu-[0-9][02468]04-kube-v(.*\..*\..*).qcow2", splitted[1]
92
+ )
91
93
  logger.info(f"version: {r[0].strip()}")
92
94
 
93
95
  url = urljoin(base_url, splitted[1])
@@ -77,4 +77,5 @@ SUPPORTED_HWSKUS = [
77
77
  "Accton-AS7326-56X",
78
78
  "Accton-AS7726-32X",
79
79
  "Accton-AS9716-32D",
80
+ "Accton-AS9726-32D",
80
81
  ]
@@ -232,3 +232,13 @@ def _get_conductor_redfish_address(device):
232
232
  logger.warning(f"Could not get conductor Redfish address: {exc}")
233
233
 
234
234
  return None
235
+
236
+
237
+ def check_task_lock_and_exit():
238
+ """
239
+ Check if tasks are locked and exit with error message if they are.
240
+ Used by commands that should not run when tasks are locked.
241
+
242
+ This is a convenience wrapper around the main utils function.
243
+ """
244
+ return utils.check_task_lock_and_exit()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: osism
3
- Version: 0.20250827.0
3
+ Version: 0.20250914.0
4
4
  Summary: OSISM manager interface
5
5
  Home-page: https://github.com/osism/python-osism
6
6
  Author: OSISM GmbH
@@ -29,7 +29,7 @@ Requires-Dist: PyYAML==6.0.2
29
29
  Requires-Dist: ara==1.7.3
30
30
  Requires-Dist: celery[redis]==5.5.3
31
31
  Requires-Dist: cliff==4.11.0
32
- Requires-Dist: deepdiff==8.6.0
32
+ Requires-Dist: deepdiff==8.6.1
33
33
  Requires-Dist: docker==7.1.0
34
34
  Requires-Dist: dtrack-auditor==1.5.0
35
35
  Requires-Dist: fastapi==0.116.1
@@ -41,7 +41,7 @@ Requires-Dist: kombu==5.5.4
41
41
  Requires-Dist: kubernetes==33.1.0
42
42
  Requires-Dist: loguru==0.7.3
43
43
  Requires-Dist: nbcli==0.10.0.dev2
44
- Requires-Dist: openstacksdk==4.7.0
44
+ Requires-Dist: openstacksdk==4.7.1
45
45
  Requires-Dist: paramiko==3.5.1
46
46
  Requires-Dist: pottery==3.0.1
47
47
  Requires-Dist: prompt-toolkit==3.0.52
@@ -59,9 +59,9 @@ Requires-Dist: watchdog==6.0.0
59
59
  Requires-Dist: websockets==15.0.1
60
60
  Provides-Extra: ansible
61
61
  Requires-Dist: ansible-runner==2.4.1; extra == "ansible"
62
- Requires-Dist: ansible-core==2.19.1; extra == "ansible"
62
+ Requires-Dist: ansible-core==2.19.2; extra == "ansible"
63
63
  Provides-Extra: openstack-image-manager
64
- Requires-Dist: openstack-image-manager==0.20250827.0; extra == "openstack-image-manager"
64
+ Requires-Dist: openstack-image-manager==0.20250912.0; extra == "openstack-image-manager"
65
65
  Dynamic: author
66
66
  Dynamic: author-email
67
67
  Dynamic: classifier
@@ -14,7 +14,7 @@ osism/commands/container.py,sha256=jHk5A0PXBzHGIm-1d5HQZI_POANAq7An1lZGRbqBvr0,1
14
14
  osism/commands/get.py,sha256=ryytjtXWmlMV0NucP5tGkMZu0nIlC4xVtjRk4iMZ06c,8967
15
15
  osism/commands/lock.py,sha256=MrZ5Ku6xJkic8Nlnv285V89EAgi0NQ8HZioU8urpWXA,3220
16
16
  osism/commands/log.py,sha256=QnnTTNiAoa8oj4kDOcggh0QrRAD6onxcEpLXBy7CvDg,4113
17
- osism/commands/manage.py,sha256=nQTsV-0D9_JLR7v53Wa7G0DcOmmfntZ557W4mcQzNw0,17095
17
+ osism/commands/manage.py,sha256=mYPXha5LmLyzHMc04jBJZ0Bva0I2fyPorrUuGoTWtSg,17135
18
18
  osism/commands/netbox.py,sha256=dxljfrQ07qHdUgWWRiAxzihlRmXI2JeWWPicuuKTRww,8659
19
19
  osism/commands/noset.py,sha256=0_5-LruRIbmzKP8UfV6r25DaYf0sWC958GZAl5nj04g,1697
20
20
  osism/commands/reconciler.py,sha256=2svFOFEQtPd2z14_lMd0yGrKLgGJ9dh0bCnyCHhl7ms,2305
@@ -52,24 +52,24 @@ osism/tasks/conductor/config.py,sha256=n1H9_8DY90p5E4mygzKyJUl8G3WdDuGHFTp-SrmZm
52
52
  osism/tasks/conductor/ironic.py,sha256=sxUHAzs8_Z-IaB5ZZ0ufObWiytBKiptPUWoIGWo2wcY,16440
53
53
  osism/tasks/conductor/netbox.py,sha256=xPJn-tXLqTAgW3v6L9rQ__XGHhM7ErchnyfsLY6iH14,13381
54
54
  osism/tasks/conductor/redfish.py,sha256=hOOS-_l3Qmo_6vLsgjZmJwTxLTf029hhFRVkU0TMLL0,12723
55
- osism/tasks/conductor/utils.py,sha256=-vHsyi0Adlk8qdoZkhM2kUwG7DqwwZZVE0JGK5Z92mI,8127
55
+ osism/tasks/conductor/utils.py,sha256=BcSpRNTrv5CeFUr7PKMrMWY15JrAannEMWsJ09It6OU,8423
56
56
  osism/tasks/conductor/sonic/__init__.py,sha256=oxTTl_MGK4iWK9uNDRNlULtGrDGCQHrlJZ04weh_Lh8,777
57
57
  osism/tasks/conductor/sonic/bgp.py,sha256=PC6gGI5bCj2PCXcNGyMV9-EdlJWDsYaodzxigmYSZvw,3088
58
58
  osism/tasks/conductor/sonic/cache.py,sha256=Asv2k3nLJejuq7iB0a_LyK8dEmJzypP9v3OHkNY3GwI,3438
59
59
  osism/tasks/conductor/sonic/config_generator.py,sha256=U9tFNdJsZIdk-lzbkodXiWmK4FJq0FplBKKKuP7R27o,53269
60
60
  osism/tasks/conductor/sonic/connections.py,sha256=MU3u7HRG42dDlKL5GMruDVSvVl6AUXEf_WivfYdFURE,19297
61
- osism/tasks/conductor/sonic/constants.py,sha256=HjVFwmH-AN3np1qN97ahEAcwz2-4cHa-pA9pXWqWsqs,2219
61
+ osism/tasks/conductor/sonic/constants.py,sha256=hBNaI-uS4gMSi4H96495SBmqBENjCKNCJTLYPNevmIU,2244
62
62
  osism/tasks/conductor/sonic/device.py,sha256=ZYJA0bQ8waKWStzWUPxbcwNWa2Z_hMB3pqs8aA_nxXA,2458
63
63
  osism/tasks/conductor/sonic/exporter.py,sha256=25L1vbi84ZQD0xNHNTWk-anTz5QRkGJskCECBkeGQw4,8882
64
64
  osism/tasks/conductor/sonic/interface.py,sha256=M876LHdFqGxUfTizzDusdzvCkDI0vCgqte5uLmOXFaY,39472
65
65
  osism/tasks/conductor/sonic/sync.py,sha256=fpgsQVwq6Hb7eeDHhLkAqx5BkaK3Ce_m_WvmWEsJyOo,9182
66
66
  osism/utils/__init__.py,sha256=IEr0sR1HKg-QI_u84fs4gMldC6-EPSxvMBh2zMGu5dU,9939
67
67
  osism/utils/ssh.py,sha256=nxeEgwjJWvQCybKDp-NelMeWyODCYpaXFCBchAv4-bg,8691
68
- osism-0.20250827.0.dist-info/licenses/AUTHORS,sha256=EKFIR9F27AvoEXp1cA6FkGbjEOFt4Rcbipr5RJc7jSs,64
69
- osism-0.20250827.0.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
70
- osism-0.20250827.0.dist-info/METADATA,sha256=db-Wl6Z-yJlLgkOrnSul0rhX7AsSUBS4IjbGZylytO0,2971
71
- osism-0.20250827.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
72
- osism-0.20250827.0.dist-info/entry_points.txt,sha256=W45YQ7MJ7BCAPZXl3F6d2FSi6An0moZQbzLn_BwGnRE,4618
73
- osism-0.20250827.0.dist-info/pbr.json,sha256=RMUc1kb18-_rQuHlqeVqOjLNYTKhFnuNFJHUGDb-3DQ,47
74
- osism-0.20250827.0.dist-info/top_level.txt,sha256=8L8dsI9hcaGHsdnR4k_LN9EM78EhwrXRFHyAryPXZtY,6
75
- osism-0.20250827.0.dist-info/RECORD,,
68
+ osism-0.20250914.0.dist-info/licenses/AUTHORS,sha256=EKFIR9F27AvoEXp1cA6FkGbjEOFt4Rcbipr5RJc7jSs,64
69
+ osism-0.20250914.0.dist-info/licenses/LICENSE,sha256=tAkwu8-AdEyGxGoSvJ2gVmQdcicWw3j1ZZueVV74M-E,11357
70
+ osism-0.20250914.0.dist-info/METADATA,sha256=kQZkqrP9vB1jK4uyDlxDJiPI1udkU8QkxKi5kbziamA,2971
71
+ osism-0.20250914.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
72
+ osism-0.20250914.0.dist-info/entry_points.txt,sha256=W45YQ7MJ7BCAPZXl3F6d2FSi6An0moZQbzLn_BwGnRE,4618
73
+ osism-0.20250914.0.dist-info/pbr.json,sha256=jVkYbaHIR5V7eupVx4WFWlCoxsLsuX3ePqLHSwmGLtI,47
74
+ osism-0.20250914.0.dist-info/top_level.txt,sha256=8L8dsI9hcaGHsdnR4k_LN9EM78EhwrXRFHyAryPXZtY,6
75
+ osism-0.20250914.0.dist-info/RECORD,,
@@ -0,0 +1 @@
1
+ {"git_version": "10a12ce", "is_release": false}
@@ -1 +0,0 @@
1
- {"git_version": "bbad13f", "is_release": false}