scale_level is changed when scaling occurs during heat cooldown

Bug #1925119 reported by Tsukasa Inoue
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tacker
Fix Released
Medium
Hiromu Asahina

Bug Description

When scaling occurs during the heat cooldown, the scale_level value in the VNF information will change.
The scale_level value should remain the same because VNF is not actually scaled during the cooldown.

[operation log]
After instantiation:
stack@server$ openstack vnflcm show fb212f00-c9b2-427b-a9e4-1aba396a547d --fit-width
+--------------------------+---------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+--------------------------+---------------------------------------------------------------------------------------------------------------------+
| ID | fb212f00-c9b2-427b-a9e4-1aba396a547d |
| Instantiated Vnf Info | { |
| | "flavourId": "simple", |
| | "vnfState": "STARTED", |
| | "scaleStatus": [ |
| | { |
| | "aspectId": "VDU1_scale", |
| | "scaleLevel": 0 |
| | } |
| | ], |

stack@server$ openstack server list --fit-width
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+
| af322654-e8dd-419d-8251-c356719ff51b | VDU1 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.243; | N/A (booted from volume) | m1.tiny |
| | | | net0=10.10.0.44; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.94; vnflcm_fb212f00-c9b2-427b- | | |
| | | | a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.54; vnflc | | |
| | | | m_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zrl | | |
| | | | =192.168.5.63 | | |
| c19f24a9-cba4-40a2-967c-319fda14383b | VDU2 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.187; | cirros-0.4.0-x86_64-disk | m1.tiny |
| | | | net0=10.10.0.35; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.183; vnflcm_fb212f00-c9b2-427b | | |
| | | | -a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.62; vnfl | | |
| | | | cm_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zr | | |
| | | | l=192.168.5.42 | | |
| 7f6b70ec-28a7-4b7b-8542-5714aab2ebbb | VDU2 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.251; | cirros-0.4.0-x86_64-disk | m1.tiny |
| | | | net0=10.10.0.76; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.34; vnflcm_fb212f00-c9b2-427b- | | |
| | | | a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.81; vnflc | | |
| | | | m_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zrl | | |
| | | | =192.168.5.123 | | |
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+

After scaling:
stack@server$ openstack vnflcm show fb212f00-c9b2-427b-a9e4-1aba396a547d --fit-width
+--------------------------+---------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+--------------------------+---------------------------------------------------------------------------------------------------------------------+
| ID | fb212f00-c9b2-427b-a9e4-1aba396a547d |
| Instantiated Vnf Info | { |
| | "flavourId": "simple", |
| | "vnfState": "STARTED", |
| | "scaleStatus": [ |
| | { |
| | "aspectId": "VDU1_scale", |
| | "scaleLevel": 1 |
| | } |
| | ], |

stack@server$ openstack server list --fit-width
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+
| b04a24a0-13cb-4446-8913-dd3f1b2eaac0 | VDU1 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.175; | N/A (booted from volume) | m1.tiny |
| | | | net0=10.10.0.235; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ex | | |
| | | | tmanageNW_1-upgnn3f2cadt=192.168.3.220; vnflcm_fb212f00-c9b2-427 | | |
| | | | b-a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.155; vn | | |
| | | | flcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24 | | |
| | | | zrl=192.168.5.149 | | |
| af322654-e8dd-419d-8251-c356719ff51b | VDU1 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.243; | N/A (booted from volume) | m1.tiny |
| | | | net0=10.10.0.44; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.94; vnflcm_fb212f00-c9b2-427b- | | |
| | | | a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.54; vnflc | | |
| | | | m_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zrl | | |
| | | | =192.168.5.63 | | |
| c19f24a9-cba4-40a2-967c-319fda14383b | VDU2 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.187; | cirros-0.4.0-x86_64-disk | m1.tiny |
| | | | net0=10.10.0.35; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.183; vnflcm_fb212f00-c9b2-427b | | |
| | | | -a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.62; vnfl | | |
| | | | cm_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zr | | |
| | | | l=192.168.5.42 | | |
| 7f6b70ec-28a7-4b7b-8542-5714aab2ebbb | VDU2 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.251; | cirros-0.4.0-x86_64-disk | m1.tiny |
| | | | net0=10.10.0.76; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.34; vnflcm_fb212f00-c9b2-427b- | | |
| | | | a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.81; vnflc | | |
| | | | m_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zrl | | |
| | | | =192.168.5.123 | | |
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+

After scaling during cooldown:
stack@server$ openstack vnflcm show fb212f00-c9b2-427b-a9e4-1aba396a547d --fit-width
+--------------------------+---------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+--------------------------+---------------------------------------------------------------------------------------------------------------------+
| ID | fb212f00-c9b2-427b-a9e4-1aba396a547d |
| Instantiated Vnf Info | { |
| | "flavourId": "simple", |
| | "vnfState": "STARTED", |
| | "scaleStatus": [ |
| | { |
| | "aspectId": "VDU1_scale", |
| | "scaleLevel": 2 |
| | } |
| | ], |

stack@server$ openstack server list --fit-width
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+
| b04a24a0-13cb-4446-8913-dd3f1b2eaac0 | VDU1 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.175; | N/A (booted from volume) | m1.tiny |
| | | | net0=10.10.0.235; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ex | | |
| | | | tmanageNW_1-upgnn3f2cadt=192.168.3.220; vnflcm_fb212f00-c9b2-427 | | |
| | | | b-a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.155; vn | | |
| | | | flcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24 | | |
| | | | zrl=192.168.5.149 | | |
| af322654-e8dd-419d-8251-c356719ff51b | VDU1 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.243; | N/A (booted from volume) | m1.tiny |
| | | | net0=10.10.0.44; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.94; vnflcm_fb212f00-c9b2-427b- | | |
| | | | a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.54; vnflc | | |
| | | | m_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zrl | | |
| | | | =192.168.5.63 | | |
| c19f24a9-cba4-40a2-967c-319fda14383b | VDU2 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.187; | cirros-0.4.0-x86_64-disk | m1.tiny |
| | | | net0=10.10.0.35; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.183; vnflcm_fb212f00-c9b2-427b | | |
| | | | -a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.62; vnfl | | |
| | | | cm_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zr | | |
| | | | l=192.168.5.42 | | |
| 7f6b70ec-28a7-4b7b-8542-5714aab2ebbb | VDU2 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.251; | cirros-0.4.0-x86_64-disk | m1.tiny |
| | | | net0=10.10.0.76; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.34; vnflcm_fb212f00-c9b2-427b- | | |
| | | | a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.81; vnflc | | |
| | | | m_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zrl | | |
| | | | =192.168.5.123 | | |
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+

The test used ccurs during the heat cooldown, the scale_level value in the VNF information will change.
The scale_level value should remain the same because VNF is not actually scaled during the cooldown.

[operation log]
After instantiation:
stack@server$ openstack vnflcm show fb212f00-c9b2-427b-a9e4-1aba396a547d --fit-width
+--------------------------+---------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+--------------------------+---------------------------------------------------------------------------------------------------------------------+
| ID | fb212f00-c9b2-427b-a9e4-1aba396a547d |
| Instantiated Vnf Info | { |
| | "flavourId": "simple", |
| | "vnfState": "STARTED", |
| | "scaleStatus": [ |
| | { |
| | "aspectId": "VDU1_scale", |
| | "scaleLevel": 0 |
| | } |
| | ], |

stack@server$ openstack server list --fit-width
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+
| af322654-e8dd-419d-8251-c356719ff51b | VDU1 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.243; | N/A (booted from volume) | m1.tiny |
| | | | net0=10.10.0.44; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.94; vnflcm_fb212f00-c9b2-427b- | | |
| | | | a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.54; vnflc | | |
| | | | m_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zrl | | |
| | | | =192.168.5.63 | | |
| c19f24a9-cba4-40a2-967c-319fda14383b | VDU2 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.187; | cirros-0.4.0-x86_64-disk | m1.tiny |
| | | | net0=10.10.0.35; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.183; vnflcm_fb212f00-c9b2-427b | | |
| | | | -a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.62; vnfl | | |
| | | | cm_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zr | | |
| | | | l=192.168.5.42 | | |
| 7f6b70ec-28a7-4b7b-8542-5714aab2ebbb | VDU2 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.251; | cirros-0.4.0-x86_64-disk | m1.tiny |
| | | | net0=10.10.0.76; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.34; vnflcm_fb212f00-c9b2-427b- | | |
| | | | a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.81; vnflc | | |
| | | | m_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zrl | | |
| | | | =192.168.5.123 | | |
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+

After scaling:
stack@server$ openstack vnflcm show fb212f00-c9b2-427b-a9e4-1aba396a547d --fit-width
+--------------------------+---------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+--------------------------+---------------------------------------------------------------------------------------------------------------------+
| ID | fb212f00-c9b2-427b-a9e4-1aba396a547d |
| Instantiated Vnf Info | { |
| | "flavourId": "simple", |
| | "vnfState": "STARTED", |
| | "scaleStatus": [ |
| | { |
| | "aspectId": "VDU1_scale", |
| | "scaleLevel": 1 |
| | } |
| | ], |

stack@server$ openstack server list --fit-width
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+
| b04a24a0-13cb-4446-8913-dd3f1b2eaac0 | VDU1 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.175; | N/A (booted from volume) | m1.tiny |
| | | | net0=10.10.0.235; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ex | | |
| | | | tmanageNW_1-upgnn3f2cadt=192.168.3.220; vnflcm_fb212f00-c9b2-427 | | |
| | | | b-a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.155; vn | | |
| | | | flcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24 | | |
| | | | zrl=192.168.5.149 | | |
| af322654-e8dd-419d-8251-c356719ff51b | VDU1 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.243; | N/A (booted from volume) | m1.tiny |
| | | | net0=10.10.0.44; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.94; vnflcm_fb212f00-c9b2-427b- | | |
| | | | a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.54; vnflc | | |
| | | | m_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zrl | | |
| | | | =192.168.5.63 | | |
| c19f24a9-cba4-40a2-967c-319fda14383b | VDU2 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.187; | cirros-0.4.0-x86_64-disk | m1.tiny |
| | | | net0=10.10.0.35; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.183; vnflcm_fb212f00-c9b2-427b | | |
| | | | -a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.62; vnfl | | |
| | | | cm_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zr | | |
| | | | l=192.168.5.42 | | |
| 7f6b70ec-28a7-4b7b-8542-5714aab2ebbb | VDU2 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.251; | cirros-0.4.0-x86_64-disk | m1.tiny |
| | | | net0=10.10.0.76; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.34; vnflcm_fb212f00-c9b2-427b- | | |
| | | | a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.81; vnflc | | |
| | | | m_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zrl | | |
| | | | =192.168.5.123 | | |
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+

After scaling during cooldown:
stack@server$ openstack vnflcm show fb212f00-c9b2-427b-a9e4-1aba396a547d --fit-width
+--------------------------+---------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+--------------------------+---------------------------------------------------------------------------------------------------------------------+
| ID | fb212f00-c9b2-427b-a9e4-1aba396a547d |
| Instantiated Vnf Info | { |
| | "flavourId": "simple", |
| | "vnfState": "STARTED", |
| | "scaleStatus": [ |
| | { |
| | "aspectId": "VDU1_scale", |
| | "scaleLevel": 2 |
| | } |
| | ], |

stack@server$ openstack server list --fit-width
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+
| b04a24a0-13cb-4446-8913-dd3f1b2eaac0 | VDU1 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.175; | N/A (booted from volume) | m1.tiny |
| | | | net0=10.10.0.235; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ex | | |
| | | | tmanageNW_1-upgnn3f2cadt=192.168.3.220; vnflcm_fb212f00-c9b2-427 | | |
| | | | b-a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.155; vn | | |
| | | | flcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24 | | |
| | | | zrl=192.168.5.149 | | |
| af322654-e8dd-419d-8251-c356719ff51b | VDU1 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.243; | N/A (booted from volume) | m1.tiny |
| | | | net0=10.10.0.44; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.94; vnflcm_fb212f00-c9b2-427b- | | |
| | | | a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.54; vnflc | | |
| | | | m_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zrl | | |
| | | | =192.168.5.63 | | |
| c19f24a9-cba4-40a2-967c-319fda14383b | VDU2 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.187; | cirros-0.4.0-x86_64-disk | m1.tiny |
| | | | net0=10.10.0.35; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.183; vnflcm_fb212f00-c9b2-427b | | |
| | | | -a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.62; vnfl | | |
| | | | cm_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zr | | |
| | | | l=192.168.5.42 | | |
| 7f6b70ec-28a7-4b7b-8542-5714aab2ebbb | VDU2 | ACTIVE | external_net-1742ed82-fa87-4e78-b7dd-44bb0a16620c=22.22.2.251; | cirros-0.4.0-x86_64-disk | m1.tiny |
| | | | net0=10.10.0.76; vnflcm_fb212f00-c9b2-427b-a9e4-1aba396a547d-ext | | |
| | | | manageNW_1-upgnn3f2cadt=192.168.3.34; vnflcm_fb212f00-c9b2-427b- | | |
| | | | a9e4-1aba396a547d-extmanageNW_2-yhauxytnezez=192.168.4.81; vnflc | | |
| | | | m_fb212f00-c9b2-427b-a9e4-1aba396a547d-internalNW_1-7igteez24zrl | | |
| | | | =192.168.5.123 | | |
+--------------------------------------+------+--------+------------------------------------------------------------------+--------------------------+---------+

I modified the file tacker/tests/etc/samples/etsi/nfv/functional5/BaseHOT/simple/helloworld3.yaml and used it.

Differences in files before change:
diff --git a/tacker/tests/etc/samples/etsi/nfv/functional5/BaseHOT/simple/helloworld3.yaml b/tacker/tests/etc/samples/etsi/nfv/functional5/BaseHOT/simple/helloworld3.yaml
index 7ba4a057..22553d90 100644
--- a/tacker/tests/etc/samples/etsi/nfv/functional5/BaseHOT/simple/helloworld3.yaml
+++ b/tacker/tests/etc/samples/etsi/nfv/functional5/BaseHOT/simple/helloworld3.yaml
@@ -9,6 +9,7 @@ resources:
   VDU1_scale_group:
     type: OS::Heat::AutoScalingGroup
     properties:
+ cooldown: 300
       min_size: 1
       max_size: 3
       desired_capacity: 1
@@ -30,6 +31,7 @@ resources:
       auto_scaling_group_id:
         get_resource: VDU1_scale_group
       adjustment_type: change_in_capacity
+ cooldown: 300
   VDU1_scale_scale_in:
     type: OS::Heat::ScalingPolicy
     properties:
@@ -37,9 +39,11 @@ resources:
       auto_scaling_group_id:
         get_resource: VDU1_scale_group
       adjustment_type: change_in_capacity
+ cooldown: 300
   VDU2_scale_group:
     type: OS::Heat::AutoScalingGroup
     properties:
+ cooldown: 300
       min_size: 2
       max_size: 2
       desired_capacity: 2
@@ -57,6 +61,7 @@ resources:
   VDU2_scale_scale_out:
     type: OS::Heat::ScalingPolicy
     properties:
+ cooldown: 300
       scaling_adjustment: 1
       auto_scaling_group_id:
         get_resource: VDU2_scale_group
@@ -64,6 +69,7 @@ resources:
   VDU2_scale_scale_in:
     type: OS::Heat::ScalingPolicy
     properties:
+ cooldown: 300
       scaling_adjustment: -1
       auto_scaling_group_id:
         get_resource: VDU2_scale_group

description: updated
Yasufumi Ogawa (yasufum)
Changed in tacker:
importance: Undecided → Medium
Changed in tacker:
assignee: nobody → Hiromu Asahina (h-asahina)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tacker (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/tacker/+/805329

Changed in tacker:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tacker (master)

Reviewed: https://review.opendev.org/c/openstack/tacker/+/805329
Committed: https://opendev.org/openstack/tacker/commit/2d9521b2bd723141745f8cdbd8fd05ebaccb2e3d
Submitter: "Zuul (22348)"
Branch: master

commit 2d9521b2bd723141745f8cdbd8fd05ebaccb2e3d
Author: Hiromu Asahina <email address hidden>
Date: Tue Aug 17 11:50:39 2021 +0900

    Fix scaling during the heat cooldown

    When scaling occurs during the heat cooldown, VNF is not actually
    scaled but the scale_level value in the VNF information will change.
    This bug happens because Heat does not return any error responses when
    it cannot perform scaling action due to the cooldown, and thus Tacker
    cannot detect a scaling failure.

    To fix this bug, this patch changes the ``scale`` method of OpenStack
    infra-driver to wait for scaling until cooldown ends.

    Closes-Bug: #1925119
    Change-Id: Ieca345d7e46e03756d34f7d00b37ebc9c25d8d8b
    Signed-off-by: Hiromu Asahina <email address hidden>

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

This issue was fixed in the openstack/tacker 7.0.0.0rc1 release candidate.

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.