After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 293 of 317

Chapter 13 283 Troubleshooting OpenStack Storage Service OpenStack Storage Service (Swift) is built for highly available storage, but there will be times where something will go wrong, from authentication issues to failing hardware. How to do it... Carry out the following steps when encountering the problems presented. Authentication issues Authentication issues in Swift occur when a user or a system has been configured with the wrong credentials. A Swift system that has been supported by OpenStack Authentication Service (Keystone) will require you to perform authentication steps against Keystone manually as well as view logs during the transactions. Check the Keystone logs for evidence of user authentication issues for Swift. The user will see the following message with authentication issues: If Swift is working correctly but Keystone isn't, skip to the Troubleshooting OpenStack Authentication recipe. Swift can add complexity to authentication issues when ACLs have been applied to containers. For example, a user might not have been placed in an appropriate group that is allowed to perform that function on that container. To view a container's ACL, issue the following command on a client that has the Swift tool installed: swift -V 2.0 -A http://keystone_server:5000/v2.0 -U tenant:user -K password stat container The Read ACL: and Write ACL: information will show which roles are allowed to perform those actions. To check a user's roles, run the following set of commands on the Keystone server: # Administrator Credentials export OS_USERNAME=admin export OS_PASSWORD=openstack export OS_AUTH_URL=http://172.16.0.1:5000/v2.0 export OS_TENANT_NAME=cookbook # Get User ID keystone user-list # Get Tenant ID www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook