[rabbitmq-discuss] Rabbitmq upgrade from 3.1.3 to 3.1.5/3.2.0 Management issue

Michael Klishin mklishin at gopivotal.com
Tue Nov 5 20:42:35 GMT 2013


On 5 Nov 2013, at 22:58, Alan Hsin <ahsin01 at gmail.com> wrote:

> =ERROR REPORT==== 5-Nov-2013::12:34:59 ===
> webmachine error: path="/api/definitions"
> {error,{error,function_clause,
>               [{orddict,find,
>                         [vhost,
>                          {dict,0,16,16,8,80,48,
>                                {[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
>                                 []},
>                                {{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],
>                                  []}}}]},
>                {rabbit_mgmt_util,id0,2},
>                {rabbit_mgmt_util,vhost,1},
>                {rabbit_mgmt_util,all_or_one_vhost,2},
>                {rabbit_mgmt_wm_exchanges,basic,1},
>                {rabbit_mgmt_wm_definitions,to_json,2},
>                {webmachine_resource,resource_call,3},
>                {webmachine_resource,do,3}]}}

We traced it down to this Webmachine change:
https://github.com/basho/webmachine/commit/d7dbbddeb9e6a9a415f7a7f09261dfcd3c2bd001

RabbitMQ management plugin bundles its own version of Webmachine. Can it be that you
somehow have another copy on the global Erlang load path? (wrq.beam)

There were reports of similar issues earlier and uninstalling a system-wide package
that was included into Erlang code path helped, e.g.

http://markmail.org/thread/mdi4ga635gljvgws

MK

Software Engineer, Pivotal/RabbitMQ




More information about the rabbitmq-discuss mailing list