Redhat7搭建L版本,实例创建问题

nova boot --flavor m1.tiny --image cirros --nic net-id=a0bde269-d320-4853-9045-e2e90ba14031 \
>   --security-group default --key-name mykey public-instance
ERROR (ClientException): Unexpected API Error. Please report this athttp://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
<class 'keystoneclient.exceptions.BadRequest'> (HTTP 500) (Request-ID: req-c0467d40-2fff-42b4-915a-d5ff3f1a7ff0)


nova boot --flavor m1.tiny --image cirros --nic net-id=9d4daabf-ef36-4949-90e5-9904851d4a4a \
          --security-group default  public-instance


2016-01-14 11:00:16.143 11528 ERROR nova.api.openstack.extensions BadRequest: Expecting to find username or userId in passwordCredentials - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-5a787291-5ea7-42ec-8afc-c9cb2e826fa8)


在computer节点中的nova.conf缺少关于neutron的配置,添加以后配置即可解决

The document is missing this block in nova.conf

[neutron]
url = http://controller:9696
auth_url = http://controller:35357
auth_plugin = password
project_domain_id = default
user_domain_id = default
region_name = RegionOne
project_name = service
username = neutron
password = neutron_pass

Adding this fixed this issue for my Kilo install.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值