#storagegrid ansible tenant problems

1 messages · Page 1 of 1 (latest)

rugged shale
#

i am having problems when creating a tenant using ansible, if i leave out no_log, it bombs. if i add no_log, it bombs.
[darren.brent@dc2tools1 build-playbooks]$ ansible-playbook eu-west-1.yml -v
Using /etc/ansible/ansible.cfg as config file
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
What is your bucket name?: bucket1
What is your region?: eu-west-1
Enter your Tenant name.: dddddd

PLAY [localhost] ********************************************************************************************************************************************

TASK [Get grid authorization token] *************************************************************************************************************************

TASK [Create a StorageGRID Tenant] **************************************************************************************************************************
fatal: [localhost]: FAILED! => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

PLAY RECAP **************************************************************************************************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

=================================================

#

i have had to cut down the msg due to length restrictions

#

TASK [Create a StorageGRID Tenant] **************************************************************************************************************************
[WARNING]: Module did not set no_log for update_password
fatal: [localhost]: FAILED! => {"changed": false, "msg": {"key": "error.401", "text": "Access denied."}}

PLAY RECAP **************************************************************************************************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

#

this has worked previously on 11.6, it just displayed a warning but didnt fail

#

TASK [Create a StorageGRID Tenant] **************************************************************************************************************************
[WARNING]: Module did not set no_log for update_password
ok: [localhost] => {"changed": false, "msg": "", "resp": {"capabilities": ["s3", "management"], "description": null, "id": "19782069320856220853", "name": "hpedarren2023", "policy": {"allowPlatformServices": true, "allowSelectObjectContent": false, "quotaObjectBytes": 107374182400, "useAccountIdentitySource": true}}}

celest patrol
#

Morning @rugged shale it’s fine here, but you might have better luck posting this in #1062048885847117935 since some of our Ansible devs monitor that forum channel.