Failing to start multiple monitor policies on one VNF

Bug #1668587 reported by yong sheng gong
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Undecided
Tung Doan

Bug Description

I've got the following setup:

VM1:
      type: tosca.nodes.nfv.VDU.Tacker
      properties:
        image: DCM
        flavor: metaswitch.dcm
        availability_zone: nova
        mgmt_driver: noop
        name: "DCM1"
        user_data_format: RAW
        monitoring_policy:
          id: mp_dcm1
          name: ping
          parameters:
            monitoring_delay: 45
            count: 3
            interval: 1
            timeout: 2
          actions:
            failure: respawn
VM2:
      type: tosca.nodes.nfv.VDU.Tacker
      properties:
        image: DCM
        flavor: metaswitch.dcm
        availability_zone: nova
        mgmt_driver: noop
        name: "DCM2"
        user_data_format: RAW
        monitoring_policy:
          id: mp_dcm2
          name: ping
          parameters:
            monitoring_delay: 45
            count: 3
            interval: 1
            timeout: 2
          actions:
            failure: respawn

They are both created successfully, but tacker only pings the 2nd machine. Looking at the bug tracker, this is supposed to be fixed.
Am i doing anything wrong?

Changed in tacker:
milestone: none → pike-1
Revision history for this message
Tung Doan (tungdoan) wrote :

Hi gongysh, you did not do anything wrong. Thats totally a serious bug. I knew it before but now it is time to fix this.

Changed in tacker:
assignee: nobody → Tung Doan (tungdoan)
status: New → Confirmed
Revision history for this message
Tung Doan (tungdoan) wrote :

existing ping driver has some issues. I am not sure that we can come up with Pike-1 but will try to fix it.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker (master)

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

Changed in tacker:
status: Confirmed → In Progress
Changed in tacker:
assignee: Tung Doan (tungdoan) → yong sheng gong (gongysh)
Changed in tacker:
assignee: yong sheng gong (gongysh) → Tung Doan (tungdoan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (master)

Reviewed: https://review.openstack.org/443672
Committed: https://git.openstack.org/cgit/openstack/tacker/commit/?id=73384e4db30a4798650b7a4ed768ee05a8b293b6
Submitter: Jenkins
Branch: master

commit 73384e4db30a4798650b7a4ed768ee05a8b293b6
Author: doantungbk <email address hidden>
Date: Thu Mar 9 06:45:36 2017 -0800

    Fix monitoring issue for multiple VDUs

    Tacker failed to support monitoring for multiple VDUs.
    In addtiion, multi-vdu testing have not been mentioned in unit test.
    This patch will fixed the above issues.

    Change-Id: Ib4497a530439110bf149f1104c74ba4bdc96ba0a
    Closes-bug: #1668587

Changed in tacker:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tacker 0.8.0

This issue was fixed in the openstack/tacker 0.8.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.