Storage group type conversion getting failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Invalid
|
Low
|
Bob Church |
Bug Description
Brief Description
-----------------
This test validates that the user can convert between different storage types. But when modifying instance_backing as image type conversion using system host-lvg-modify getting error.
Severity
--------
Provide the severity of the defect.
Critical: System/Feature is not usable due to the defect
Steps to Reproduce
------------------
1. Lock a worker that is hosting VMs
2. Modify the worker nova-local backend from remote storage to image.
CMD:
system host-lvg-modify -b image compute-0 nova-local
Error:
system: error: unrecognized arguments: -b nova-local
So let me know, what is the alternate command for remote to image type change?
Expected Behavior
------------------
It should be possible to modify the nova-local backend
Actual Behavior
----------------
system: error: unrecognized arguments: -b nova-local
Reproducibility
---------------
Reproducible/100%
System Configuration
-------
- MN-External (2+2+2)
Branch/Pull Time/Commit
-------
BUILD_DATE=
Test Activity
-------------
Feature Testing, Regression Testing
Current help text from the command shows this option has been removed.
[sysadmin@ controller- 0 ~(keystone_admin)]$ system help host-lvg-modify
<hostname or id> <lvg name or uuid>Modify the attributes of a Local Volume Group.
usage: system host-lvg-modify [-l <lvm_type>]
Positional arguments:
<hostname or id> Name or ID of the host [REQUIRED]
<lvg name or uuid> Name or UUID of lvg [REQUIRED]
Optional arguments:
Determines the thick or thin provisioning format of
the LVM volume group. [cinder-volumes]
-l <lvm_type>, --lvm_type <lvm_type>
We currently support local ephemeral storage (QCOW2) image backing by default on a compute worker. The other option is to use RBD backed ephemeral storage from the Ceph cluster. To do this, you need to lock the compute worker and add a Kubernetes label 'remote- storage' (system host-label-assign <worker> remote- storage= enabled) and unlock.