[OpenStack-Infra] Issue on instance launching

Clark Boylan cboylan at sapwetik.org
Thu Jul 18 16:41:23 UTC 2019


On Tue, Jul 16, 2019, at 7:07 PM, Vasanth M.Vasanth wrote:
> Hi all,
> 
> When I try to start the nova compute service as conflict the ports to 
> metadata service. I have killed/stop the process but again listen the 
> port and throw the error . Unable to start the both service . 
> 
> Could you please suggest me.

We are the team that manages the developer infrastructure for building openstack the software, but don't have much experience running openstack directly ourselves. You may have better luck with this request sending it to openstack-discuss at lists.openstack.org which is the general openstack list and has developers, operators, and users subscribed to it.

> 
> openstack-nova-os-compute-api.service
> openstack-nova-metadata-api.service
> 
> Nova Api logs ;
> 
> 
> 2019-07-16 18:40:04.236 31644 WARNING 
> oslo_reports.guru_meditation_report [-] Guru meditation now registers 
> SIGUSR1 and SIGUSR2 by default for 
> backward compatibility. SIGUSR1 will no longer be registered in a 
> future release, so please use SIGUSR2 to generate reports.
> 2019-07-16 18:40:04.238 31644 DEBUG nova.wsgi [-] Loading app metadata 
> from /etc/nova/api-paste.ini load_app 
> /usr/lib/python2.7/site-packages/nova/wsgi.py:496
> 2019-07-16 18:40:04.257 31644 ERROR nova.wsgi [-] Could not bind to 
> 0.0.0.0:8775
> 2019-07-16 18:40:04.258 31644 CRITICAL nova [-] error: [Errno 98] 
> Address already in use
> 2019-07-16 18:40:04.258 31644 ERROR nova Traceback (most recent call 
> last):
> 2019-07-16 18:40:04.258 31644 ERROR nova   File 
> "/usr/bin/nova-api-metadata", line 10, in <module>
> 2019-07-16 18:40:04.258 31644 ERROR nova     sys.exit(main())
> 2019-07-16 18:40:04.258 31644 ERROR nova   File 
> "/usr/lib/python2.7/site-packages/nova/cmd/api_metadata.py", line 50, 
> in main
> 2019-07-16 18:40:04.258 31644 ERROR nova     server = 
> service.WSGIService('metadata', use_ssl=should_use_ssl)
> 2019-07-16 18:40:04.258 31644 ERROR nova   File 
> "/usr/lib/python2.7/site-packages/nova/service.py", line 311, in 
> __init__
> 2019-07-16 18:40:04.258 31644 ERROR nova     max_url_len=max_url_len)
> 2019-07-16 18:40:04.258 31644 ERROR nova   File 
> "/usr/lib/python2.7/site-packages/nova/wsgi.py", line 101, in __init__
> 2019-07-16 18:40:04.258 31644 ERROR nova     self._socket = 
> eventlet.listen(bind_addr, family, backlog=backlog)
> 2019-07-16 18:40:04.258 31644 ERROR nova   File 
> "/usr/lib/python2.7/site-packages/eventlet/convenience.py", line 43, in 
> listen
> 2019-07-16 18:40:04.258 31644 ERROR nova     sock.bind(addr)
> 2019-07-16 18:40:04.258 31644 ERROR nova   File 
> "/usr/lib64/python2.7/socket.py", line 224, in meth
> 2019-07-16 18:40:04.258 31644 ERROR nova     return 
> getattr(self._sock,name)(*args)
> 2019-07-16 18:40:04.258 31644 ERROR nova error: [Errno 98] Address 
> already in use
> 2019-07-16 18:40:04.258 31644 ERROR
> 

The above having been said the problem appears to be that the address is already in use. You should check netstat or ss to see what is listening on tcp port 8775 and kill that before starting the service again.

> 
> Thanks 
> __Vasanth



More information about the OpenStack-Infra mailing list