使用ceilometer meter-list时,报错HTTPNotFound (HTTP 404) error

具体报错就是

The request you have made requires authentication. (HTTP 401) (Request-ID: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

解决办法:
把admin-token中的admin-token环境变量去掉

[root@server_2 ~]

# unset OS_TOKEN

完成之后,再次运行,一切正常

[root@server_2 ~]

# ceilometer meter-list
+———————————+——-+———–+—————————————+———+———————————-+
| Name | Type | Unit | Resource ID | User ID | Project ID |
+———————————+——-+———–+—————————————+———+———————————-+
| image | gauge | image | 9b3d8758-9863-4f21-87d8-bf4bb98884e2 | None | 0341849e239042fba0fce28f32e541b0 |
| image | gauge | image | 9f41c726-387c-478c-bbc4-3efa5f7cdd64 | None | 0341849e239042fba0fce28f32e541b0 |

This entry was posted in OpenStack and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *