事象内容

Openstack magnum の動作確認で、openstack coe service list コマンドを実行すると、下記エラーとなる。

[root@controller ~]# openstack coe service list
'NoneType' object has no attribute 'replace' (HTTP 500) (Request-ID: req-685281b7-d4c5-4ae3-8522-2b39e3babd8f)
[root@controller ~]# 

解決方法

magnum 設定ファイル( /etc/magnum/magnum.conf )の [ keystone_authtoken ] セクションで指定する認証先URL のパラメーターが間違っていることが原因である。www_authenticate_uri ではなく auth_uri パラメーターを使用します。

www_authenticate_uri = http://controller:5000/v3
↓
auth_uri = http://controller:5000/v3