su -s /bin/sh -c "nova-manage db sync" nova
出现Command failed, please check log for more info
2018-12-01 05:56:58 120737 CRITICAL nova [-] (OperationalError) (1045, "Access denied for user 'nova'@'localhost' (using password: YES)") None None
查询时
nova image-list
Please input your password for the keyring
ERROR: ConnectionRefused: '[Errno 111] Connection refused'