Thanks for submitting this "bug" and providing the resolution. Closing it as you requested.
** Changed in: nova Status: New => Invalid -- 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/2109597 Title: openstack error create to server Status in OpenStack Compute (nova): Invalid Bug description: Hello everyone, I have a problem creating a server in Openstack. I am using the openstack version: openstack 7.1.2 On OS ubuntu 24.04 server and I did manual install on single node. When I want to create a server in the Horizon dashboard, I get an error message: Error: Unable to create the server. And if I want to create a server in CLI I get an error message: HttpException: 500: Server Error for url: http://10.0.0.200:8774/v2.1/servers, Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible. <class 'keystoneauth1.exceptions.discovery.DiscoveryFailure'> Can you please advise me on how to resolve this issue? Here is my output from nova log Apr 28 12:55:34 ubuntik systemd[1]: Started nova-api.service - OpenStack Compute API. Apr 28 12:55:35 ubuntik nova-api[301078]: 3 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules. Apr 28 14:30:45 ubuntik systemd[1]: Stopping nova-api.service - OpenStack Compute API... Apr 28 14:31:00 ubuntik systemd[1]: nova-api.service: State 'stop-sigterm' timed out. Killing. Apr 28 14:31:00 ubuntik systemd[1]: nova-api.service: Killing process 301078 (nova-api) with signal SIGKILL. Apr 28 14:31:00 ubuntik systemd[1]: nova-api.service: Main process exited, code=killed, status=9/KILL Apr 28 14:31:00 ubuntik systemd[1]: nova-api.service: Failed with result 'timeout'. Apr 28 14:31:00 ubuntik systemd[1]: Stopped nova-api.service - OpenStack Compute API. Apr 28 14:31:00 ubuntik systemd[1]: nova-api.service: Consumed 1min 26.175s CPU time, 1.3M memory peak, 0B memory swap peak. Apr 28 14:31:00 ubuntik systemd[1]: Started nova-api.service - OpenStack Compute API. Apr 28 14:31:01 ubuntik nova-api[308850]: 3 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules. Apr 29 06:06:29 ubuntik systemd[1]: Stopping nova-api.service - OpenStack Compute API... Apr 29 06:06:44 ubuntik systemd[1]: nova-api.service: State 'stop-sigterm' timed out. Killing. Apr 29 06:06:44 ubuntik systemd[1]: nova-api.service: Killing process 308850 (nova-api) with signal SIGKILL. Apr 29 06:06:44 ubuntik systemd[1]: nova-api.service: Main process exited, code=killed, status=9/KILL Apr 29 06:06:44 ubuntik systemd[1]: nova-api.service: Failed with result 'timeout'. Apr 29 06:06:44 ubuntik systemd[1]: Stopped nova-api.service - OpenStack Compute API. Apr 29 06:06:44 ubuntik systemd[1]: nova-api.service: Consumed 10min 18.451s CPU time, 1.3M memory peak, 0B memory swap peak. Apr 29 06:06:44 ubuntik systemd[1]: Started nova-api.service - OpenStack Compute API. Apr 29 06:06:44 ubuntik nova-api[380599]: 3 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules. Apr 29 06:09:13 ubuntik systemd[1]: Stopping nova-api.service - OpenStack Compute API... Apr 29 06:09:13 ubuntik systemd[1]: nova-api.service: Deactivated successfully. Apr 29 06:09:13 ubuntik systemd[1]: Stopped nova-api.service - OpenStack Compute API. Apr 29 06:09:13 ubuntik systemd[1]: nova-api.service: Consumed 14.015s CPU time, 1.3M memory peak, 0B memory swap peak. Apr 29 06:09:13 ubuntik systemd[1]: Started nova-api.service - OpenStack Compute API. Apr 29 06:09:13 ubuntik nova-api[380977]: 3 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules. Apr 29 06:17:06 ubuntik systemd[1]: Stopping nova-api.service - OpenStack Compute API... Apr 29 06:17:07 ubuntik systemd[1]: nova-api.service: Deactivated successfully. Apr 29 06:17:07 ubuntik systemd[1]: Stopped nova-api.service - OpenStack Compute API. Apr 29 06:17:07 ubuntik systemd[1]: nova-api.service: Consumed 21.817s CPU time, 1.7M memory peak, 0B memory swap peak. -- Boot bc0ca74cf5094120bf1c3aa541e61cb7 -- Apr 29 06:20:44 ubuntik systemd[1]: Started nova-api.service - OpenStack Compute API. Apr 29 06:20:44 ubuntik nova-api[2067]: 3 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules. Apr 29 07:12:30 ubuntik systemd[1]: Stopping nova-api.service - OpenStack Compute API... Apr 29 07:12:45 ubuntik systemd[1]: nova-api.service: State 'stop-sigterm' timed out. Killing. Apr 29 07:12:45 ubuntik systemd[1]: nova-api.service: Killing process 2067 (nova-api) with signal SIGKILL. Apr 29 07:12:45 ubuntik systemd[1]: nova-api.service: Killing process 8032 (nova-api) with signal SIGKILL. Apr 29 07:12:45 ubuntik systemd[1]: nova-api.service: Main process exited, code=killed, status=9/KILL Apr 29 07:12:45 ubuntik systemd[1]: nova-api.service: Failed with result 'timeout'. Apr 29 07:12:45 ubuntik systemd[1]: Stopped nova-api.service - OpenStack Compute API. Apr 29 07:12:45 ubuntik systemd[1]: nova-api.service: Consumed 1min 18.802s CPU time, 1.3G memory peak, 0B memory swap peak. -- Boot 4f09c5d057b64b3fb42dd3363b98129a -- Apr 29 08:28:49 ubuntik systemd[1]: Started nova-api.service - OpenStack Compute API. Apr 29 08:28:49 ubuntik nova-api[2024]: 3 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules. Apr 29 08:50:39 ubuntik systemd[1]: Stopping nova-api.service - OpenStack Compute API... Apr 29 08:50:54 ubuntik systemd[1]: nova-api.service: State 'stop-sigterm' timed out. Killing. Apr 29 08:50:54 ubuntik systemd[1]: nova-api.service: Killing process 2024 (nova-api) with signal SIGKILL. Apr 29 08:50:54 ubuntik systemd[1]: nova-api.service: Main process exited, code=killed, status=9/KILL Apr 29 08:50:54 ubuntik systemd[1]: nova-api.service: Failed with result 'timeout'. Apr 29 08:50:54 ubuntik systemd[1]: Stopped nova-api.service - OpenStack Compute API. Apr 29 08:50:54 ubuntik systemd[1]: nova-api.service: Consumed 31.064s CPU time, 1.3G memory peak, 0B memory swap peak. Apr 29 08:50:54 ubuntik systemd[1]: Started nova-api.service - OpenStack Compute API. To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/2109597/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp