/var/log/nova/nova-placement-api.log
[mw_shl_code=applescript,true]2017-12-20 21:25:03.564 2347 ERROR keystonemiddleware.auth_token [-] Bad response code while validating token: 400
2017-12-20 21:25:03.565 2347 WARNING keystonemiddleware.auth_token [-] Identity response: {"error": {"message": "Invalid input for field identity/password/user: id or name must be present.", "code": 400, "title": "Bad Request"}}
2017-12-20 21:25:03.565 2347 CRITICAL keystonemiddleware.auth_token [-] Unable to validate token: Failed to fetch token data from identity server
[/mw_shl_code]
/etc/nova/nova.conf
[mw_shl_code=applescript,true][placement]
os_region_name=RegionOne
auth_type=password
auth_url=http://192.168.1.105:35357/v3
project_name=service
project_domain_name=Default
username=placement
user_domain_name=Default
password=mypassword
[/mw_shl_code]
但是其他 openstack 相关命令可以使用。
|