部署openstack-rally并测试我的云时,出现错误“找不到有效主机”。

时间:2018-09-12 07:14:26

标签: python-2.7 openstack openstack-nova

我收到了一个错误消息,提示我“未找到有效的主机”,但是我的计算正常,可以用其他方式创建VM。

 GetResourceErrorStatus: Resource <Server: s_rally_a8539dd5_B24CrxN7> has ERROR status.
    Fault: {u'message': u'No valid host was found. Exceeded max scheduling attempts 3 for instance 061027f0-9e08-4f36-8bca-437be4eb1f1f. Last exception: [u\'Traceback (most recent call last):\\n\', u\'  File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2329, in _do', u'code': 500, u'created': u'2018-09-12T02:52:15Z'}

他是我的openrc:

unset OS_SERVICE_TOKEN
unset TMOUT
export OS_USERNAME=admin
export OS_PASSWORD=13f24ba768f14d9f
export OS_AUTH_URL=http://10.254.4.3:5000/v2.0
export PS1='[\u@\h \W(keystone_admin)]\$ '
export OS_IDENTITY_API_VERSION=2.0
export OS_TENANT_NAME=admin
export OS_REGION_NAME=RegionOne
export OS_VOLUME_API_VERSION=2
export LANG=en_US.UTF-8
export OS_COMPUTE_API_VERSION=2

拉力赛部署检查的输出如下: [root @ 9bbb1334cda8〜(keystone_admin)]#集会部署检查

keystone endpoints are valid and following services are available:
+-------------+--------------+-----------+
| services    | type         | status    |
+-------------+--------------+-----------+
| __unknown__ | computev3    | Available |
| __unknown__ | extension    | Available |
| __unknown__ | volumev2     | Available |
| ceilometer  | metering     | Available |
| cinder      | volume       | Available |
| ec2         | ec2          | Available |
| glance      | image        | Available |
| gnocchi     | metric       | Available |
| keystone    | identity     | Available |
| neutron     | network      | Available |
| nova        | compute      | Available |
| s3          | s3           | Available |
| senlin      | clustering   | Available |
| swift       | object-store | Available |
+-------------+--------------+-----------+

1 个答案:

答案 0 :(得分:0)

这意味着您或者没有可用的nova-compute,或者没有任何可用的免费计算资源。

基本上,您没有更多空间来创建虚拟机。