Public bug reported: I have problems running instance after creation it says hosts not found
it was because the mysql had gone so I applied this fix I found on the internet mysql --max_allowed_packet=25G !/usr/bin/env python2.7 import time import mysql.connector now I have this error , traced it: Error: Unable to create the server. Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. <class 'oslo_messaging.exceptions.MessageDeliveryFailure'> (HTTP 500) (Request-ID: req-165fa813-f601-4aed-b584-bf847ae764b7) also it shows in nova-api.log 2019-01-26 22:24:54.143 113216 ERROR nova.api.openstack.wsgi 2019-01-26 22:24:54.450 113216 INFO nova.api.openstack.wsgi [req-165fa813-f601-4aed-b584-bf847ae764b7 c48c372dabe14b24aeec0408d345f30d d159ec3920b94490a9a85ed183482acc - default default] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. [root@amer swift(keystone_admin)]# I have a VM of 8G 8 cores and 1 TB HDD pinging is successful from my host to the outside world: [root@amer swift(keystone_admin)]# ping google.com PING google.com (172.217.19.46) 56(84) bytes of data. 64 bytes from ham02s11-in-f46.1e100.net (172.217.19.46): icmp_seq=1 ttl=53 time=83.6 ms 64 bytes from ham02s11-in-f46.1e100.net (172.217.19.46): icmp_seq=2 ttl=53 time=87.8 ms I can ping myself also: [root@amer swift(keystone_admin)]# ping amer.example.com PING amer.example.com (192.168.43.110) 56(84) bytes of data. 64 bytes from amer.example.com (192.168.43.110): icmp_seq=1 ttl=64 time=0.044 ms 64 bytes from amer.example.com (192.168.43.110): icmp_seq=2 ttl=64 time=0.053 ms 64 bytes from amer.example.com (192.168.43.110): icmp_seq=3 ttl=64 time=0.046 ms 64 bytes from amer.example.com (192.168.43.110): icmp_seq=4 ttl=64 time=0.082 ms openstack compute service list gives: [root@amer swift(keystone_admin)]# openstack compute service list +----+------------------+------------------+----------+---------+-------+----------------------------+ | ID | Binary | Host | Zone | Status | State | Updated At | +----+------------------+------------------+----------+---------+-------+----------------------------+ | 4 | nova-conductor | amer.example.com | internal | enabled | up | 2019-01-27T03:43:17.000000 | | 5 | nova-scheduler | amer.example.com | internal | enabled | up | 2019-01-27T03:43:24.000000 | | 7 | nova-consoleauth | amer.example.com | internal | enabled | up | 2019-01-27T03:43:15.000000 | | 8 | nova-compute | amer.example.com | nova | enabled | up | 2019-01-27T03:43:18.000000 | +----+------------------+------------------+----------+---------+-------+----------------------------+ [root@amer swift(keystone_admin)]# ** Affects: nova Importance: Undecided Status: New ** Attachment added: "nova-api.log" https://bugs.launchpad.net/bugs/1813446/+attachment/5232866/+files/nova-api.log -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1813446 Title: impl_rabbit timedout Status in OpenStack Compute (nova): New Bug description: I have problems running instance after creation it says hosts not found it was because the mysql had gone so I applied this fix I found on the internet mysql --max_allowed_packet=25G !/usr/bin/env python2.7 import time import mysql.connector now I have this error , traced it: Error: Unable to create the server. Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. <class 'oslo_messaging.exceptions.MessageDeliveryFailure'> (HTTP 500) (Request-ID: req-165fa813-f601-4aed-b584-bf847ae764b7) also it shows in nova-api.log 2019-01-26 22:24:54.143 113216 ERROR nova.api.openstack.wsgi 2019-01-26 22:24:54.450 113216 INFO nova.api.openstack.wsgi [req-165fa813-f601-4aed-b584-bf847ae764b7 c48c372dabe14b24aeec0408d345f30d d159ec3920b94490a9a85ed183482acc - default default] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. [root@amer swift(keystone_admin)]# I have a VM of 8G 8 cores and 1 TB HDD pinging is successful from my host to the outside world: [root@amer swift(keystone_admin)]# ping google.com PING google.com (172.217.19.46) 56(84) bytes of data. 64 bytes from ham02s11-in-f46.1e100.net (172.217.19.46): icmp_seq=1 ttl=53 time=83.6 ms 64 bytes from ham02s11-in-f46.1e100.net (172.217.19.46): icmp_seq=2 ttl=53 time=87.8 ms I can ping myself also: [root@amer swift(keystone_admin)]# ping amer.example.com PING amer.example.com (192.168.43.110) 56(84) bytes of data. 64 bytes from amer.example.com (192.168.43.110): icmp_seq=1 ttl=64 time=0.044 ms 64 bytes from amer.example.com (192.168.43.110): icmp_seq=2 ttl=64 time=0.053 ms 64 bytes from amer.example.com (192.168.43.110): icmp_seq=3 ttl=64 time=0.046 ms 64 bytes from amer.example.com (192.168.43.110): icmp_seq=4 ttl=64 time=0.082 ms openstack compute service list gives: [root@amer swift(keystone_admin)]# openstack compute service list +----+------------------+------------------+----------+---------+-------+----------------------------+ | ID | Binary | Host | Zone | Status | State | Updated At | +----+------------------+------------------+----------+---------+-------+----------------------------+ | 4 | nova-conductor | amer.example.com | internal | enabled | up | 2019-01-27T03:43:17.000000 | | 5 | nova-scheduler | amer.example.com | internal | enabled | up | 2019-01-27T03:43:24.000000 | | 7 | nova-consoleauth | amer.example.com | internal | enabled | up | 2019-01-27T03:43:15.000000 | | 8 | nova-compute | amer.example.com | nova | enabled | up | 2019-01-27T03:43:18.000000 | +----+------------------+------------------+----------+---------+-------+----------------------------+ [root@amer swift(keystone_admin)]# To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1813446/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

