当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 1 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 在公共网络上启动实例后,检查实例的状态: nova list 后 Status是error
帖子发表于 : 2017-12-25 20:56 

注册: 2017-12-14 10:25
帖子: 6
系统: win10
送出感谢: 0 次
接收感谢: 0 次
先谢谢拉。

启动实例:

1、创建实例

$ nova boot --flavor m1.tiny --image cirros --nic net-id=PUBLIC_NET_ID \
--security-group default --key-name mykey public-instance

使用``public``网络的ID替换``PUBLIC_NET_ID``和秘钥对的名称demo-key后。

nova boot --flavor m1.tiny --image cirros --nic net-id=e0336e55-32e5-412f-b76c-0ecc95e7d599 \
--security-group default --key-name demo-key public-instance

结果见附件2.png


2、检查实例
nova list

nova list后 “Status” 是”error“
结果见附件2

opens tack官网的value项是有nova的,我这里没有。
结果见附件4


3、查看nova-conductor.log
结果见附件3.png


root@controller:~# vi /var/log/nova/nova-conductor.log
2017-12-18 07:23:02.394 4153 WARNING oslo_config.cfg [req-daad9826-4404-457a-8573-f037ec83a285 - - - - -] Option "lock_path" from group "DEFAULT" is deprecated. Use option "lock_path" from group "oslo_concurrency".
2017-12-18 07:23:02.409 4153 INFO nova.service [-] Starting conductor node (version 12.0.6)
2017-12-18 07:23:03.433 4153 INFO oslo.messaging._drivers.impl_rabbit [req-7ec4acfe-744a-4b80-a124-cde95ccbfa02 - - - - -] Connecting to AMQP server on localhost:5672
2017-12-18 07:23:03.461 4153 INFO oslo.messaging._drivers.impl_rabbit [req-7ec4acfe-744a-4b80-a124-cde95ccbfa02 - - - - -] Connected to AMQP server on 127.0.0.1:5672
2017-12-18 07:23:07.808 4153 INFO oslo.messaging._drivers.impl_rabbit [req-9f61dfdc-fb22-4537-8c5f-cab0c8d3db26 - - - - -] Connecting to AMQP server on localhost:5672
2017-12-18 07:23:07.823 4153 INFO oslo.messaging._drivers.impl_rabbit [req-9f61dfdc-fb22-4537-8c5f-cab0c8d3db26 - - - - -] Connected to AMQP server on 127.0.0.1:5672
2017-12-18 07:39:49.710 4153 INFO oslo_service.service [req-daad9826-4404-457a-8573-f037ec83a285 - - - - -] Caught SIGTERM, exiting
2017-12-18 07:39:49.711 4153 WARNING oslo_messaging.server [req-daad9826-4404-457a-8573-f037ec83a285 - - - - -] start/stop/wait must be called in the same thread
2017-12-18 07:39:49.711 4153 WARNING oslo_messaging.server [req-daad9826-4404-457a-8573-f037ec83a285 - - - - -] start/stop/wait must be called in the same thread
2017-12-18 07:39:56.034 4702 INFO oslo_service.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2017-12-18 07:39:56.042 4702 INFO nova.service [-] Starting conductor node (version 12.0.6)
2017-12-18 07:39:56.177 4702 INFO oslo.messaging._drivers.impl_rabbit [req-42e1ca28-4e60-4893-a1b8-a1fa9ae5bcb7 - - - - -] Connecting to AMQP server on controller:5672
2017-12-18 07:39:56.184 4702 INFO oslo.messaging._drivers.impl_rabbit [req-42e1ca28-4e60-4893-a1b8-a1fa9ae5bcb7 - - - - -] Connected to AMQP server on controller:5672
2017-12-18 07:39:56.480 4702 INFO oslo.messaging._drivers.impl_rabbit [req-3fe3744b-ac33-4f1d-bcaa-f5159b568fa8 - - - - -] Connecting to AMQP server on controller:5672
2017-12-18 07:39:56.492 4702 INFO oslo.messaging._drivers.impl_rabbit [req-3fe3744b-ac33-4f1d-bcaa-f5159b568fa8 - - - - -] Connected to AMQP server on controller:5672
2017-12-18 20:40:21.374 898 INFO oslo_service.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2017-12-18 20:40:21.464 898 INFO nova.service [-] Starting conductor node (version 12.0.6)
2017-12-18 20:40:22.164 898 INFO oslo.messaging._drivers.impl_rabbit [req-995936c5-c684-481f-8556-e54616796155 - - - - -] Connecting to AMQP server on controller:5672
2017-12-18 20:40:22.187 898 ERROR oslo.messaging._drivers.impl_rabbit [req-995936c5-c684-481f-8556-e54616796155 - - - - -] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.
2017-12-18 20:40:23.229 898 INFO oslo.messaging._drivers.impl_rabbit [req-995936c5-c684-481f-8556-e54616796155 - - - - -] Reconnected to AMQP server on controller:5672
2017-12-18 20:40:23.230 898 INFO oslo.messaging._drivers.impl_rabbit [req-995936c5-c684-481f-8556-e54616796155 - - - - -] Connected to AMQP server on controller:5672
@
@
@
@
@
@
@
@
@
@
"/var/log/nova/nova-conductor.log" 90 lines, 14589 characters
2017-12-18 07:23:02.394 4153 WARNING oslo_config.cfg [req-daad9826-4404-457a-8573-f037ec83a285 - - - - -] Option "lock_path" from group "DEFAULT" is deprecated. Use option "lock_path" from group "oslo_concurrency".
2017-12-18 07:23:02.409 4153 INFO nova.service [-] Starting conductor node (version 12.0.6)
2017-12-18 07:23:03.433 4153 INFO oslo.messaging._drivers.impl_rabbit [req-7ec4acfe-744a-4b80-a124-cde95ccbfa02 - - - - -] Connecting to AMQP server on localhost:5672
2017-12-18 07:23:03.461 4153 INFO oslo.messaging._drivers.impl_rabbit [req-7ec4acfe-744a-4b80-a124-cde95ccbfa02 - - - - -] Connected to AMQP server on 127.0.0.1:5672
2017-12-18 07:23:07.808 4153 INFO oslo.messaging._drivers.impl_rabbit [req-9f61dfdc-fb22-4537-8c5f-cab0c8d3db26 - - - - -] Connecting to AMQP server on localhost:5672
2017-12-18 07:23:07.823 4153 INFO oslo.messaging._drivers.impl_rabbit [req-9f61dfdc-fb22-4537-8c5f-cab0c8d3db26 - - - - -] Connected to AMQP server on 127.0.0.1:5672
2017-12-18 07:39:49.710 4153 INFO oslo_service.service [req-daad9826-4404-457a-8573-f037ec83a285 - - - - -] Caught SIGTERM, exiting
2017-12-18 07:39:49.711 4153 WARNING oslo_messaging.server [req-daad9826-4404-457a-8573-f037ec83a285 - - - - -] start/stop/wait must be called in the same thread
2017-12-18 07:39:49.711 4153 WARNING oslo_messaging.server [req-daad9826-4404-457a-8573-f037ec83a285 - - - - -] start/stop/wait must be called in the same thread
2017-12-18 07:39:56.034 4702 INFO oslo_service.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2017-12-18 07:39:56.042 4702 INFO nova.service [-] Starting conductor node (version 12.0.6)
2017-12-18 07:39:56.177 4702 INFO oslo.messaging._drivers.impl_rabbit [req-42e1ca28-4e60-4893-a1b8-a1fa9ae5bcb7 - - - - -] Connecting to AMQP server on controller:5672
2017-12-18 07:39:56.184 4702 INFO oslo.messaging._drivers.impl_rabbit [req-42e1ca28-4e60-4893-a1b8-a1fa9ae5bcb7 - - - - -] Connected to AMQP server on controller:5672
2017-12-18 07:39:56.480 4702 INFO oslo.messaging._drivers.impl_rabbit [req-3fe3744b-ac33-4f1d-bcaa-f5159b568fa8 - - - - -] Connecting to AMQP server on controller:5672
2017-12-18 07:39:56.492 4702 INFO oslo.messaging._drivers.impl_rabbit [req-3fe3744b-ac33-4f1d-bcaa-f5159b568fa8 - - - - -] Connected to AMQP server on controller:5672
2017-12-18 20:40:21.374 898 INFO oslo_service.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2017-12-18 20:40:21.464 898 INFO nova.service [-] Starting conductor node (version 12.0.6)
2017-12-18 20:40:22.164 898 INFO oslo.messaging._drivers.impl_rabbit [req-995936c5-c684-481f-8556-e54616796155 - - - - -] Connecting to AMQP server on controller:5672
2017-12-18 20:40:22.187 898 ERROR oslo.messaging._drivers.impl_rabbit [req-995936c5-c684-481f-8556-e54616796155 - - - - -] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.
2017-12-18 20:40:23.229 898 INFO oslo.messaging._drivers.impl_rabbit [req-995936c5-c684-481f-8556-e54616796155 - - - - -] Reconnected to AMQP server on controller:5672
2017-12-18 20:40:23.230 898 INFO oslo.messaging._drivers.impl_rabbit [req-995936c5-c684-481f-8556-e54616796155 - - - - -] Connected to AMQP server on controller:5672
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@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^@^@^@^@^@^@^@^@^@^@^@2017-12-18 20:45:09.170 892 INFO oslo_service.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2017-12-18 20:45:09.284 892 INFO nova.service [-] Starting conductor node (version 12.0.6)
2017-12-18 20:45:09.868 892 INFO oslo.messaging._drivers.impl_rabbit [req-8f7b9dba-fcb9-42fb-8c87-a485cf645648 - - - - -] Connecting to AMQP server on controller:5672
2017-12-18 20:45:09.900 892 INFO oslo.messaging._drivers.impl_rabbit [req-8f7b9dba-fcb9-42fb-8c87-a485cf645648 - - - - -] Connected to AMQP server on controller:5672
2017-12-18 20:53:38.598 896 INFO oslo_service.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2017-12-18 20:53:38.662 896 INFO nova.service [-] Starting conductor node (version 12.0.6)
2017-12-18 20:53:40.523 896 INFO oslo.messaging._drivers.impl_rabbit [req-5cca53fc-6abc-4fdb-8a6b-65e67bebfa9b - - - - -] Connecting to AMQP server on controller:5672
2017-12-18 20:53:40.570 896 ERROR oslo.messaging._drivers.impl_rabbit [req-5cca53fc-6abc-4fdb-8a6b-65e67bebfa9b - - - - -] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.
2017-12-18 20:53:41.594 896 ERROR oslo.messaging._drivers.impl_rabbit [req-5cca53fc-6abc-4fdb-8a6b-65e67bebfa9b - - - - -] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 2 seconds.
2017-12-18 07:23:02.394 4153 WARNING oslo_config.cfg [req-daad9826-4404-457a-8573-f037ec83a285 - - - - -] Option "lock_path" from group "DEFAULT" is deprecated. Use option "lock_path" from group "oslo_concurrency".
2017-12-18 07:23:02.409 4153 INFO nova.service [-] Starting conductor node (version 12.0.6)
2017-12-18 07:23:03.433 4153 INFO oslo.messaging._drivers.impl_rabbit [req-7ec4acfe-744a-4b80-a124-cde95ccbfa02 - - - - -] Connecting to AMQP server on localhost:5672
2017-12-18 07:23:03.461 4153 INFO oslo.messaging._drivers.impl_rabbit [req-7ec4acfe-744a-4b80-a124-cde95ccbfa02 - - - - -] Connected to AMQP server on 127.0.0.1:5672
2017-12-18 07:23:07.808 4153 INFO oslo.messaging._drivers.impl_rabbit [req-9f61dfdc-fb22-4537-8c5f-cab0c8d3db26 - - - - -] Connecting to AMQP server on localhost:5672
2017-12-18 07:23:07.823 4153 INFO oslo.messaging._drivers.impl_rabbit [req-9f61dfdc-fb22-4537-8c5f-cab0c8d3db26 - - - - -] Connected to AMQP server on 127.0.0.1:5672
2017-12-18 07:39:49.710 4153 INFO oslo_service.service [req-daad9826-4404-457a-8573-f037ec83a285 - - - - -] Caught SIGTERM, exiting
2017-12-18 07:39:49.711 4153 WARNING oslo_messaging.server [req-daad9826-4404-457a-8573-f037ec83a285 - - - - -] start/stop/wait must be called in the same thread
2017-12-18 07:39:49.711 4153 WARNING oslo_messaging.server [req-daad9826-4404-457a-8573-f037ec83a285 - - - - -] start/stop/wait must be called in the same thread
2017-12-18 07:39:56.034 4702 INFO oslo_service.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2017-12-18 07:39:56.042 4702 INFO nova.service [-] Starting conductor node (version 12.0.6)
2017-12-18 07:39:56.177 4702 INFO oslo.messaging._drivers.impl_rabbit [req-42e1ca28-4e60-4893-a1b8-a1fa9ae5bcb7 - - - - -] Connecting to AMQP server on controller:5672
2017-12-18 07:39:56.184 4702 INFO oslo.messaging._drivers.impl_rabbit [req-42e1ca28-4e60-4893-a1b8-a1fa9ae5bcb7 - - - - -] Connected to AMQP server on controller:5672
2017-12-18 07:39:56.480 4702 INFO oslo.messaging._drivers.impl_rabbit [req-3fe3744b-ac33-4f1d-bcaa-f5159b568fa8 - - - - -] Connecting to AMQP server on controller:5672
2017-12-18 07:39:56.492 4702 INFO oslo.messaging._drivers.impl_rabbit [req-3fe3744b-ac33-4f1d-bcaa-f5159b568fa8 - - - - -] Connected to AMQP server on controller:5672
2017-12-18 20:40:21.374 898 INFO oslo_service.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2017-12-18 20:40:21.464 898 INFO nova.service [-] Starting conductor node (version 12.0.6)
2017-12-18 20:40:22.164 898 INFO oslo.messaging._drivers.impl_rabbit [req-995936c5-c684-481f-8556-e54616796155 - - - - -] Connecting to AMQP server on controller:5672
2017-12-18 20:40:22.187 898 ERROR oslo.messaging._drivers.impl_rabbit [req-995936c5-c684-481f-8556-e54616796155 - - - - -] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.
2017-12-18 20:40:23.229 898 INFO oslo.messaging._drivers.impl_rabbit [req-995936c5-c684-481f-8556-e54616796155 - - - - -] Reconnected to AMQP server on controller:5672
2017-12-18 20:40:23.230 898 INFO oslo.messaging._drivers.impl_rabbit [req-995936c5-c684-481f-8556-e54616796155 - - - - -] Connected to AMQP server on controller:5672


附件:
4.png
4.png [ 34.35 KiB | 被浏览 352 次 ]

3.png
3.png [ 67.24 KiB | 被浏览 352 次 ]

2.png
2.png [ 48.66 KiB | 被浏览 352 次 ]

1.png
1.png [ 21.67 KiB | 被浏览 352 次 ]

页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 1 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 2 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译