forem/selfhost

Failed to login using API token, please verify validity of API token

Opened this issue · 1 comments

Hello,

I run into an error while I try to run the digitalocean playbook. I followed all the instruction and the dotcli is able to create and remove depletes on DO, but the error is not very specific with the key issue.

Any help please?

[WARNING]: Collection amazon.aws does not support Ansible version 2.11.12

PLAY [Deploy Forem to DigitalOcean] ********************************************************************************************************************************************************************************

TASK [Gathering Facts] *********************************************************************************************************************************************************************************************
ok: [forem]

TASK [Check for doctl] *********************************************************************************************************************************************************************************************
changed: [forem]

TASK [Fail if doctl is not installed] ******************************************************************************************************************************************************************************
skipping: [forem]

TASK [Check doctl account get] *************************************************************************************************************************************************************************************
changed: [forem]

TASK [Fail if doctl account get fails] *****************************************************************************************************************************************************************************
skipping: [forem]

TASK [Include vars from doctl/config.yaml into the 'doctl_check' variable"] ****************************************************************************************************************************************
ok: [forem]

TASK [Set doctl facts] *********************************************************************************************************************************************************************************************
ok: [forem]

TASK [preflight : Fetch public WAN IPv4 address json] **************************************************************************************************************************************************************
ok: [forem]

TASK [preflight : Set local_wan_ip_address fact] *******************************************************************************************************************************************************************
ok: [forem]

TASK [preflight : Verify Ansible is >= 2.11.0] *********************************************************************************************************************************************************************
ok: [forem] => changed=false 
  msg: All assertions passed

TASK [preflight : Get list of installed Python 3 packages] *********************************************************************************************************************************************************
changed: [forem]

TASK [preflight : Read requirements.txt] ***************************************************************************************************************************************************************************
ok: [forem]

TASK [preflight : Generate list of missing pip prerequisites] ******************************************************************************************************************************************************
ok: [forem]

TASK [preflight : Generate list of missing python packages] ********************************************************************************************************************************************************
ok: [forem]

TASK [preflight : Verify that required Python 3 packages are installed] ********************************************************************************************************************************************
ok: [forem] => changed=false 
  msg: All assertions passed

TASK [Get FCOS facts] **********************************************************************************************************************************************************************************************

TASK [fcos : Get FCOS releases] ************************************************************************************************************************************************************************************
ok: [forem]

TASK [fcos : Set FCOS file download facts] *************************************************************************************************************************************************************************
ok: [forem]

TASK [Gather information about all images] *************************************************************************************************************************************************************************
fatal: [forem]: FAILED! => changed=false 
  msg: Failed to login using API token, please verify validity of API token.

PLAY RECAP *********************************************************************************************************************************************************************************************************
forem  ```

I have the same issue. have you got any solution?