scale_level is changed when scaling occurs during heat cooldown
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-
+------
| Field | Value |
+------
| ID | fb212f00-
| 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-
| | | | net0=10.10.0.44; vnflcm_
| | | | manageNW_
| | | | a9e4-1aba396a54
| | | | m_fb212f00-
| | | | =192.168.5.63 | | |
| c19f24a9-
| | | | net0=10.10.0.35; vnflcm_
| | | | manageNW_
| | | | -a9e4-1aba396a5
| | | | cm_fb212f00-
| | | | l=192.168.5.42 | | |
| 7f6b70ec-
| | | | net0=10.10.0.76; vnflcm_
| | | | manageNW_
| | | | a9e4-1aba396a54
| | | | m_fb212f00-
| | | | =192.168.5.123 | | |
+------
After scaling:
stack@server$ openstack vnflcm show fb212f00-
+------
| Field | Value |
+------
| ID | fb212f00-
| 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-
| | | | net0=10.10.0.235; vnflcm_
| | | | tmanageNW_
| | | | b-a9e4-
| | | | flcm_fb212f00-
| | | | zrl=192.168.5.149 | | |
| af322654-
| | | | net0=10.10.0.44; vnflcm_
| | | | manageNW_
| | | | a9e4-1aba396a54
| | | | m_fb212f00-
| | | | =192.168.5.63 | | |
| c19f24a9-
| | | | net0=10.10.0.35; vnflcm_
| | | | manageNW_
| | | | -a9e4-1aba396a5
| | | | cm_fb212f00-
| | | | l=192.168.5.42 | | |
| 7f6b70ec-
| | | | net0=10.10.0.76; vnflcm_
| | | | manageNW_
| | | | a9e4-1aba396a54
| | | | m_fb212f00-
| | | | =192.168.5.123 | | |
+------
After scaling during cooldown:
stack@server$ openstack vnflcm show fb212f00-
+------
| Field | Value |
+------
| ID | fb212f00-
| 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-
| | | | net0=10.10.0.235; vnflcm_
| | | | tmanageNW_
| | | | b-a9e4-
| | | | flcm_fb212f00-
| | | | zrl=192.168.5.149 | | |
| af322654-
| | | | net0=10.10.0.44; vnflcm_
| | | | manageNW_
| | | | a9e4-1aba396a54
| | | | m_fb212f00-
| | | | =192.168.5.63 | | |
| c19f24a9-
| | | | net0=10.10.0.35; vnflcm_
| | | | manageNW_
| | | | -a9e4-1aba396a5
| | | | cm_fb212f00-
| | | | l=192.168.5.42 | | |
| 7f6b70ec-
| | | | net0=10.10.0.76; vnflcm_
| | | | manageNW_
| | | | a9e4-1aba396a54
| | | | m_fb212f00-
| | | | =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-
+------
| Field | Value |
+------
| ID | fb212f00-
| 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-
| | | | net0=10.10.0.44; vnflcm_
| | | | manageNW_
| | | | a9e4-1aba396a54
| | | | m_fb212f00-
| | | | =192.168.5.63 | | |
| c19f24a9-
| | | | net0=10.10.0.35; vnflcm_
| | | | manageNW_
| | | | -a9e4-1aba396a5
| | | | cm_fb212f00-
| | | | l=192.168.5.42 | | |
| 7f6b70ec-
| | | | net0=10.10.0.76; vnflcm_
| | | | manageNW_
| | | | a9e4-1aba396a54
| | | | m_fb212f00-
| | | | =192.168.5.123 | | |
+------
After scaling:
stack@server$ openstack vnflcm show fb212f00-
+------
| Field | Value |
+------
| ID | fb212f00-
| 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-
| | | | net0=10.10.0.235; vnflcm_
| | | | tmanageNW_
| | | | b-a9e4-
| | | | flcm_fb212f00-
| | | | zrl=192.168.5.149 | | |
| af322654-
| | | | net0=10.10.0.44; vnflcm_
| | | | manageNW_
| | | | a9e4-1aba396a54
| | | | m_fb212f00-
| | | | =192.168.5.63 | | |
| c19f24a9-
| | | | net0=10.10.0.35; vnflcm_
| | | | manageNW_
| | | | -a9e4-1aba396a5
| | | | cm_fb212f00-
| | | | l=192.168.5.42 | | |
| 7f6b70ec-
| | | | net0=10.10.0.76; vnflcm_
| | | | manageNW_
| | | | a9e4-1aba396a54
| | | | m_fb212f00-
| | | | =192.168.5.123 | | |
+------
After scaling during cooldown:
stack@server$ openstack vnflcm show fb212f00-
+------
| Field | Value |
+------
| ID | fb212f00-
| 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-
| | | | net0=10.10.0.235; vnflcm_
| | | | tmanageNW_
| | | | b-a9e4-
| | | | flcm_fb212f00-
| | | | zrl=192.168.5.149 | | |
| af322654-
| | | | net0=10.10.0.44; vnflcm_
| | | | manageNW_
| | | | a9e4-1aba396a54
| | | | m_fb212f00-
| | | | =192.168.5.63 | | |
| c19f24a9-
| | | | net0=10.10.0.35; vnflcm_
| | | | manageNW_
| | | | -a9e4-1aba396a5
| | | | cm_fb212f00-
| | | | l=192.168.5.42 | | |
| 7f6b70ec-
| | | | net0=10.10.0.76; vnflcm_
| | | | manageNW_
| | | | a9e4-1aba396a54
| | | | m_fb212f00-
| | | | =192.168.5.123 | | |
+------
I modified the file tacker/
Differences in files before change:
diff --git a/tacker/
index 7ba4a057..22553d90 100644
--- a/tacker/
+++ b/tacker/
@@ -9,6 +9,7 @@ resources:
VDU1_
type: OS::Heat:
properties:
+ cooldown: 300
min_size: 1
max_size: 3
@@ -30,6 +31,7 @@ resources:
+ cooldown: 300
VDU1_
type: OS::Heat:
properties:
@@ -37,9 +39,11 @@ resources:
+ cooldown: 300
VDU2_
type: OS::Heat:
properties:
+ cooldown: 300
min_size: 2
max_size: 2
@@ -57,6 +61,7 @@ resources:
VDU2_
type: OS::Heat:
properties:
+ cooldown: 300
@@ -64,6 +69,7 @@ resources:
VDU2_
type: OS::Heat:
properties:
+ cooldown: 300
description: | updated |
Changed in tacker: | |
importance: | Undecided → Medium |
Changed in tacker: | |
assignee: | nobody → Hiromu Asahina (h-asahina) |
Fix proposed to branch: master /review. opendev. org/c/openstack /tacker/ +/805329
Review: https:/