我在landscape0:job-handler-1.log中看到:
2015-03-18 14:00:13 INFO root RetryingCall for '_create_networks_and_router' failed, trying 119 more time(s):
2015-03-18 14:00:13 INFO root Traceback (failure with no frames): <class 'twisted.internet.error.ConnectionRefusedError'>: Connection was refused by other side: 111: Connection refused.
2015-03-18 14:00:13 INFO twisted Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x7f671863a128>
2015-03-18 14:00:13 INFO root RetryingCall for 'get_client' failed, trying 119 more time(s):
2015-03-18 14:00:13 INFO root Traceback: <class 'canonical.openstack.clientshelper.ServiceNotFound'>: The compute service couldn't be found in the Keystone service catalog.
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:423:errback
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:490:_startRunCallbacks
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:577:_runCallbacks
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:1155:gotResult
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:1097:_inlineCallbacks
/usr/lib/python2.7/dist-packages/twisted/python/failure.py:389:throwExceptionIntoGenerator
/opt/canonical/landscape/canonical/openstack/clientshelper.py:56:get_client
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:1099:_inlineCallbacks
/opt/canonical/landscape/canonical/openstack/clientshelper.py:81:_get_authenticated_endpoint
15-03-18 14:04:43 INFO root RetryingCall for '_create_networks_and_router' failed, trying 110 more time(s):
2015-03-18 14:04:43 INFO root Traceback: <class 'canonical.landscape.model.openstack.jobs.NeutronDHCPAgentNotUp'>: No DHCP agent found.
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:423:errback
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:490:_startRunCallbacks
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:577:_runCallbacks
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:1155:gotResult
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:1097:_inlineCallbacks
/usr/lib/python2.7/dist-packages/twisted/python/failure.py:389:throwExceptionIntoGenerator
/opt/canonical/landscape/canonical/landscape/model/openstack/jobs.py:496:_create_networks_and_router
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:1099:_inlineCallbacks
/opt/canonical/landscape/canonical/landscape/model/openstack/jobs.py:557:_check_dhcp_agent_up
知道可能哪里出了问题吗?
重新运行部署,这次完全完成。
openstack-install 似乎有点脆弱。在我的工作站上安装单个系统时出现问题,但幸运的是,尝试两次后,多系统安装成功。
答案1
取决于被卡住了多久。
在部署过程中出现这些回溯是正常的:它正在尝试配置尚未准备好的服务,这就是它重试这么多次的原因。Juju 仍在部署它们、创建关系等。
根据您的硬件和网络带宽,自动驾驶仪运行可能需要 40 分钟甚至更长时间。它已经放弃了吗?
答案2
我重新运行了 Landscape Autopilot 步骤,这次安装成功完成。