← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1736101] Re: nova placement resource_providers DBDuplicateEntry when moving host between cells

 

While the behavior on this is as described: you can't move a resource
provider between cells, that's how things are designed. You no longer
get the DB error, instead the 409 happens.

So I think this is invalid, working as designed.

That the design is imperfect is a different problem...

** Changed in: nova
       Status: Confirmed => Won't Fix

-- 
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 moving host
  between cells

Status in OpenStack Compute (nova):
  Won't Fix

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


References