===== 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'} | | +--------------------------------------+---------+-----------------------+----------------------------+--------+--------------------------------------+------------------------+--------------+
===== How to Reproduce =====
1. Create a VNFD with monitor params, such as:
...
monitoring_ policy:
parameters:
interval: 10
failure: respawn
name: ping
count: 3
actions:
...
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: ~/tacker$ tacker vnf-list ------- ------- ------- ------- ----+-- ------- +------ ------- ------- ---+--- ------- ------- ------- ----+-- ------+ ------- ------- ------- ------- ------- ---+--- ------- ------- ------- +------ ------- -+ ------- ------- ------- ------- ----+-- ------- +------ ------- ------- ---+--- ------- ------- ------- ----+-- ------+ ------- ------- ------- ------- ------- ---+--- ------- ------- ------- +------ ------- -+ c482-488e- b749-aca8c20c72 05 | openwrt | OpenWRT with services | {"VDU1": "192.168.120.11"} | ACTIVE | d4eaaaeb- ad2b-4896- 8d10-c930bbf258 76 | {u'vim_name': u'VIM0'} | | ------- ------- ------- ------- ----+-- ------- +------ ------- ------- ---+--- ------- ------- ------- ----+-- ------+ ------- ------- ------- ------- ------- ---+--- ------- ------- ------- +------ ------- -+
stack@devstack:
+------
| id | name | description | mgmt_url | status | vim_id | placement_attr | error_reason |
+------
| 274f4c36-
+------