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.
Shipyard 3.5.0b1 is installed on one machine and the following works, whereas on systems with 3.5.0b3 the following fails. I'm assuming this is related to the changes introduced in 3.5.0b2 regarding the account key/aad change in the batch section based on the error I'm seeing but I'm not sure why it's failing.
I have a credentials.yaml file I've saved in keyvault that I'm trying to pull that looks like the following:
I'm using service principal auth and I specify the service principal auth key as a CLI option when I try to run any shipyard command with the second credential file (which pulls the first one from keyvault).
e.g. shipyard account list --aad-auth-key $AUTHKEY
On the latest version of shipyard, I get an error that says batch credentials not specified or invalid:
Traceback (most recent call last):
File "/home/jd/batch-shipyard/shipyard.py", line 2274, in <module>
cli()
File "/home/jd/batch-shipyard/.shipyard/lib/python3.5/site-packages/click/core.py", line 722, in __call__
return self.main(*args, **kwargs)
File "/home/jd/batch-shipyard/.shipyard/lib/python3.5/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/jd/batch-shipyard/.shipyard/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/jd/batch-shipyard/.shipyard/lib/python3.5/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/jd/batch-shipyard/.shipyard/lib/python3.5/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/jd/batch-shipyard/.shipyard/lib/python3.5/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/jd/batch-shipyard/.shipyard/lib/python3.5/site-packages/click/decorators.py", line 64, in new_func
return ctx.invoke(f, obj, *args[1:], **kwargs)
File "/home/jd/batch-shipyard/.shipyard/lib/python3.5/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/jd/batch-shipyard/shipyard.py", line 861, in account_list
ctx.initialize_for_batch()
File "/home/jd/batch-shipyard/shipyard.py", line 183, in initialize_for_batch
skip_monitor_config=True, fs_storage=False)
File "/home/jd/batch-shipyard/shipyard.py", line 388, in _init_config
convoy.settings.credentials_batch(self.config)
File "/home/jd/batch-shipyard/convoy/settings.py", line 1591, in credentials_batch
raise ValueError('batch credentials not specified or invalid')
ValueError: batch credentials not specified or invalid
The latest changes mentioned that aad and batch account keys aren't supported in the same credentials file, but I don't think that's the issue as I'm not specifying the batch account key. I'm not sure if there's something else I'm doing incorrectly.
Thanks,
JD
The text was updated successfully, but these errors were encountered:
j-dahl
changed the title
Unable to pull saved credentials.yaml in keyvault after 3.5.0b2 changes
Unable to pull saved credentials.yaml from keyvault after 3.5.0b2 changes
Jun 19, 2018
Shipyard 3.5.0b1 is installed on one machine and the following works, whereas on systems with 3.5.0b3 the following fails. I'm assuming this is related to the changes introduced in 3.5.0b2 regarding the account key/aad change in the batch section based on the error I'm seeing but I'm not sure why it's failing.
I have a credentials.yaml file I've saved in keyvault that I'm trying to pull that looks like the following:
I have another credential file that pulls this information that looks like the following and references the above:
I'm using service principal auth and I specify the service principal auth key as a CLI option when I try to run any shipyard command with the second credential file (which pulls the first one from keyvault).
e.g. shipyard account list --aad-auth-key $AUTHKEY
On the latest version of shipyard, I get an error that says batch credentials not specified or invalid:
The latest changes mentioned that aad and batch account keys aren't supported in the same credentials file, but I don't think that's the issue as I'm not specifying the batch account key. I'm not sure if there's something else I'm doing incorrectly.
Thanks,
JD
The text was updated successfully, but these errors were encountered: