Bug 1031022

Summary: RHOS should use impl_qpid v2 by default
Product: Red Hat OpenStack Reporter: Alvaro Lopez Ortega <aortega>
Component: openstack-cinderAssignee: Eric Harney <eharney>
Status: CLOSED ERRATA QA Contact: Haim <hateya>
Severity: high Docs Contact:
Priority: high    
Version: 4.0CC: abaron, aortega, breeler, ddomingo, derekh, dron, eglynn, eharney, fpercoco, hateya, vcojot, yeylon
Target Milestone: rc   
Target Release: 4.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openstack-cinder-2013.2-7.el6ost Doc Type: Bug Fix
Doc Text:
The QPID driver's v2 topology was introduced to specifically address the slow growth of orphaned direct exchanges over time. By default, however, services still use the original v1 topology of the QPID driver; the v2 topology has to be explicitly configured via the 'qpid_topology_version = 2' parameter. With this fix, the Block Storage service's distribution configuration file (/usr/share/cinder/cinder-dist.conf) now contains the 'qpid_topology_version = 2' parameter. This effectively sets the QPID driver's v2 topology as the default.
Story Points: ---
Clone Of: 1030658 Environment:
Last Closed: 2013-12-20 00:36:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1030658, 1031023, 1031025, 1031027    
Bug Blocks: 1030664    
Attachments:
Description Flags
testing notes none

Comment 2 Eric Harney 2013-12-05 20:47:08 UTC
Created attachment 833314 [details]
testing notes

Info about how to tell that setting qpid_topology_version=2 works.

Comment 5 Haim 2013-12-12 12:44:42 UTC
verified. 

[root@puma32 ~]# vim /etc/cinder/cinder.conf
[root@puma32 ~]# qpid-stat -e 
Exchanges
  exchange            type     dur  bind  msgIn  msgOut  msgDrop  byteIn  byteOut  byteDrop
  ===========================================================================================
                      direct          73     0      0       0        0       0        0
  amq.direct          direct   Y       7  66.1k  66.1k      0     33.4m   33.4m       0
  amq.fanout          fanout   Y       0     0      0       0        0       0        0
  amq.match           headers  Y       0     0      0       0        0       0        0
  amq.topic           topic    Y      68   107k   107k     34      102m    102m     209k
  engine_fanout       fanout           1     0      0       0        0       0        0
  glance              topic            0    68      0      68     66.5k      0     66.5k
  openstack           topic    Y       2     0      0       0        0       0        0
  qmf.default.direct  direct           0     0      0       0        0       0        0
  qmf.default.topic   topic            1  64.9k     7    64.9k     329m    195k     328m
  qpid.management     topic            0  65.1k     0    65.1k     114m      0      114m
[root@puma32 ~]# for s in api backup volume scheduler; do service openstack-cinder-$s stop; done
Stopping openstack-cinder-api:                             [  OK  ]
Stopping openstack-cinder-backup:                          [  OK  ]
Stopping openstack-cinder-volume:                          [  OK  ]
Stopping openstack-cinder-scheduler:                       [  OK  ]
[root@puma32 ~]# service qpidd restart
Stopping Qpid AMQP daemon:                                 [  OK  ]
Starting Qpid AMQP daemon:                                 [  OK  ]
Full path required for exclude: net:[4026532422].
[root@puma32 ~]# qpid-stat -e 
Exchanges
  exchange            type     dur  bind  msgIn  msgOut  msgDrop  byteIn  byteOut  byteDrop
  ===========================================================================================
                      direct          56     0      0       0        0       0        0
  amq.direct          direct   Y       5    22     22       0     20.7k   20.7k       0
  amq.fanout          fanout   Y       0     0      0       0        0       0        0
  amq.match           headers  Y       0     0      0       0        0       0        0
  amq.topic           topic    Y      53    23     22       1     24.1k   23.2k     852
  engine_fanout       fanout           1     0      0       0        0       0        0
  openstack           topic    Y       2     0      0       0        0       0        0
  qmf.default.direct  direct           0     0      0       0        0       0        0
  qmf.default.topic   topic            1   339      0     339      463k      0      463k
  qpid.management     topic            0   341      0     341      190k      0      190k
[root@puma32 ~]#

Comment 7 errata-xmlrpc 2013-12-20 00:36:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2013-1859.html