Skip to content

Latest commit

 

History

History
61 lines (59 loc) · 1.87 KB

File metadata and controls

61 lines (59 loc) · 1.87 KB

OpenStack Error, Solutions and Troubleshooting

1. Error: Something went wrong! An unexpected error has occurred. Try refreshing the page. If that doesn't help, contact your local administrator.

service apache2 restart
service memcached restart

2. Error: If can't reach host to instance

nano /etc/neutron/dhcp_agent.ini

Search

isolated

enable_isolated_metadata = true

systemctl restart neutron-dhcp-agent

3. Error: When luanch a instance then show the error timeout

Show nova-compute.log

tail -f /var/log/nova/nova-compute.log

nano /etc/nova/nova.conf.d/100-nova.conf

block_device_allocate_retries = 300
block_device_allocate_retries_interval = 3

4. Error: OpenStack-Exceeded-Maximum-Number-Of-Retries-Exhausted-All-Hosts-Available-For-Retrying-Build-Failures-For-Instance.

Refference: https://www.informaticar.net/openstack-exceeded-maximum-number-of-retries-exhausted-all-hosts-available-for-retrying-build-failures-for-instance/

tail -f /var/log/cinder/volume.log

tail -f /var/log/nova/nova-conductor.log

5. Error: NoValidHost: No valid host was found. There are not enough hosts available

Solution:
https://stackoverflow.com/questions/45511739/novalidhost-no-valid-host-was-found-there-are-not-enough-hosts-available

Edit /etc/nova/nova.conf in all the compute node and modify as per your application requirement .

nano /etc/nova/nova.conf

Double of Physical Core can be used for total Instance
Double of Total Memory can be used for total Instance

cpu_allocation_ratio = 2.0
ram_allocation_ratio = 2.0     

Restart Nova and Nova-Scheduler in all the Compute Node

systemctl restart openstack-nova-*
systemctl restart openstack-nova-scheduler.service