id of encryption for volume type not verified

Bug #1918879 reported by jiangzhilin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Incomplete
Low
Tushar Trambak Gite

Bug Description

when try to update encryption for a given volume type, this api received one parameter is id, but it is not used,therefore, when it is a wrong encryption id, the api layer not check.

tags: added: encryption retype volume
Revision history for this message
Sofia Enriquez (lsofia-enriquez) wrote :

Hi jiangzhilin, hope this message finds you well.
We need more information about the bug in order to evaluate it. Please answer the following questions:
- Exactly what api call are you referring to?
- What are you passing in the request?
- What release are you using?
Thanks,Sofia

Changed in cinder:
status: New → Incomplete
Revision history for this message
jiangzhilin (jiangzhilin111) wrote :

- the name of api is 'Update an encryption type', the name of function is update in '/cinder/api/contrib/volume_type_encryption'

- follow is a request exemple:
/v3/{project_id}/types/{volume_type_id}/encryption/{encryption_id}

{
    "encryption":{
        "key_size": 64,
        "provider": "luks",
        "control_location":"back-end",
        "cipher": "aes-xts-plain64"
    }
}

- the relese is W

Changed in cinder:
importance: Undecided → Low
Changed in cinder:
assignee: nobody → Tushar Trambak Gite (tushargite96)
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.