List of roles in InstanceSystemMetadata can be overflown
Bug #1855749 reported by
Mykola Yakovliev
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Undecided
|
Mykola Yakovliev |
Bug Description
Description
===========
Nova saves list of users roles in database in InstanceSystemM
This field limited by 255 characters.
Steps to reproduce
==================
1) Create bunch of roles with long names.
2) Assign roles to a user (combined length of names should be greater than 255 characters).
3) Use this user to create server.
4) Check InstanceSystemM
Expected result
===============
Nova should save all roles.
Actual result
=============
Nova save first 255 characters of combined role names.
To post a comment you must log in.
Fix is here: https:/ /review. opendev. org/#/c/ 698040/