You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.
Intermittently, the shipyard pool list command fails with the exception TypeError: 'NoneType' object is not iterable.
Batch Shipyard Version
3.7.0
Steps to Reproduce
After cloning the batch shipyard repo locally, the command used is:
python3 shipyard.py pool list --pool <path to pool config yaml>
This does not reliably reproduce the error, but the error has appeared multiple times transiently.
Expected Results
2019-08-30 17:20:03.986 DEBUG - fetching credentials conf from keyvault
2019-08-30 17:20:04.653 INFO - list of pools
* pool id: ...
Actual Results
2019-08-30 18:40:04.092 DEBUG - fetching credentials conf from keyvault
Traceback (most recent call last):
File "/opt/batch-shipyard/shipyard.py", line 3130, in <module>
cli()
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/opt/batch-shipyard/shipyard.py", line 1567, in pool_list
convoy.fleet.action_pool_list(ctx.batch_client, ctx.config)
File "/opt/batch-shipyard/convoy/fleet.py", line 3221, in action_pool_list
batch.list_pools(batch_client, config)
File "/opt/batch-shipyard/convoy/batch.py", line 1215, in list_pools
for de in err.values:
TypeError: 'NoneType' object is not iterable
Problem Description
Intermittently, the
shipyard pool list
command fails with the exceptionTypeError: 'NoneType' object is not iterable
.Batch Shipyard Version
3.7.0
Steps to Reproduce
After cloning the batch shipyard repo locally, the command used is:
python3 shipyard.py pool list --pool <path to pool config yaml>
This does not reliably reproduce the error, but the error has appeared multiple times transiently.
Expected Results
Actual Results
Redacted Configuration
Additional Logs
Additional Comments
The text was updated successfully, but these errors were encountered: