Bug 1896409 - rabbitmq-limits validation not working
Summary: rabbitmq-limits validation not working
Keywords:
Status: CLOSED DUPLICATE of bug 1891200
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-validations
Version: 16.1 (Train)
Hardware: All
OS: Linux
low
low
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-11-10 13:52 UTC by Uemit Seren
Modified: 2020-11-24 18:00 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-24 18:00:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Uemit Seren 2020-11-10 13:52:01 UTC
Description of problem:

The rabbitmq-limits validation fails on a freshly deployed overcloud. 
The reason seems to be that the call: https://github.com/openstack/tripleo-validations/blob/stable/train/roles/rabbitmq_limits/tasks/main.yml#L13 will return undefined on OSP16.1 while it returns a value in OSP13.

OSP13:

()[root@oc-ctl-0 /]# rabbitmqctl eval "erlang:system_info(version)."
"7.3.1.6"

()[root@oc-ctl-0 /]# rabbitmqctl eval 'proplists:get_value(max_fds,erlang:system_info(check_io)).'
65536
()[root@oc-ctl-0 /]# rabbitmqctl eval "erlang:system_info(check_io)."
[{name,erts_poll},
 {primary,epoll},
 {fallback,poll},
 {kernel_poll,epoll},
 {memory_size,64256},
 {total_poll_set_size,122},
 {fallback_poll_set_size,0},
 {lazy_updates,true},
 {pending_updates,0},
 {batch_updates,false},
 {concurrent_updates,true},
 {max_fds,65536},
 {active_fds,0}]


OSP16.1:

()[root@oc-ctl-0 /]# rabbitmqctl eval "erlang:system_info(version)."
"10.3.5.13"
()[root@oc-ctl-0 /]# rabbitmqctl eval 'proplists:get_value(max_fds, erlang:system_info(check_io)).'
undefined
()[root@oc-ctl-0 /]# rabbitmqctl eval "erlang:system_info(check_io)."
[[{name,erts_poll},
  {primary,poll},
  {kernel_poll,false},
  {memory_size,25240},
  {total_poll_set_size,1},
  {lazy_updates,true},
  {pending_updates,0},
  {batch_updates,false},
  {concurrent_updates,false},
  {fallback,true},
  {max_fds,65536},
  {active_fds,0},
  {poll_threads,0}],
 [{name,erts_poll},
  {primary,epoll},
  {kernel_poll,epoll},
  {memory_size,56},
  {total_poll_set_size,6},
  {lazy_updates,false},
  {pending_updates,0},
  {batch_updates,false},
  {concurrent_updates,true},
  {fallback,false},
  {max_fds,65536},
  {active_fds,0},
  {poll_threads,0}],
 [{name,erts_poll},
  {primary,epoll},
  {kernel_poll,epoll},
  {memory_size,57400},
  {total_poll_set_size,230},
  {lazy_updates,false},
  {pending_updates,0},
  {batch_updates,false},
  {concurrent_updates,true},
  {fallback,false},
  {max_fds,65536},
  {active_fds,0},
  {poll_threads,1}]]


Version-Release number of selected component (if applicable):

OSP16.1
How reproducible:


Steps to Reproduce:
1. Deploy overcloud
2. Run rabbitmq-limits validation: openstack tripleo validator run --validation rabbitmq-limits
3. Check the validation result

Actual results:

Validation fails

Expected results:

Validation should pass 

Additional info:

Comment 1 Michele Baldessari 2020-11-24 18:00:14 UTC

*** This bug has been marked as a duplicate of bug 1891200 ***


Note You need to log in before you can comment on or make changes to this bug.