Instance launch error. [closed]
Setup Information: 1xController (name: controllerstack) 2xCompute nodes. (name: computestack, computestack2)
Network setup : NIC 1 (eth0) - 192.168.0.0/24 Network setup : NIC 2 (eth1) - 192.168.10.0/24 (has internet connection)
Setup guide being followed: Openstack Rocky Installation guide (https://docs.openstack.org/install-guide/ (https://docs.openstack.org/install-gu...)) Neutron Setup: Networking Option 1: Provider networks - https://docs.openstack.org/neutron/rocky/install/controller-install-option1-ubuntu.html (https://docs.openstack.org/neutron/ro...)
I am trying to create an instance from horizon on the controller and I get the following error
Error: Failed to perform requested operation on instance "c3", the instance has an error status: Please try again later [Error: Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures for instance 05d7247e-c157-4744-82ba-8a73c5cb42ae.].
Logs on controller: nova-api.log : https://pastebin.com/CiYD3Pez apache2 error.log : https://pastebin.com/Fck0C0kt
Logs from compute: Nova-compute.log : https://pastebin.com/Www7vHcr
I haven't gone through the logs in each compute nodes. Any input would be valuable.
UPDATE:
Network created on openstack : https://imgur.com/a/6KcTgXL
SubNet: https://imgur.com/a/5ANATGP
neutron-server.log (updated): https://pastebin.com/EY4tTRhJ
response of ifconfig on controller: https://imgur.com/a/qDGHhda Note: eth0 is all connected to a switch. eth1 is connected to another switch with Internet connection.
ml2_conf.ini (controller): https://pastebin.com/gik8c5G2
linuxbridge_agent.ini (controller): https://pastebin.com/QRCDtJ97
ml2_conf.ini (compute node1): https://pastebin.com/tfXybJpu
linuxbride_agent.ini (compute node1): https://pastebin.com/Xqxf2EwY
The launch fails because Nova is unable to create a volume in time. novainfinite’s answer may help. If not:
Did you set up the volume service? Can you create volumes? If not, either complete volume service setup, or launch the instance without volume.
Yes I did try without the volume and it gives me another error. Added to the original post. I will try to fix the volume setup though. But even without the volume it gives me error.
the 2nd error means that the instance launch failed on all compute nodes that were tried. Failure details in the nova compute log(s) and/or libvirt log(s).
I have added the nova compute log from one of the compute nodes. I can see a neutron error in there. Is that the problem?
I have checked the config logs in the controller and compute nodes for nova and it is perfect.