← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1736101] [NEW] nova placement resource_providers DBDuplicateEntry when name repeat

 

Public bug reported:

OpenStack Version: Pike

I have two compute nodes with same name. But only one record can be successfully created in resource_providers table.
When resource_providers.name repeat, the record can not insert, and get error message:
  Uncaught exception: DBDuplicateEntry: (pymysql.err.IntegrityError) (1062, u"Duplicate entry 'cvk17(CVM172.25.19.80)'for key 'uniq_resource_providers0name'") [SQL: u'INSERT INTO resource_providers (created_at, updated_at, uuid, name, generation) VALUES...

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1736101

Title:
  nova placement resource_providers DBDuplicateEntry when name repeat

Status in OpenStack Compute (nova):
  New

Bug description:
  OpenStack Version: Pike

  I have two compute nodes with same name. But only one record can be successfully created in resource_providers table.
  When resource_providers.name repeat, the record can not insert, and get error message:
    Uncaught exception: DBDuplicateEntry: (pymysql.err.IntegrityError) (1062, u"Duplicate entry 'cvk17(CVM172.25.19.80)'for key 'uniq_resource_providers0name'") [SQL: u'INSERT INTO resource_providers (created_at, updated_at, uuid, name, generation) VALUES...

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1736101/+subscriptions


Follow ups