OpenStack报错:Host is not mapped to any cell

发布时间:2020-05-29 11:29:47 作者:loong576
来源:网络 阅读:3023

环境说明:

openstack版本pike
控制节点主机openstack-controller(ubuntu 16.04.5)
计算节点主机openstack-computer(ubuntu 16.04.5)
镜像cirros


报错信息:

新建实例dt01报错:Host 'openstack-computer' is not mapped to any cell

OpenStack报错:Host is not mapped to any cell



问题解决办法:

控制节点以stack用户执行如下命令:

stack@openstack-controller:~$ nova-manage cell_v2 discover_hosts --verbose 
Option "logdir" from group "DEFAULT" is deprecated. Use option "log-dir" from group "DEFAULT".
/usr/local/lib/python2.7/dist-packages/pymysql/cursors.py:166: Warning: (1287, u"'@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead")
  result = self._query(query)
Found 2 cell mappings.
Skipping cell0 since it does not contain hosts.
Getting computes from cell 'cell1': da859b66-f993-4b79-ac58-58009ad27bea
Found 0 unmapped computes in cell: da859b66-f993-4b79-ac58-58009ad27bea

OpenStack报错:Host is not mapped to any cell


重建实例:

再次新建实例dt04:

OpenStack报错:Host is not mapped to any cell

实例创建成功,且实例位于openstack-computer节点。


至此问题解决。


参考:https://ask.openstack.org/en/question/116517/host-is-not-mapped-to-any-cell/

https://docs.openstack.org/nova/latest/user/cells.html#step-by-step-for-common-use-cases



推荐阅读:
  1. zabbix-windows客户端安装
  2. AD账户频繁被锁定-开启日志审核策略

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

cells openstack pike

上一篇:HTML5 学习手笔二:canvas API 绘制树形图案A

下一篇:使用PHP+Ajax实现上传文件进度条且可以动态显示进度

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》