Project

General

Profile

Bug #16893

Updated by Loïc Dachary over 7 years ago

OVH announced they will limit the number of authentication tokens issued on a daily basis http://travaux.ovh.net/?do=details&id=19345.  

 The teuthology openstack backend should be modified to re-use the same token (with --os-token <auth-token>) when possible. Tokens are typically valid for ~24h. 

 https://wiki.openstack.org/wiki/OpenStackClient/Authentication 

 * export OS_AUTH_TYPE=v2token 
 * $ openstack token issue 
 <pre> 
 +------------+----------------------------------+ 
 | Field        | Value                              | 
 +------------+----------------------------------+ 
 | expires      | 2016-08-12T09:53:50Z               | 
 | id           | da27cded0556439e85e7468343f1a257 | 
 | project_id | 131b886b156a4f84b5f41baf2fbe646c | 
 | user_id      | 291dde1633154837be2693c6ffa6315c | 
 +------------+----------------------------------+ 
 </pre> 
 * export OS_TOKEN=da27cded0556439e85e7468343f1a257 

Back