在公共网络上启动实例后,检查实例的状态: nova list 后 Status是error

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
Morata
帖子: 6
注册时间: 2017-12-14 10:25
系统: win10

在公共网络上启动实例后,检查实例的状态: nova list 后 Status是error

#1

帖子 Morata » 2017-12-25 20:56

先谢谢拉。

启动实例:

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 - - - - -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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
3.png
2.png
1.png
回复