Comment 0 for bug 1616712

Revision history for this message
changzhi (changzhi) wrote :

===== How to Reproduce =====
1. Create a VNFD with monitor params, such as:

...
        monitoring_policy:
          name: ping
          parameters:
            count: 3
            interval: 10
          actions:
            failure: respawn
...

2. Create a VNF by using the VNFD above.

3. Restart Tacker server.

4. Login the VNF and execute "ifconfig eth0 down"

Finally, the VNF doesn't respawn.

The VNF is active as below:
stack@devstack:~/tacker$ tacker vnf-list
+--------------------------------------+---------+-----------------------+----------------------------+--------+--------------------------------------+------------------------+--------------+
| id | name | description | mgmt_url | status | vim_id | placement_attr | error_reason |
+--------------------------------------+---------+-----------------------+----------------------------+--------+--------------------------------------+------------------------+--------------+
| 274f4c36-c482-488e-b749-aca8c20c7205 | openwrt | OpenWRT with services | {"VDU1": "192.168.120.11"} | ACTIVE | d4eaaaeb-ad2b-4896-8d10-c930bbf25876 | {u'vim_name': u'VIM0'} | |
+--------------------------------------+---------+-----------------------+----------------------------+--------+--------------------------------------+------------------------+--------------+