<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Looks like you might be missing some of the command, specifically the neutron config file:</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature"><pre style="box-sizing: border-box; overflow: auto; padding: 20px 30px; margin-top: 0px; margin-bottom: 10px; line-height: 1.42857143; word-break: break-all; word-wrap: break-word; border: 1px solid rgb(204, 204, 204); border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px;"><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);"><span class="gp" style="box-sizing: border-box;">#</span> su -s /bin/sh -c <span class="s2" style="box-sizing: border-box;">"neutron-db-manage --config-file /etc/neutron/neutron.conf \</span>
<span class="go" style="box-sizing: border-box;">  --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head" neutron</span></span></font></pre></div><div id="AppleMailSignature">And some quotes.  You had:</div><div id="AppleMailSignature"><br></div><div id="AppleMailSignature"><blockquote type="cite"><div dir="ltr"><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);">sudo neutron-db-manage --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head</span></font></div></blockquote><br><div>Thanks,</div><div><br></div>JC</div><div><br>On Nov 30, 2016, at 4:03 PM, Prabhu Janakaraj <<a href="mailto:wsuprabhu@gmail.com">wsuprabhu@gmail.com</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><div><div><div><div><div>Hi openstack enthusiasts,<br></div>I have been trying to deploy a 3 node openstack cluster (controller, compute & Network)<br><br></div>I am following the instructions from openstack docs and I am stuck at configuring Neutron as a service. <br><br></div>To be exact, I am facing issue when I am running the neutron-manage db_sync following the information on this link<br><br><a href="http://docs.openstack.org/newton/install-guide-ubuntu/neutron-controller-install.html#neutron-controller-metadata-agent">http://docs.openstack.org/newton/install-guide-ubuntu/neutron-controller-install.html#neutron-controller-metadata-agent</a><br><br></div>while executing this command <br><br>sudo neutron-db-manage --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head<br><br><br></div>I am getting the below error<br><br>  File "/usr/bin/neutron-db-manage", line 10, in <module><br>    sys.exit(main())<br>  File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 686, in main<br>    return_val |= bool(CONF.command.func(config, <a href="http://CONF.command.name">CONF.command.name</a>))<br>  File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 205, in do_upgrade<br>    run_sanity_checks(config, revision)<br>  File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 670, in run_sanity_checks<br>    script_dir.run_env()<br>  File "/usr/lib/python2.7/dist-packages/alembic/script/base.py", line 407, in run_env<br>    util.load_python_file(self.dir, 'env.py')<br>  File "/usr/lib/python2.7/dist-packages/alembic/util/pyfiles.py", line 93, in load_python_file<br>    module = load_module_py(module_id, path)<br>  File "/usr/lib/python2.7/dist-packages/alembic/util/compat.py", line 79, in load_module_py<br>    mod = imp.load_source(module_id, path, fp)<br>  File "/usr/lib/python2.7/dist-packages/neutron/db/migration/alembic_migrations/env.py", line 120, in <module><br>    run_migrations_online()<br>  File "/usr/lib/python2.7/dist-packages/neutron/db/migration/alembic_migrations/env.py", line 106, in run_migrations_online<br>    with DBConnection(neutron_config.database.connection, connection) as conn:<br>  File "/usr/lib/python2.7/dist-packages/neutron/db/migration/connection.py", line 32, in __enter__<br>    self.engine = session.create_engine(self.connection_url)<br>  File "/usr/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py", line 114, in create_engine<br>    url = sqlalchemy.engine.url.make_url(sql_connection)<br>  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/url.py", line 186, in make_url<br>    return _parse_rfc1738_args(name_or_url)<br>  File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/url.py", line 235, in _parse_rfc1738_args<br>    "Could not parse rfc1738 URL from string '%s'" % name)<br>sqlalchemy.exc.ArgumentError: Could not parse rfc1738 URL from string ''<br><br></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></span><br><span>Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a></span><br><span>Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></span><br></div></blockquote></body></html>