Hello,
While I successfully installed tacker (stable/queens; devstack; all-in-one) on an Ubuntu 16.04 server, I failed to install tacker (stable/rocky; devstack; all-in-one) on the same type of server. Here's the relevant portion of the ./stack.sh output. Any suggestions about what may be wrong?
Thanks in advance,
Gurol
+ lib/neutron-legacy:_create_neutron_conf_dir:687 : sudo install -d -o tacker /etc/neutron
+ lib/neutron-legacy:_configure_neutron_common:697 : cd /opt/stack/neutron
+ lib/neutron-legacy:_configure_neutron_common:697 : exec ./tools/generate_config_file_samples.sh
Traceback (most recent call last):
File "/usr/local/bin/oslo-config-generator", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/oslo_config/generator.py", line 770, in main
generate(conf)
File "/usr/local/lib/python2.7/dist-packages/oslo_config/generator.py", line 731, in generate
groups = _get_groups(_list_opts(conf.namespace))
File "/usr/local/lib/python2.7/dist-packages/oslo_config/generator.py", line 476, in _list_opts
loaders = _get_raw_opts_loaders(namespaces)
File "/usr/local/lib/python2.7/dist-packages/oslo_config/generator.py", line 420, in _get_raw_opts_loaders
invoke_on_load=False)
File "/usr/local/lib/python2.7/dist-packages/stevedore/named.py", line 81, in __init__
verify_requirements)
File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 203, in _load_plugins
self._on_load_failure_callback(self, ep, err)
File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 195, in _load_plugins
verify_requirements,
File "/usr/local/lib/python2.7/dist-packages/stevedore/named.py", line 158, in _load_one_plugin
verify_requirements,
File "/usr/local/lib/python2.7/dist-packages/stevedore/extension.py", line 223, in _load_one_plugin
plugin = ep.resolve()
File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2352, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/opts.py", line 27, in <module>
from oslo_messaging._drivers.impl_zmq import zmq_options
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/impl_zmq.py", line 23, in <module>
from oslo_messaging._drivers.zmq_driver.client import zmq_client
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/zmq_driver/client/zmq_client.py", line 16, in <module>
from oslo_messaging._drivers.zmq_driver.client import zmq_client_base
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/zmq_driver/client/zmq_client_base.py", line 16, in <module>
from oslo_messaging._drivers.zmq_driver.client.publishers.dealer \
File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/zmq_driver/client/publishers/dealer/zmq_dealer_publisher_direct.py", line 17, in <module>
import tenacity
File "/usr/local/lib/python2.7/dist-packages/tenacity/__init__.py", line 21, in <module>
import asyncio
File "/usr/local/lib/python2.7/dist-packages/asyncio/__init__.py", line 9, in <module>
from . import selectors
File "/usr/local/lib/python2.7/dist-packages/asyncio/selectors.py", line 39
"{!r}".format(fileobj)) from None
^
SyntaxError: invalid syntax
+ lib/neutron-legacy:_configure_neutron_common:1 : exit_trap
+ ./stack.sh:exit_trap:515 : local r=1
++ ./stack.sh:exit_trap:516 : jobs -p
+ ./stack.sh:exit_trap:516 : jobs=
+ ./stack.sh:exit_trap:519 : [[ -n '' ]]
+ ./stack.sh:exit_trap:525 : '[' -f /tmp/tmp.8ZmxsjaOrC ']'
+ ./stack.sh:exit_trap:526 : rm /tmp/tmp.8ZmxsjaOrC
+ ./stack.sh:exit_trap:530 : kill_spinner
+ ./stack.sh:kill_spinner:425 : '[' '!' -z '' ']'
+ ./stack.sh:exit_trap:532 : [[ 1 -ne 0 ]]
+ ./stack.sh:exit_trap:533 : echo 'Error on exit'
Error on exit
+ ./stack.sh:exit_trap:535 : type -p generate-subunit
+ ./stack.sh:exit_trap:536 : generate-subunit 1549209388 828 fail
+ ./stack.sh:exit_trap:538 : [[ -z /opt/stack/logs ]]
+ ./stack.sh:exit_trap:541 : /home/tacker/tacker/install-0.9.x/devstack/tools/worlddump.py -d /opt/stack/logs
+ ./stack.sh:exit_trap:550 : exit 1
I suggest that local.conf file like this one https:/ /github. com/openstack/ tacker/ blob/master/ devstack/ local.conf. example. You can update to stable/rocky and before run stack.sh, please completely uninstall devstack as this guide: https:/ /nguyentrihai. com/?p= 481
I hope that can help you.