Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to view image in Project

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report