Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I followed openstack ocata installation on ubuntu from this link.I have multinode environment with 3 nodes.One controller node running network services too and two compute nodes

https://docs.openstack.org/ocata/install-guide-ubuntu/nova-controller-install.html (https://docs.openstack.org/ocata/inst...)

After following the instructions i could not get placement service up on controller node.I then had to follow https://review.openstack.org/#/c/438328/15/doc/install-guide/source/nova-controller-install.rst (https://review.openstack.org/#/c/4383...) specifically for configuration related to placement service and made some changes related to creation of placement endpoints.I had to use http://controller:8778 instead of http://controller/placement as documented in the instllation guide

After making changes the placement api status is success on controller node but compute nodes still give errors that placement-api is

CONTROLLER root@perfcontroller:~# nova-status upgrade check +-------------------------------------------------------------------+ | Upgrade Check Results | +-------------------------------------------------------------------+ | Check: Cells v2 | | Result: Success | | Details: None | +-------------------------------------------------------------------+ | Check: Placement API | | Result: Success | | Details: None | +-------------------------------------------------------------------+ | Check: Resource Providers | | Result: Warning | | Details: There are no compute resource providers in the Placement | | service but there are 2 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. | +----------------------------------------------------------

COMPUTE Node

On restart nova-compute service i get this

/var/log/nova-compute.log 017-04-24 14:33:59.315 3644 WARNING nova.compute.monitors [req-9a917ab1-9caf-4fab-a9df-50763f8946dd - - - - -] Excluding nova.compute.monitors.cpu monitor virt_driver. Not in the list of enabled monitors (CONF.compute_monitors). 2017-04-24 14:34:03.164 3644 WARNING nova.scheduler.client.report [req-9a917ab1-9caf-4fab-a9df-50763f8946dd - - - - -] The placement API endpoint not found. Placement is optional in Newton, but required in Ocata. Please enable the placement service before upgrading. 2017-04-24 14:34:03.166 3644 WARNING nova.scheduler.client.report [req-9a917ab1-9caf-4fab-a9df-50763f8946dd - - - - -] Unable to refresh my resource provider record 2017-04-24 14:34:03.286 3644 INFO nova.compute.resource_tracker [req-9a917ab1-9caf-4fab-a9df-50763f8946dd - - - - -] Final resource view: name=perfcompute1 phys_ram=128826MB used_ram=512MB phys_disk=789GB used_disk=0GB total_vcpus=32 used_vcpus=0 pci_stats=[]

nova.conf on compute node and controller node [placement] os_region_name = RegionOne project_domain_name = Default project_name = service auth_type = password user_domain_name = Default auth_url = http://perfcontroller:35357/v3 username = placement password = abc123

If i try to launch any instance i am getting "No Valid hosts" error

I followed openstack ocata installation on ubuntu from this link.I have multinode environment with 3 nodes.One controller node running network services too and two compute nodes

https://docs.openstack.org/ocata/install-guide-ubuntu/nova-controller-install.html (https://docs.openstack.org/ocata/inst...)nodes https://docs.openstack.org/ocata/install-guide-ubuntu/nova-controller-install.html.

After following the instructions i could not get placement service up on controller node.I then had to follow https://review.openstack.org/#/c/438328/15/doc/install-guide/source/nova-controller-install.rst (https://review.openstack.org/#/c/4383...) specifically for configuration related to placement service and made some changes related to creation of placement endpoints.I had to use http://controller:8778 instead of http://controller/placement as documented in the instllation guide

After making changes the placement api status is success on controller node but compute nodes still give errors that placement-api is

CONTROLLER

root@perfcontroller:~# nova-status upgrade check +-------------------------------------------------------------------+ | Upgrade Check Results | +-------------------------------------------------------------------+ | Check: Cells v2 | | Result: Success | | Details: None | +-------------------------------------------------------------------+ | Check: Placement API | | Result: Success | | Details: None | +-------------------------------------------------------------------+ | Check: Resource Providers | | Result: Warning | | Details: There are no compute resource providers in the Placement | | service but there are 2 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. | +----------------------------------------------------------

+----------------------------------------------------------

COMPUTE Node

On restart nova-compute service i get this

/var/log/nova-compute.log 017-04-24 14:33:59.315 3644 WARNING nova.compute.monitors [req-9a917ab1-9caf-4fab-a9df-50763f8946dd - - - - -] Excluding nova.compute.monitors.cpu monitor virt_driver. Not in the list of enabled monitors (CONF.compute_monitors). 2017-04-24 14:34:03.164 3644 WARNING nova.scheduler.client.report [req-9a917ab1-9caf-4fab-a9df-50763f8946dd - - - - -] The placement API endpoint not found. Placement is optional in Newton, but required in Ocata. Please enable the placement service before upgrading. 2017-04-24 14:34:03.166 3644 WARNING nova.scheduler.client.report [req-9a917ab1-9caf-4fab-a9df-50763f8946dd - - - - -] Unable to refresh my resource provider record 2017-04-24 14:34:03.286 3644 INFO nova.compute.resource_tracker [req-9a917ab1-9caf-4fab-a9df-50763f8946dd - - - - -] Final resource view: name=perfcompute1 phys_ram=128826MB used_ram=512MB phys_disk=789GB used_disk=0GB total_vcpus=32 used_vcpus=0 pci_stats=[]

pci_stats=[]

nova.conf on compute node and controller node

[placement]  os_region_name = RegionOne  project_domain_name = Default  project_name = service  auth_type = password  user_domain_name = Default  auth_url = http://perfcontroller:35357/v3  username = placement  password = abc123

abc123

If i try to launch any instance i am getting "No Valid hosts" error

