[stack@instack ~]$ sudo nova-manage cell_v2 simple_cell_setup --transport-url "rabbit://55f7b1c2b4ee0e8a4f8311de334c6b71d13c1b45:1cf85a15b3fb0d86ec3bda2dedd3b8952ad6d72a@192.0.2.1//"
Traceback (most recent call last):
File "/bin/nova-manage", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/site-packages/nova/cmd/manage.py", line 1561, in main
config.parse_args(sys.argv)
File "/usr/lib/python2.7/site-packages/nova/config.py", line 50, in parse_args
rpc.init(CONF)
File "/usr/lib/python2.7/site-packages/nova/rpc.py", line 74, in init
TRANSPORT = create_transport(get_transport_url())
File "/usr/lib/python2.7/site-packages/nova/rpc.py", line 154, in get_transport_url
return messaging.TransportURL.parse(CONF, url_str, TRANSPORT_ALIASES)
File "/usr/lib/python2.7/site-packages/oslo_messaging/transport.py", line 398, in parse
url = url or conf.transport_url
File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2320, in __getattr__
raise NoSuchOptError(name)
oslo_config.cfg.NoSuchOptError: no such option transport_url in group [DEFAULT]
It may be this is partly a nova and partly a puppet-nova bug? As it seems the nova releasenotes and api_db sync help text is wrong, and it seems like puppet-nova isn't driving the cells_v2 simple_cell_setup at the appropriate time with the URL it expects (which isn't all that clear as evidently it doesn't match the nova.conf setting with the same name).
[stack@instack ~]$ sudo grep transport_url /etc/nova/nova.conf url=rabbit: //55f7b1c2b4ee0 e8a4f8311de334c 6b71d13c1b45: 1cf85a15b3fb0d8 6ec3bda2dedd3b8 952ad6d72a@ 192.0.2. 1//
transport_
[stack@instack ~]$ sudo nova-manage cell_v2 simple_cell_setup --transport-url "rabbit: //55f7b1c2b4ee0 e8a4f8311de334c 6b71d13c1b45: 1cf85a15b3fb0d8 6ec3bda2dedd3b8 952ad6d72a@ 192.0.2. 1//" exit(main( )) python2. 7/site- packages/ nova/cmd/ manage. py", line 1561, in main parse_args( sys.argv) python2. 7/site- packages/ nova/config. py", line 50, in parse_args python2. 7/site- packages/ nova/rpc. py", line 74, in init transport( get_transport_ url()) python2. 7/site- packages/ nova/rpc. py", line 154, in get_transport_url TransportURL. parse(CONF, url_str, TRANSPORT_ALIASES) python2. 7/site- packages/ oslo_messaging/ transport. py", line 398, in parse python2. 7/site- packages/ oslo_config/ cfg.py" , line 2320, in __getattr__ name) cfg.NoSuchOptEr ror: no such option transport_url in group [DEFAULT]
Traceback (most recent call last):
File "/bin/nova-manage", line 10, in <module>
sys.
File "/usr/lib/
config.
File "/usr/lib/
rpc.init(CONF)
File "/usr/lib/
TRANSPORT = create_
File "/usr/lib/
return messaging.
File "/usr/lib/
url = url or conf.transport_url
File "/usr/lib/
raise NoSuchOptError(
oslo_config.
It may be this is partly a nova and partly a puppet-nova bug? As it seems the nova releasenotes and api_db sync help text is wrong, and it seems like puppet-nova isn't driving the cells_v2 simple_cell_setup at the appropriate time with the URL it expects (which isn't all that clear as evidently it doesn't match the nova.conf setting with the same name).