Reviewed: https://review.openstack.org/580358 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=4b62b6bfc9db4e318ae25221e9d5e606fff8e996 Submitter: Zuul Branch: master
commit 4b62b6bfc9db4e318ae25221e9d5e606fff8e996 Author: Jay Pipes <[email protected]> Date: Thu Jul 5 08:06:12 2018 -0400 make incomplete_consumer_project_id a valid UUID Unfortunately, when I added the CONF.incomplete_consumer_project_id and CONF.incomplete_consumer_user_id options, the default value for those options was an invalid UUID (it had 13 zeroes for the last part of the UUID instead of 12). This is preventing some work that tries to disable warnings about invalid UUIDs being stored in ovo UUIDField objects. The work to "heal allocations" will be able to fix up any deployments that deployed the invalid UUID default CONF value because it looks for any instances in Nova where the placement allocation records don't have a matching user/project and replaces the mismatched user/project IDs on the consumer appropriately. Change-Id: I67b3b771f20e0b83225fce4839d378696fe1ab24 Closes-bug: #1780107 ** Changed in: nova Status: In Progress => Fix Released -- 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): Fix Released 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