I followed openstack ocata installation on ubuntu from this link.I have multinode environment with 3 nodes.One controller node running network services too and two compute nodes https://docs.openstack.org/ocata/install-guide-ubuntu/nova-controller-install.html.

After following the instructions i could not get placement service up on controller node.I then had to follow https://review.openstack.org/#/c/438328/15/doc/install-guide/source/nova-controller-install.rst (https://review.openstack.org/#/c/4383...) specifically for configuration related to placement service and made some changes related to creation of placement endpoints.I had to use http://controller:8778 instead of http://controller/placement as documented in the instllation guide

After making changes the placement api status is success on controller node but compute nodes still give errors that placement-api is

CONTROLLER

root@perfcontroller:~# nova-status upgrade check  +-------------------------------------------------------------------+  | Upgrade Check Results |  +-------------------------------------------------------------------+  | Check: Cells v2 |  | Result: Success |  | Details: None | +-------------------------------------------------------------------+ 
+-------------------------------------------------------------------+
| Check: Placement API |  | Result: Success |  | Details: None |  +-------------------------------------------------------------------+  | Check: Resource Providers |  | Result: Warning |  | Details: There are no compute resource providers in the Placement |  | service but there are 2 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. |  +----------------------------------------------------------

COMPUTE Node

On restart nova-compute service i get this

/var/log/nova-compute.log 017-04-24 14:33:59.315 3644 WARNING nova.compute.monitors [req-9a917ab1-9caf-4fab-a9df-50763f8946dd - - - - -] Excluding nova.compute.monitors.cpu monitor virt_driver. Not in the list of enabled monitors (CONF.compute_monitors). 2017-04-24 14:34:03.164 3644 WARNING nova.scheduler.client.report [req-9a917ab1-9caf-4fab-a9df-50763f8946dd - - - - -] The placement API endpoint not found. Placement is optional in Newton, but required in Ocata. Please enable the placement service before upgrading. 2017-04-24 14:34:03.166 3644 WARNING nova.scheduler.client.report [req-9a917ab1-9caf-4fab-a9df-50763f8946dd - - - - -] Unable to refresh my resource provider record 2017-04-24 14:34:03.286 3644 INFO nova.compute.resource_tracker [req-9a917ab1-9caf-4fab-a9df-50763f8946dd - - - - -] Final resource view: name=perfcompute1 phys_ram=128826MB used_ram=512MB phys_disk=789GB used_disk=0GB total_vcpus=32 used_vcpus=0 pci_stats=[]

nova.conf on compute node and controller node

[placement] 
os_region_name = RegionOne 
project_domain_name = Default 
project_name = service 
auth_type = password 
user_domain_name = Default 
auth_url = http://perfcontroller:35357/v3 
username = placement 
password = abc123

If i try to launch any instance i am getting "No Valid hosts" error

I followed openstack ocata installation on ubuntu from this link.I have multinode environment with 3 nodes.One controller node running network services too and two compute nodes https://docs.openstack.org/ocata/install-guide-ubuntu/nova-controller-install.html.

After following the instructions i could not get placement service up on controller node.I then had to follow https://review.openstack.org/#/c/438328/15/doc/install-guide/source/nova-controller-install.rst (https://review.openstack.org/#/c/4383...) specifically for configuration related to placement service and made some changes related to creation of placement endpoints.I had to use http://controller:8778 instead of http://controller/placement as documented in the instllation guide

After making changes the placement api status is success on controller node but compute nodes still give errors that placement-api is

CONTROLLER

root@perfcontroller:~# nova-status upgrade check 
+-------------------------------------------------------------------+ 
| Upgrade Check Results | 
+-------------------------------------------------------------------+ 
| Check: Cells v2 | 
| Result: Success | 
| Details: None | 
+-------------------------------------------------------------------+
| Check: Placement API | 
| Result: Success | 
| Details: None | 
+-------------------------------------------------------------------+ 
| Check: Resource Providers | 
| Result: Warning | 
| Details: There are no compute resource providers in the Placement | 
| service but there are 2 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 | 
| for more details. | 
+----------------------------------------------------------

COMPUTE Node

On restart nova-compute service i get this

/var/log/nova-compute.log 017-04-24 14:33:59.315 3644 WARNING nova.compute.monitors [req-9a917ab1-9caf-4fab-a9df-50763f8946dd - - - - -] Excluding nova.compute.monitors.cpu monitor virt_driver. Not in the list of enabled monitors (CONF.compute_monitors).  2017-04-24 14:34:03.164 3644 WARNING nova.scheduler.client.report [req-9a917ab1-9caf-4fab-a9df-50763f8946dd - - - - -] The placement API endpoint not found. Placement is optional in Newton, but required in Ocata. Please enable the placement service before upgrading.  2017-04-24 14:34:03.166 3644 WARNING nova.scheduler.client.report [req-9a917ab1-9caf-4fab-a9df-50763f8946dd - - - - -] Unable to refresh my resource provider record  2017-04-24 14:34:03.286 3644 INFO nova.compute.resource_tracker [req-9a917ab1-9caf-4fab-a9df-50763f8946dd - - - - -] Final resource view: name=perfcompute1 phys_ram=128826MB used_ram=512MB phys_disk=789GB used_disk=0GB total_vcpus=32 used_vcpus=0 pci_stats=[]

nova.conf on compute node and controller node

[placement] 
os_region_name = RegionOne 
project_domain_name = Default 
project_name = service 
auth_type = password 
user_domain_name = Default 
auth_url = http://perfcontroller:35357/v3 
username = placement 
password = abc123

If i try to launch any instance i am getting "No Valid hosts" error