Bug 1532703 - When deploying an Overcloud on auto discovered nodes nova errors with host not mapped to any cell
Summary: When deploying an Overcloud on auto discovered nodes nova errors with host no...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 12.0 (Pike)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z2
: 12.0 (Pike)
Assignee: Dmitry Tantsur
QA Contact: mlammon
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-09 15:57 UTC by Ramon Acedo
Modified: 2019-09-09 14:59 UTC (History)
14 users (show)

Fixed In Version: openstack-tripleo-common-7.6.9-2.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-28 17:27:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1742179 0 None None None 2018-01-09 16:08:29 UTC
OpenStack gerrit 534328 0 None MERGED Discover nova hosts in cells right before deployment 2020-09-19 07:38:38 UTC
Red Hat Product Errata RHBA-2018:0607 0 None None None 2018-03-28 17:28:17 UTC

Description Ramon Acedo 2018-01-09 15:57:24 UTC
When using auto discovered hosts the deployment will fail with:

"Message: Host 'undercloud-2.osp.rh' is not mapped to any cell, Code: 400"

Running as root 'nova-manage cell_v2 discover_hosts --verbose' fixes the issue.

Comment 1 Dmitry Tantsur 2018-01-09 16:05:25 UTC
I think we should enable the periodic task for host discovery in the undercloud (we already do it for the overcloud). Moving to instack-undercloud.

Comment 2 Dmitry Tantsur 2018-01-09 16:15:15 UTC
master patch proposed

Comment 3 Dmitry Tantsur 2018-01-10 11:20:16 UTC
Trying another approach that won't involve a potentially expensive periodic task: https://review.openstack.org/#/c/532495/

Comment 4 Ramon Acedo 2018-01-11 12:05:49 UTC
After applying the patch https://review.openstack.org/#/c/532495/ the cells issue is gone and there's no need to run 'nova-manage cell_v2 discover_hosts'

Comment 5 Dan Yasny 2018-02-02 20:15:09 UTC
I have managed to deploy a overcloud on autodiscovered nodes with no extra steps in OSP12. Had to properly tag the nodes first though

Comment 9 mlammon 2018-03-15 18:58:41 UTC
Deployed latest osp 12 2018-03-10.1

Env
openstack-tripleo-common-7.6.9-2.el7ost.noarch

Based on commet#4&5 and code is in puddle we can move to verify

Comment 12 errata-xmlrpc 2018-03-28 17:27:14 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0607


Note You need to log in before you can comment on or make changes to this bug.