openstack報錯:Host is not mapped to any cell
阿新 • • 發佈:2018-12-10
環境說明:
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
問題解決辦法:
控制節點以stack使用者執行如下命令:
[email protected]:~$ 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
重建例項:
再次新建例項dt04:
例項建立成功,且例項位於openstack-computer節點。
至此問題解決。