Things you could check:

- on the compute node, nova compute log (DevStack names it n-cpu), are there 
messages indicating that the node can't contact the placement service.

- if so, find out why. 
The error message might contain clues. Likely causes are misconfiguration in 
nova.conf, some networking misconfiguration, firewall etc. Ultimately, the root 
of the problem is in local.conf, I would guess.

- if it can contact the placement service, something is wrong at a different 
level. Again, I would hope that the compute log contains useful information.

-----Original Message-----
From: Ramu, MohanX [mailto:mohanx.r...@intel.com] 
Sent: Tuesday, November 28, 2017 4:47 PM
To: Brian Haley <haleyb....@gmail.com>; openstack@lists.openstack.org
Subject: Re: [Openstack] Devstack -Ocata - Failed to launch instance on Host

After running discover host command also not able to populate the compute node 
data into Resource_providers table.

The cell mapping table ahs cello and Null not cell0, post updating cell1 also 
-nothing resolved.


su -s /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova 
nova-manage cell_v2 discover_hosts




-----Original Message-----
From: Brian Haley [mailto:haleyb....@gmail.com]
Sent: Monday, November 27, 2017 10:21 PM
To: Ramu, MohanX <mohanx.r...@intel.com>; openstack@lists.openstack.org
Subject: Re: [Openstack] Devstack -Ocata - Failed to launch instance on Host

On 11/27/2017 10:24 AM, Ramu, MohanX wrote:
> Hi All,
> 
> Not bale to launch an instance on Compute Node. instead of it, 
> instance is trying to launch on the same controller.
> 
> The added compute node is not there in resource provider table.
> 
> Could you please help us what we missed.
> 
> Is placement API not configured on compute node side and Is there 
> Placement API configurations coming by default along with basic 
> Devstack set up?

There is a section on multinode setup in the devstack repo, 
doc/source/guides/multinode-lab.rst, that I think covers the issue you're 
seeing.  Assuming your compute node shows up in  'nova service-list' output, 
you need to run ./tools/discover_hosts.sh to have a cell mapping added for the 
node.

-Brian

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to