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 run swift command to report 401Unauthorized error in openstack

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article mainly introduces how to do the 401 Unauthorized error running swift command in openstack. It has certain reference value. Interested friends can refer to it. I hope you will have a lot of gains after reading this article. Let Xiaobian take you to understand it together.

Error Description:

After installing and configuring swift, run the swift list command and report the following error:

Account GET failed: http://172.80.80.146:8081:8081/v1/AUTH_f3df03ae27a54dbbad2920b07a5462a9? format=json 401 Unauthorized [first 60 chars of response] Unauthorized

This server could not verify t

Run the swift stat command and get the following error:

Account HEAD failed: http://172.80.80.146:8081:8081/v1/AUTH_f3df03ae27a54dbbad2920b07a5462a9 401 Unauthorized

Looking for 401 Unauthorized error via Google, most articles say it is due to missing or incorrect configuration items in the proxy-server.conf configuration file, but I tried to add or modify it, and the problem still exists.

Solution:

Modify Keyston to use UUID tokens, find the/etc/keystone/keystone.conf file, find the token_format configuration entry, change its value to UUID, and then run service keystone restart to make the configuration take effect. Then re-run swift and you'll find the problem solved.

Thank you for reading this article carefully. I hope that Xiaobian will share the article "How to run swift command newspaper 401 Unauthorized error in openstack". This article is helpful to everyone. At the same time, I hope that everyone will support you a lot. Pay attention to the industry information channel. More relevant knowledge is waiting for you to learn!

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