Ask Your Question
0

creating new instance: demo-instance1 gives ERROR

asked 2014-12-24 05:51:55 -0500

AlonFre gravatar image

updated 2014-12-24 07:42:46 -0500

RHK gravatar image

Hi all, we are following the the Juno instalation guide. when tryne to create new instance, we get an error:

+--------------------------------------+----------------+--------+------------+-------------+----------+
| ID                                   | Name           | Status | Task State | Power State | Networks |
+--------------------------------------+----------------+--------+------------+-------------+----------+
| 9d007839-c9da-4933-910d-2f611046c77f | demo-instance1 | ERROR  | -          | NOSTATE     |          |
+--------------------------------------+----------------+--------+------------+-------------+----------+

looking on the log files we get: for file in $(ls /var/log/nova/); do cat /var/log/nova/$file | grep -iE 'error|warn' ; done

2014-12-24 13:35:36.661 1228 ERROR oslo.messaging._drivers.impl_rabbit [-] Failed to consume message from queue: (0, 0): (320) CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'
2014-12-24 13:35:36.661 1228 TRACE oslo.messaging._drivers.impl_rabbit     (class_id, method_id), ConnectionError)
2014-12-24 13:35:37.694 1228 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.
2014-12-24 13:35:39.730 1228 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 3 seconds.
2014-12-24 13:36:33.939 1228 WARNING nova.scheduler.filters.compute_filter [req-d15999d1-5013-4c62-9547-6b6b2a88788e None] (ubuntuServer3, ubuntuServer3) ram:3320 disk:82944 io_ops:0 instances:0 has not been heard from in a while
2014-12-24 13:36:33.941 1228 ERROR oslo.messaging._drivers.impl_rabbit [req-d15999d1-5013-4c62-9547-6b6b2a88788e ] Failed to publish message to topic 'reply_6124afae27344b5a8a07716008f15302': [Errno 104] Connection reset by peer
2014-12-24 13:36:33.941 1228 TRACE oslo.messaging._drivers.impl_rabbit error: [Errno 104] Connection reset by peer

Any ideas what can be the problem? we had already verified that the rabbit_password is ok on the /etc/nova/nova.conf

Thanks in advance, Alon

UPDATE: on the horizon we get the following error: Error: Failed to launch instance "demo-instance1": Please try again later [Error: Build of instance 00402e45-e2a4-4122-a440-c05457b0578a aborted: Failed to allocate the network(s), not rescheduling.].

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-12-24 08:18:24 -0500

AlonFre gravatar image

updated 2014-12-24 11:05:48 -0500

Hi RHK, thanks for the help, here is the output:

root@ubuntuServer2:~#  service rabbitmq-server status
Status of node rabbit@ubuntuServer2 ...
[{pid,8996},
 {running_applications,[{rabbit,"RabbitMQ","3.2.4"},
                        {os_mon,"CPO  CXC 138 46","2.2.14"},
                        {mnesia,"MNESIA  CXC 138 12","4.11"},
                        {xmerl,"XML parser","1.3.5"},
                        {sasl,"SASL  CXC 138 11","2.3.4"},
                        {stdlib,"ERTS  CXC 138 10","1.19.4"},
                        {kernel,"ERTS  CXC 138 10","2.16.4"}]},
 {os,{unix,linux}},
 {erlang_version,"Erlang R16B03 (erts-5.10.4) [source] [64-bit] [smp:2:2] [async-threads:30] [kernel-poll:true]\n"},
 {memory,[{total,128132992},
          {connection_procs,2303624},
          {queue_procs,1253024},
          {plugins,0},
          {other_proc,13435952},
          {mnesia,283904},
          {mgmt_db,0},
          {msg_index,80424},
          {other_ets,865960},
          {binary,88591408},
          {code,16522377},
          {atom,594537},
          {other_system,4201782}]},
 {vm_memory_high_watermark,0.4},
 {vm_memory_limit,1589957427},
 {disk_free_limit,50000000},
 {disk_free,52760027136},
 {file_descriptors,[{total_limit,924},
                    {total_used,59},
                    {sockets_limit,829},
                    {sockets_used,57}]},
 {processes,[{limit,1048576},{used,710}]},
 {run_queue,0},
 {uptime,9196}]
...done.

There is no conf file in /etc/rabbitmq/ (actually there are no files at all)

and than i restarted using: service rabbitmq-server restart

but i still get the same problem:

2014-12-24 16:17:18.155 1228 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 13 seconds.
2014-12-24 16:18:18.478 1228 ERROR oslo.messaging._drivers.impl_rabbit [-] Failed to consume message from queue: (0, 0): (320) CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'
2014-12-24 16:18:18.478 1228 TRACE oslo.messaging._drivers.impl_rabbit     (class_id, method_id), ConnectionError)
2014-12-24 16:18:19.506 1228 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 1 seconds.
2014-12-24 16:18:21.546 1228 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 3 seconds.
2014-12-24 16:18:25.592 1228 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 5 seconds.
2014-12-24 16:18:31.624 1228 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 7 seconds.
2014-12-24 16:18:39.657 1228 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 9 seconds.
2014-12-24 16:18:49.684 1228 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 11 seconds.
2014-12-24 16:19:01.710 1228 ERROR oslo.messaging._drivers.impl_rabbit [-] AMQP server on controller:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 13 seconds.
2014-12-24 16:20:04.693 1228 ERROR oslo.messaging._drivers.impl_rabbit [-] Failed to publish message to topic 'reply_6e6a841d9b5045edae4754b0093cf1e0': [Errno 104] Connection reset by peer
2014-12-24 16:20:04.693 1228 TRACE oslo.messaging._drivers.impl_rabbit error: [Errno 104] Connection reset by peer

and this is the compute log:

2014-12-24 18:58:10.499 10674 WARNING nova.virt.libvirt.driver [req-725c45e2-0f76-49e8-a3cf-8c5b9c936174 None] Timeout waiting for vif plugging callback for instance bed27a12-521d-4158-a3cb-0f3be36f5064
2014-12-24 18:58 ...
(more)
edit flag offensive delete link more
1

answered 2014-12-24 07:51:33 -0500

RHK gravatar image

post the out put of below command.

# service rabbitmq-server status

check the below,

# cat /etc/rabbitmq/rabbitmq.conf
[
{rabbit, [
{tcp_listeners, [{"0.0.0.0",5672}]}
]}
]

and then,

restart rabbitmq service

Regards,
RHK

edit flag offensive delete link more

Comments

hey, i attached the log files. any idea what can be the problem? thanks (:

AlonFre gravatar imageAlonFre ( 2014-12-24 11:04:53 -0500 )edit

Any solution to the issue? Thanks.

zzxwill gravatar imagezzxwill ( 2015-09-25 01:34:41 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2014-12-24 05:51:55 -0500

Seen: 3,732 times

Last updated: Dec 24 '14