dockerctl shell rabbitmq rabbitmqctl status gives error

Bug #1335041 reported by Aleksandr Didenko
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Medium
Aleksandr Didenko
5.0.x
Fix Committed
Medium
Sergii Golovatiuk

Bug Description

[root@fuel ~]# dockerctl shell rabbitmq rabbitmqctl status
Status of node rabbit@fuel ...
Error: unable to connect to node rabbit@fuel: nodedown

DIAGNOSTICS
===========

nodes in question: [rabbit@fuel]

hosts, their running nodes and ports:
- unable to connect to epmd on fuel: nxdomain (non-existing domain)

current node details:
- node name: rabbitmqctl22038@c45b02daa187
- home dir: /var/lib/rabbitmq
- cookie hash: AYcUa/wufBDy38PzGU9Kwg==

Tags: docker
Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/102873
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=15b74e9bda09b2b23679ea8440246f2c8dad27c2
Submitter: Jenkins
Branch: master

commit 15b74e9bda09b2b23679ea8440246f2c8dad27c2
Author: Aleksandr Didenko <email address hidden>
Date: Thu Jun 26 19:03:04 2014 +0300

    Fix rabbitmqctl status for rabbitmq container

    Set RABBITMQ_NODENAME according to container hostname to make sure
    "rabbitmqctl" command works properly.

    Closes-bug: #1335041

    Change-Id: Ia54b6db93552bec46a12bf18468757b87fa3b3c7

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/5.0)

Fix proposed to branch: stable/5.0
Review: https://review.openstack.org/114210

Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #467
"build_id": "2014-08-22_02-01-17",
"ostf_sha": "907f25f8fad39b177bf6a66fba9785afa7dd8008",
"build_number": "467",
"auth_required": true,
"api": "1.0",
"nailgun_sha": "e9dd053fce12908b5a5a404435ce2e8200450a23",
"production": "docker",
"fuelmain_sha": "5a7df58786db7962a1774b5be3611c4e7543015d",
"astute_sha": "ac520b09525af4551e730b1c1f78170fefaf3cb8",
"feature_groups": ["mirantis"],
"release": "5.1",
"fuellib_sha": "bddba1e854a6b0350e844a0baad50816d3cc8e28"

[root@fuel ~]# dockerctl shell rabbitmq rabbitmqctl status
Status of node rabbit@63476b097186 ...
[{pid,892},
 {running_applications,
     [{rabbitmq_management,"RabbitMQ Management Console","3.3.5"},
      {rabbitmq_web_dispatch,"RabbitMQ Web Dispatcher","3.3.5"},
      {webmachine,"webmachine","1.10.3-rmq3.3.5-gite9359c7"},
      {mochiweb,"MochiMedia Web Server","2.7.0-rmq3.3.5-git680dba8"},
      {rabbitmq_management_agent,"RabbitMQ Management Agent","3.3.5"},
      {rabbitmq_stomp,"Embedded Rabbit Stomp Adapter","3.3.5"},
      {rabbit,"RabbitMQ","3.3.5"},
      {os_mon,"CPO CXC 138 46","2.2.7"},
      {inets,"INETS CXC 138 49","5.7.1"},
      {amqp_client,"RabbitMQ AMQP Client","3.3.5"},
      {xmerl,"XML parser","1.2.10"},
      {mnesia,"MNESIA CXC 138 12","4.5"},
      {sasl,"SASL CXC 138 11","2.1.10"},
      {stdlib,"ERTS CXC 138 10","1.17.5"},
      {kernel,"ERTS CXC 138 10","2.14.5"}]},
 {os,{unix,linux}},
 {erlang_version,
     "Erlang R14B04 (erts-5.8.5) [source] [64-bit] [rq:1] [async-threads:30] [kernel-poll:true]\n"},
 {memory,
     [{total,109613840},
      {connection_procs,1154568},
      {queue_procs,2379936},
      {plugins,1465800},
      {other_proc,9794432},
      {mnesia,396344},
      {mgmt_db,1576224},
      {msg_index,238880},
      {other_ets,1229064},
      {binary,1649672},
      {code,17467348},
      {atom,1566609},
      {other_system,70694963}]},
 {alarms,[]},
 {listeners,[{clustering,41055,"::"},{amqp,5672,"::"},{stomp,61613,"::"}]},
 {vm_memory_high_watermark,0.4},
 {vm_memory_limit,629325824},
 {disk_free_limit,50000000},
 {disk_free,9422483456},
 {file_descriptors,
     [{total_limit,102300},
      {total_used,29},
      {sockets_limit,92068},
      {sockets_used,26}]},
 {processes,[{limit,1048576},{used,747}]},
 {run_queue,0},
 {uptime,11459}]
...done.

Changed in fuel:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (stable/5.0)

Reviewed: https://review.openstack.org/114210
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=a19d779bab55502c7e8c0a910dc80bd50d68ae7a
Submitter: Jenkins
Branch: stable/5.0

commit a19d779bab55502c7e8c0a910dc80bd50d68ae7a
Author: Aleksandr Didenko <email address hidden>
Date: Thu Jun 26 19:03:04 2014 +0300

    Fix rabbitmqctl status for rabbitmq container

    Set RABBITMQ_NODENAME according to container hostname to make sure
    "rabbitmqctl" command works properly.

    Change-Id: Iedec5661da5029cd89ab2067bdcb582787275a90
    Closes-bug: #1335041

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.