prominence-eosc / imc

PROMINENCE infrastructure provisioner
Apache License 2.0
0 stars 0 forks source link

Update cloud_quotas.py to handle token-based uccess to OpenStack #43

Closed alahiff closed 5 years ago

alahiff commented 5 years ago

See the following for information on how to obtain the appropriate token from OpenStack APIs

alahiff commented 5 years ago

Implemented in https://github.com/prominence-eosc/imc/commit/09e9e3822a2f8b285fb41d9e2200cdd2874f39dc https://github.com/prominence-eosc/imc/commit/a17256a959ea4796ed5ddafee68f898b5c7b3cd5 https://github.com/prominence-eosc/imc/commit/bbd1bc079e947fe484e8bfc95c336998253cffb8 https://github.com/prominence-eosc/imc/commit/88482e4b81c71b6d80d772719a8d1033ecd23beb

It turns out we can't fully test as the one cloud we have access to which uses access tokens doesn't allow users to get quotas with detail=True.