Bug 1108499

Summary: Only one Metering agent is installed, even though two l3 agents were installed.
Product: Red Hat OpenStack Reporter: Toni Freger <tfreger>
Component: openstack-packstackAssignee: Gilles Dubreuil <gdubreui>
Status: CLOSED CURRENTRELEASE QA Contact: Ami Jeain <ajeain>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.0 (RHEL 7)CC: aortega, chrisw, derekh, ihrachys, mmagr, nyechiel, yeylon
Target Milestone: ---Keywords: Triaged
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-packstack-2014.1.1-0.27.dev1184.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-09 20:31:17 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:

Description Toni Freger 2014-06-12 07:04:23 UTC
Description of problem:
Only one Metering agent is installed even though two l3 agents were installed.
Metering agent was installed only on AllInOne deployment.

Version-Release number of selected component (if applicable):
RHOS5 - OpenStack/5.0-RHEL-7/2014-06-06.3
RHEL7

Steps to Reproduce:
Install Packstack: 
CONFIG_NEUTRON_METERING_AGENT_INSTALL=y
CONFIG_COMPUTE_HOSTS=host1,host2
CONFIG_NETWORK_HOSTS=host1,host2


Actual results:
There are two l3 agents, one installed on host1 the second on host2
When only one Metering agent installed on host1 (allinone)

[root@rose11 ~(keystone_admin)]# neutron agent-list 
+--------------------------------------+--------------------+------------------------------+-------+----------------+
| id                                   | agent_type         | host                         | alive | admin_state_up |
+--------------------------------------+--------------------+------------------------------+-------+----------------+
| 09bc95b1-18c8-40e0-95bf-5e2b8fc063a7 | DHCP agent         | rose11.qa.lab.tlv.redhat.com | :-)   | True           |
| 4e0c5715-9bba-4d7d-813d-54dcd0649693 | Metering agent     | rose11.qa.lab.tlv.redhat.com | :-)   | True           |
| 855abf0a-ca83-40e1-88c2-82dde465383d | Open vSwitch agent | rose12.qa.lab.tlv.redhat.com | :-)   | True           |
| 916e8d8f-908e-4d13-ad9e-174a52be26e8 | L3 agent           | rose12.qa.lab.tlv.redhat.com | :-)   | True           |
| aa9f38dd-5cce-4fc0-ac8c-b83889128f53 | L3 agent           | rose11.qa.lab.tlv.redhat.com | :-)   | True           |
| acdf8b48-8314-4a45-a682-beb34f944db2 | DHCP agent         | rose12.qa.lab.tlv.redhat.com | :-)   | True           |
| ba66030c-a6f0-4837-b6e2-6a31d8a2328f | Metadata agent     | rose11.qa.lab.tlv.redhat.com | :-)   | True           |
| c08687e8-4233-4a9c-bfd5-2ec464e3e4ff | Metadata agent     | rose12.qa.lab.tlv.redhat.com | :-)   | True           |
| edcb96d3-4913-4ed4-84ab-b4310742f217 | Open vSwitch agent | rose11.qa.lab.tlv.redhat.com | :-)   | True           |
+--------------------------------------+--------------------+------------------------------+-------+----------------+

Expected results:

For each L3 agent should be installed Metering agent.

Additional info:

Comment 2 Gilles Dubreuil 2014-06-24 04:05:29 UTC
Fixed upstream, waiting for merge.