Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to view image in Project

Shulou Source: shulou.com Published: 2022-06-01 00:41:32 10月04日 Update

How to view the image in Project, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

User admin wants to view image in Project

Step 1 Login

Token contains the Role information of User

Step 2 displays the operation interface

Notice that the top shows that the Project accessible by admin is "admin" and "demo". In fact, something happened before that:

At the same time, admin can access Intance, Volume, Image and other services.

This is because admin has got the Endpoints of each Service from Keystone.

Step 3 displays the image list

Click "Images" and a list of image will be displayed

These things are going on behind it:

First, admin sends the request to Glance's Endpoint

Glance asks Keystone about the validity of the admin identity.

Next Glance will look at / etc/glance/policy.json. Determine whether admin has permission to view image

The permission is determined, and Glance sends the image list to admin.

Troubleshoot

OpenStack troubleshoots problems mainly through logs. Each Service has its own log file.

Keystone has two main logs: keystone.log and keystone_access.log are stored in the / var/log/apache2/ directory.

Devstack's screen window has opened these two logs for us.

If you need the most detailed log information, you can turn on the debug option in / etc/keystone/keystone.conf

In a non-devstack installation, the logs may be in the / var/log/keystone/ directory.

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Tags: Logs two information permissions directories help effective clear next things content at the same time for this files articles novices methods more validity interface Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno vpn Shulou Information MariaDB Xiaomi macOS