yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #80918
[Bug 1855749] [NEW] List of roles in InstanceSystemMetadata can be overflown
Public bug reported:
Description
===========
Nova saves list of users roles in database in InstanceSystemMetadata#boot_roles.
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 InstanceSystemMetadata#boot_roles to validate corrupted data.
Expected result
===============
Nova should save all roles.
Actual result
=============
Nova save first 255 characters of combined role names.
** Affects: nova
Importance: Undecided
Assignee: Mykola Yakovliev (vegasq)
Status: In Progress
** Tags: metadata
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1855749
Title:
List of roles in InstanceSystemMetadata can be overflown
Status in OpenStack Compute (nova):
In Progress
Bug description:
Description
===========
Nova saves list of users roles in database in InstanceSystemMetadata#boot_roles.
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 InstanceSystemMetadata#boot_roles to validate corrupted data.
Expected result
===============
Nova should save all roles.
Actual result
=============
Nova save first 255 characters of combined role names.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1855749/+subscriptions