sunfish2's profile - activity

2018-12-20 06:57:31 -0500 received badge  Notable Question (source)
2018-11-19 08:35:24 -0500 received badge  Popular Question (source)
2018-11-14 10:27:19 -0500 answered a question PackStack installed Ocata launchs instance: [Error: No valid host was found. There are not enough hosts available.].

I figured it out: the reason is placement service auth failed in Keystone. The default keystone endpoint in nova.conf didn't work in this setup. I have to change [placement] auth_url from: "auth_url=http://10.10.0.101:5000" to "auth_url=http://10.10.0.101:35357/v3" And restart Nova service.

2018-11-12 15:46:27 -0500 asked a question PackStack installed Ocata launchs instance: [Error: No valid host was found. There are not enough hosts available.].

I have installed Ocata with Packstack All-in-one. But when launch instance, it shows "Error: No valid host was found. There are not enough hosts available". I have checked the services list and other resources in my setup, everything looks up and running except below the placement API issue:

[root@localhost etc(keystone_admin)]# nova-status upgrade check

+-------------------------------------------------------------------+ | Upgrade Check Results | +-------------------------------------------------------------------+ | Check: Cells v2 | | Result: Success | | Details: None | +-------------------------------------------------------------------+ | Check: Placement API | | Result: Failure | | Details: Discovery for placement API URI failed. | +-------------------------------------------------------------------+ | Check: Resource Providers | | Result: Warning | | Details: There are no compute resource providers in the Placement | | service but there are 1 compute nodes in the deployment. | | This means no compute nodes are reporting into the | | Placement service and need to be upgraded and/or fixed. | | See | | http://docs.openstack.org/developer/nova/placement.html (http://docs.openstack.org/developer/n...) | | for more details. | +-------------------------------------------------------------------+

[root@localhost etc(keystone_admin)]# openstack catalog show placement

+-----------+-----------------------------------------------------+ | Field | Value | +-----------+-----------------------------------------------------+ | endpoints | RegionOne | | | publicURL: http://10.10.0.101:8778/placement | | | internalURL: http://10.10.0.101:8778/placement | | | adminURL: http://10.10.0.101:8778/placement | | | | | name | placement | | type | placement | +-----------+-----------------------------------------------------+

When I manually check placement API endpoint, it works:

[root@localhost etc(keystone_admin)]# OSTOKEN=$(openstack token issue -f value -c id) [root@localhost etc(keystone_admin)]# curl -s -H "X-Auth-Token: $OSTOKEN" http://10.10.0.101:8778/placement {"versions": [{"min_version": "1.0", "max_version": "1.4", "id": "v1.0"}]}

Please help to guide me where to debug further to get this problem fixed? Thanks.

2018-11-12 15:46:27 -0500 asked a question PackStack installed Ocata launch instance [Error: No valid host was found. There are not enough hosts available.].

I have installed Ocata with Packstack All-in-one. But when launch instance, it shows "Error: No valid host was found. There are not enough hosts available". I have checked the services list and other resources in my setup, everything looks up and running except below the placement API issue:

[root@localhost etc(keystone_admin)]# nova-status upgrade check

+-------------------------------------------------------------------+ | Upgrade Check Results | +-------------------------------------------------------------------+ | Check: Cells v2 | | Result: Success | | Details: None | +-------------------------------------------------------------------+ | Check: Placement API | | Result: Failure | | Details: Discovery for placement API URI failed. | +-------------------------------------------------------------------+ | Check: Resource Providers | | Result: Warning | | Details: There are no compute resource providers in the Placement | | service but there are 1 compute nodes in the deployment. | | This means no compute nodes are reporting into the | | Placement service and need to be upgraded and/or fixed. | | See | | http://docs.openstack.org/developer/nova/placement.html (http://docs.openstack.org/developer/n...) | | for more details. | +-------------------------------------------------------------------+

[root@localhost etc(keystone_admin)]# openstack catalog show placement

+-----------+-----------------------------------------------------+ | Field | Value | +-----------+-----------------------------------------------------+ | endpoints | RegionOne | | | publicURL: http://10.10.0.101:8778/placement | | | internalURL: http://10.10.0.101:8778/placement | | | adminURL: http://10.10.0.101:8778/placement | | | | | name | placement | | type | placement | +-----------+-----------------------------------------------------+

When I manually check placement API endpoint, it works:

[root@localhost etc(keystone_admin)]# OSTOKEN=$(openstack token issue -f value -c id) [root@localhost etc(keystone_admin)]# curl -s -H "X-Auth-Token: $OSTOKEN" http://10.10.0.101:8778/placement {"versions": [{"min_version": "1.0", "max_version": "1.4", "id": "v1.0"}]}

Please help to guide me where to debug further to get this problem fixed? Thanks.