From the log it's absolutely impossible to figure out what's wrong.
Anyway it's definitely not a Neutron issue
** Changed in: neutron
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1938913
Title:
Install and configure compute node in Neutron
Status in neutron:
Invalid
Bug description:
After following the steps to install and configure neutron in the
compute node, the nova service is not starting:
sudo service nova-compute status
● nova-compute.service - OpenStack Compute
Loaded: loaded (/lib/systemd/system/nova-compute.service; enabled;
vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2021-08-04 12:04:06 -03;
32s ago
Process: 71167 ExecStart=/etc/init.d/nova-compute systemd-start
(code=exited, status=1/FAILURE)
Main PID: 71167 (code=exited, status=1/FAILURE)
ago 04 12:04:06 openstack-compute systemd[1]: nova-compute.service: Scheduled
restart job, restart coun>
ago 04 12:04:06 openstack-compute systemd[1]: Stopped OpenStack Compute.
ago 04 12:04:06 openstack-compute systemd[1]: nova-compute.service: Start
request repeated too quickly.
ago 04 12:04:06 openstack-compute systemd[1]: nova-compute.service: Failed
with result 'exit-code'.
ago 04 12:04:06 openstack-compute systemd[1]: Failed to start OpenStack
Compute.
Here is the log:
2021-08-04 12:04:05.528 71167 INFO os_vif [-] Loaded VIF plugins:
linux_bridge, noop, ovs
2021-08-04 12:04:05.573 71167 CRITICAL nova
[req-558c7b67-0fd7-4430-882b-e1a398d4ec4c - - - - -] Unhandled error:
TypeError: argument of type 'NoneType' is not iterable
2021-08-04 12:04:05.573 71167 ERROR nova Traceback (most recent call last):
2021-08-04 12:04:05.573 71167 ERROR nova File "/usr/bin/nova-compute", line
10, in <module>
2021-08-04 12:04:05.573 71167 ERROR nova sys.exit(main())
2021-08-04 12:04:05.573 71167 ERROR nova File
"/usr/lib/python3/dist-packages/nova/cmd/compute.py", line 58, in main
2021-08-04 12:04:05.573 71167 ERROR nova server =
service.Service.create(binary='nova-compute',
2021-08-04 12:04:05.573 71167 ERROR nova File
"/usr/lib/python3/dist-packages/nova/service.py", line 252, in create
2021-08-04 12:04:05.573 71167 ERROR nova service_obj = cls(host, binary,
topic, manager,
2021-08-04 12:04:05.573 71167 ERROR nova File
"/usr/lib/python3/dist-packages/nova/service.py", line 115, in __init__
2021-08-04 12:04:05.573 71167 ERROR nova
conductor_api.wait_until_ready(context.get_admin_context())
2021-08-04 12:04:05.573 71167 ERROR nova File
"/usr/lib/python3/dist-packages/nova/conductor/api.py", line 67, in
wait_until_ready
2021-08-04 12:04:05.573 71167 ERROR nova self.base_rpcapi.ping(context,
'1.21 GigaWatts',
2021-08-04 12:04:05.573 71167 ERROR nova File
"/usr/lib/python3/dist-packages/nova/baserpc.py", line 58, in ping
2021-08-04 12:04:05.573 71167 ERROR nova return cctxt.call(context,
'ping', arg=arg_p)
2021-08-04 12:04:05.573 71167 ERROR nova File
"/usr/lib/python3/dist-packages/oslo_messaging/rpc/client.py", line 175, in call
2021-08-04 12:04:05.573 71167 ERROR nova
self.transport._send(self.target, msg_ctxt, msg,
2021-08-04 12:04:05.573 71167 ERROR nova File
"/usr/lib/python3/dist-packages/oslo_messaging/transport.py", line 123, in _send
2021-08-04 12:04:05.573 71167 ERROR nova return self._driver.send(target,
ctxt, message,
2021-08-04 12:04:05.573 71167 ERROR nova File
"/usr/lib/python3/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line
680, in send
2021-08-04 12:04:05.573 71167 ERROR nova return self._send(target, ctxt,
message, wait_for_reply, timeout,
2021-08-04 12:04:05.573 71167 ERROR nova File
"/usr/lib/python3/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line
626, in _send
2021-08-04 12:04:05.573 71167 ERROR nova msg.update({'_reply_q':
self._get_reply_q()})
2021-08-04 12:04:05.573 71167 ERROR nova File
"/usr/lib/python3/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line
607, in _get_reply_q
2021-08-04 12:04:05.573 71167 ERROR nova conn =
self._get_connection(rpc_common.PURPOSE_LISTEN)
2021-08-04 12:04:05.573 71167 ERROR nova File
"/usr/lib/python3/dist-packages/oslo_messaging/_drivers/amqpdriver.py", line
597, in _get_connection
2021-08-04 12:04:05.573 71167 ERROR nova return
rpc_common.ConnectionContext(self._connection_pool,
2021-08-04 12:04:05.573 71167 ERROR nova File
"/usr/lib/python3/dist-packages/oslo_messaging/_drivers/common.py", line 425,
in __init__
2021-08-04 12:04:05.573 71167 ERROR nova self.connection =
connection_pool.create(purpose)
2021-08-04 12:04:05.573 71167 ERROR nova File
"/usr/lib/python3/dist-packages/oslo_messaging/_drivers/pool.py", line 146, in
create
2021-08-04 12:04:05.573 71167 ERROR nova return
self.connection_cls(self.conf, self.url, purpose)
2021-08-04 12:04:05.573 71167 ERROR nova File
"/usr/lib/python3/dist-packages/oslo_messaging/_drivers/impl_rabbit.py", line
539, in __init__
2021-08-04 12:04:05.573 71167 ERROR nova transformed_urls = [
2021-08-04 12:04:05.573 71167 ERROR nova File
"/usr/lib/python3/dist-packages/oslo_messaging/_drivers/impl_rabbit.py", line
540, in <listcomp>
2021-08-04 12:04:05.573 71167 ERROR nova
self._transform_transport_url(url, host)
2021-08-04 12:04:05.573 71167 ERROR nova File
"/usr/lib/python3/dist-packages/oslo_messaging/_drivers/impl_rabbit.py", line
695, in _transform_transport_url
2021-08-04 12:04:05.573 71167 ERROR nova
self._parse_url_hostname(host.hostname) or default_hostname,
2021-08-04 12:04:05.573 71167 ERROR nova File
"/usr/lib/python3/dist-packages/oslo_messaging/_drivers/impl_rabbit.py", line
703, in _parse_url_hostname
2021-08-04 12:04:05.573 71167 ERROR nova return '[%s]' % hostname if ':'
in hostname else hostname
2021-08-04 12:04:05.573 71167 ERROR nova TypeError: argument of type
'NoneType' is not iterable
2021-08-04 12:04:05.573 71167 ERROR nova
The neutron-linuxbridge-agent service is not starting too:
sudo service neutron-linuxbridge-agent status
● neutron-linuxbridge-agent.service - Openstack Neutron Linux Bridge Agent
Loaded: loaded (/lib/systemd/system/neutron-linuxbridge-agent.service;
enabled; vendor preset: ena>
Active: inactive (dead) since Wed 2021-08-04 12:12:10 -03; 1s ago
Process: 71697 ExecStartPre=/bin/mkdir -p /var/lock/neutron
/var/log/neutron /var/lib/neutron (code>
Process: 71699 ExecStartPre=/bin/chown neutron:neutron /var/lock/neutron
/var/log/neutron /var/lib/>
Process: 71701 ExecStartPre=/sbin/modprobe br_netfilter (code=exited,
status=0/SUCCESS)
Process: 71704 ExecStart=/etc/init.d/neutron-linuxbridge-agent
systemd-start (code=exited, status=0>
Main PID: 71704 (code=exited, status=0/SUCCESS)
ago 04 12:12:08 openstack-compute systemd[1]: Starting Openstack Neutron
Linux Bridge Agent...
ago 04 12:12:08 openstack-compute systemd[1]: Started Openstack Neutron Linux
Bridge Agent.
ago 04 12:12:09 openstack-compute sudo[71720]: neutron : TTY=unknown ;
PWD=/var/lib/neutron ; USER=roo>
ago 04 12:12:09 openstack-compute sudo[71720]: pam_unix(sudo:session):
session opened for user root by >
ago 04 12:12:09 openstack-compute sudo[71720]: pam_unix(sudo:session):
session closed for user root
ago 04 12:12:10 openstack-compute systemd[1]:
neutron-linuxbridge-agent.service: Succeeded.
Can anyone please suggest what is missing to finish the correct installation
of neutron/nova?
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1938913/+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