yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #73673
[Bug 1780107] [NEW] The default of the missing project_id and user_id in placement is an invalid UUID
Public bug reported:
The placement config incomplete_consumer_project_id and
incomplete_consumer_user_id defaulted to an invalid UUID[1]:
DEFAULT_CONSUMER_MISSING_ID = '00000000-0000-0000-0000-0000000000000'
Hint, the last block has 13 digits instead of 12. The DB schema doesn't
catch this as it stores UUIDs in integer fields[2].
[1] https://github.com/openstack/nova/blob/07d3844123115b4b0e47d202a339aaab942d1a92/nova/conf/placement.py#L20
[2] https://github.com/openstack/nova/blob/07d3844123115b4b0e47d202a339aaab942d1a92/nova/db/sqlalchemy/api_models.py#L643
** Affects: nova
Importance: Undecided
Status: New
** Tags: placement
** Tags added: placement
--
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/1780107
Title:
The default of the missing project_id and user_id in placement is an
invalid UUID
Status in OpenStack Compute (nova):
New
Bug description:
The placement config incomplete_consumer_project_id and
incomplete_consumer_user_id defaulted to an invalid UUID[1]:
DEFAULT_CONSUMER_MISSING_ID = '00000000-0000-0000-0000-0000000000000'
Hint, the last block has 13 digits instead of 12. The DB schema
doesn't catch this as it stores UUIDs in integer fields[2].
[1] https://github.com/openstack/nova/blob/07d3844123115b4b0e47d202a339aaab942d1a92/nova/conf/placement.py#L20
[2] https://github.com/openstack/nova/blob/07d3844123115b4b0e47d202a339aaab942d1a92/nova/db/sqlalchemy/api_models.py#L643
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1780107/+subscriptions
Follow ups