az batch pool create: error: 'NoneType' object has no attribute 'startswith'
wonjoonSeol opened this issue · 2 comments
Problem description
Unable to create Pool using the command
az batch pool create --json-file pool.json
Problem details
Trying out distributed training. Currently setting up clusters.
Can see creating cluster notebook has some typos - I have fixed multiple minor errors (will create pull requests once I successfully do everything) and carrying on creating the pool now.
Upgraded my Azure subscription to pay-as-go from free-trial to allow vCpu 6 for NV6.
I have tried to create pool manually on Azure portal, but their interface is very unfriendly. I am unable to add Airsim VM image link address from storage account (there is no link button) so I'll have to fix this command.
End up with this error : (Last part in the jupyter notebook)
az batch pool create: error: 'NoneType' object has no attribute 'startswith'
Experiment/Environment details
- Tutorial used:DistributedRL
- Environment used: NA
- Versions of artifacts used python 3.6 Keras 2.1.2
ps. If you have time, can you kindly have a look at issue 85: #85
Major problem I have with E2E deeplearning is I am not able to connect to Airsim client. So I cannot test the model on landscape environment.
I just noticed I am getting the same error with other batch pool commands:
C:\Users\>az batch pool list --subscription abcd
usage: az batch pool list [-h] [--verbose] [--debug]
[--output {json,jsonc,table,tsv,yaml,none}]
[--query JMESPATH] [--filter FILTER]
[--select SELECT] [--expand EXPAND]
[--account-name ACCOUNT_NAME]
[--account-key ACCOUNT_KEY]
[--account-endpoint ACCOUNT_ENDPOINT]
[--subscription _SUBSCRIPTION]
az batch pool list: error: 'NoneType' object has no attribute 'startswith'
Seems like bug from az batch pool not the json, closing the issue here.
I used Batch Explorer to manually create the pool using the similar setting.