service does not handle multiple engine workers

Bug #1433865 reported by Angus Salkeld
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Angus Salkeld

Bug Description

All the Service queries are based on host&binary if num_engine_workers>1 this logic breaks down.
Every next worker will overwrite the first service's data.

I have num_engine_workers=3 and yet:

heat-manage service list
Hostname Binary Engine_Id Host Topic Status Updated At
fancy.Bigpond heat-engine 87011614-e336-4a6b-ac41-fd7b0026c3ce fancy.Bigpond engine up 2015-03-19 02:48:27

Angus Salkeld (asalkeld)
Changed in heat:
milestone: none → kilo-rc1
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Kanagaraj Manickam (kanagaraj-manickam)
Angus Salkeld (asalkeld)
Changed in heat:
assignee: Kanagaraj Manickam (kanagaraj-manickam) → Angus Salkeld (asalkeld)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

Fix proposed to branch: master
Review: https://review.openstack.org/165713

Changed in heat:
status: Triaged → In Progress
Angus Salkeld (asalkeld)
Changed in heat:
importance: Medium → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to heat (master)

Reviewed: https://review.openstack.org/165713
Committed: https://git.openstack.org/cgit/openstack/heat/commit/?id=35b96dcf673923b1b4ce67ccbb34bf771af7855d
Submitter: Jenkins
Branch: master

commit 35b96dcf673923b1b4ce67ccbb34bf771af7855d
Author: Angus Salkeld <email address hidden>
Date: Fri Mar 20 10:57:01 2015 +1000

    Don't assume that there is one service per host

    When we have multiple workers the service info is incorrect.
    This patch changes the logic to make a new service and
    then later delete entries that are not getting updated.

    Closes-bug: 1433865
    Change-Id: If297049f62e614b955faaefeaaf67e2649934a0c

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: kilo-rc1 → 2015.1.0
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.