"scaleLevel" is not changed after the LCM rollback operation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tacker |
In Progress
|
Medium
|
Naoaki Horie |
Bug Description
I tried the scale out operation with a MgmtDriver in the tacker stable/wallaby releases, the scale out operation was failed.It's a created VNF Package issue by myself, so it's not a problem for the scale out operation to fail.However, a scaleLevel in the scaleStatus was "1" not "0".
---
$ openstack vnflcm scale --type SCALE_OUT --aspect-id free5gc_instance 0126ede2-
Scale request for VNF Instance 0126ede2-
$
$ openstack vnflcm op list
+------
| ID | Operation State | VNF Instance ID | Operation |
+------
| 3dc2583e-
+------
$
$ openstack vnflcm show 0126ede2-
+------
| Field | Value
+------
| ID | 0126ede2-
| Instantiated Vnf Info | {
| | "flavourId": "simple",
| | "vnfState": "STARTED",
| | "scaleStatus": [
| | {
| | "aspectId": "free5gc_instance",
| | "scaleLevel": 1 *
| | }
| | ],
---
And then, run the rollback operation, but the scaleLevel of scaleStatus remains at "1" and does not change to "0".
---
$ openstack vnflcm op rollback 3dc2583e-
Rollback request for LCM operation 3dc2583e-
$
$ openstack vnflcm op list
+------
| ID | Operation State | VNF Instance ID | Operation |
+------
| 3dc2583e-
+------
$
$ openstack vnflcm show 0126ede2-
+------
| Field | Value
+------
| ID | 0126ede2-
| Instantiated Vnf Info | {
| | "flavourId": "simple",
| | "vnfState": "STARTED",
| | "scaleStatus": [
| | {
| | "aspectId": "free5gc_instance",
| | "scaleLevel": 1 *
| | }
| | ],
---
Therefore, retry the scale out operation with this status does not run.
---
$ openstack vnflcm scale --type SCALE_OUT --aspect-id free5gc_instance 0126ede2-
can not scale_out
$
---
Changed in tacker: | |
assignee: | nobody → Naoaki Horie (naoaki-horie) |
Changed in tacker: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. opendev. org/c/openstack /tacker/ +/814089
Review: https:/