existing resource provider record will make computenode abnormal

Bug #1733254 reported by xulei
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Undecided
xulei

Bug Description

  I install a production cluster with ocata version for nfv project. During the testing, a compute node(hostname:normal-node2) is reclaimed., and I install a new node with the same hostname. The new nova-compute just has warning in logs, but instances can be created in this compute node with no error.
  For example(devstack for master branch,just for check the bug):

  # /usr/bin/nova-compute --config-file /etc/nova/nova-cpu.conf
  .............
  INFO nova.compute.resource_tracker [None req-4330d5b5-ccb3-41d9-954a-43d42373a325 None None] Final resource view: name=devstack-com phys_ram=15708MB used_ram=512MB phys_disk=492GB used_disk=0GB total_vcpus=8 used_vcpus=0 pci_stats=[]
  INFO nova.scheduler.client.report [None req-4330d5b5-ccb3-41d9-954a-43d42373a325 None None] [req-3857fb52-6ca3-44c0-8974-fc30abf038b4] Another thread already created a resource provider with the UUID d494e537-0790-4dfd-9ca2-28905e085f58. Grabbing that record from the placement API.
  WARNING nova.scheduler.client.report [None req-4330d5b5-ccb3-41d9-954a-43d42373a325 None None] Unable to refresh my resource provider record
  ..............

  This code just work in two compute nodes with same hostname and restrict the following node. But if the previous node was destroyed, it's useless.
  I think it's danger in production environment, with no error in logs can let operators ignore the potential risk. For my project, the new node with wrong resource provider work two weeks before I delete the old record in nova-api database.

Tags: placement
xulei (605423512-j)
Changed in nova:
assignee: nobody → xulei (605423512-j)
summary: - existing resource provider record will make computenode abnormally
+ existing resource provider record will make computenode abnormal
Revision history for this message
Takashi Natsume (natsume-takashi) wrote :

Set the status to 'In-Progress' because this report has an assignee.

Changed in nova:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

Fix proposed to branch: master
Review: https://review.openstack.org/521764

Chris Dent (cdent)
tags: added: placement
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by xulei (<email address hidden>) on branch: master
Review: https://review.openstack.org/521764

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.