** Also affects: nova/pike
   Importance: Undecided
       Status: New

** Changed in: nova/pike
       Status: New => In Progress

** Changed in: nova/pike
     Assignee: (unassigned) => Matt Riedemann (mriedem)

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

Title:
  Cell_v2 discover_hosts Not Working, after deleted a host from a cell

Status in OpenStack Compute (nova):
  Fix Released
Status in OpenStack Compute (nova) pike series:
  In Progress

Bug description:
  !!!!!!!!!!!!!!!!!!!!!!!!! READ THIS !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  Description
  ===========
  Mulit-cell Cell_v2 'discover_hosts' is not working after executing 
'delete_host' operation to remove a specific host from the cell. 

  Steps to reproduce
  ==================
  *Consider I am having nova-compute service running on host 'compute3'
  *nova-manage cell_v2 delete_host --cell_uuid 
d9a559a8-7d16-4e7c-8db2-82f28199509e --host compute3 (as per this 
https://review.openstack.org/513717 )
  *Host entry was removed from host_mappings table
  *Still service is up and Running on the local cell DB.
  *I am trying to execute 'nova-manage cell_v2 discover_hosts --verbose'
  *No host entry was created and got `Found 0 unmapped computes in cell: 
d9a559a8-7d16-4e7c-8db2-82f28199509e` message.

  Expected result
  ===============

  It should add the host that is not mapped to the cell.

  Actual result
  =============
  nova-manage cell_v2 discover_hosts --verbose
  Getting compute nodes from cell 'cell2': d9a559a8-7d16-4e7c-8db2-82f28199509e
  Found 0 unmapped computes in cell: d9a559a8-7d16-4e7c-8db2-82f28199509e
  Host is not added to the cell.

  Environment
  ===========
  Devstack(stable/pike) using nova-manage 16.0.3

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to