Trying to get the neutron server throws dependencies errors

Bug #1371413 reported by sahana alva
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
quantum (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Creating config file /etc/dbconfig-common/neutron-common.conf with new version
granting access to database neutrondb for neutron-common@localhost: success.
verifying access for neutron-common@localhost: success.
creating database neutrondb: success.
verifying database neutrondb exists: success.
dbconfig-common: flushing administrative password
Traceback (most recent call last):
  File "/usr/local/bin/neutron-db-manage", line 10, in <module>
    sys.exit(main())
  File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 175, in main
    CONF.command.func(config, CONF.command.name)
  File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 85, in do_upgrade_downgrade
    do_alembic_command(config, cmd, revision, sql=CONF.command.sql)
  File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/neutron/db/migration/cli.py", line 63, in do_alembic_command
    getattr(alembic_command, cmd)(config, *args, **kwargs)
  File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/alembic/command.py", line 129, in upgrade
    script.run_env()
  File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/alembic/script.py", line 208, in run_env
    util.load_python_file(self.dir, 'env.py')
  File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/alembic/util.py", line 230, in load_python_file
    module = load_module_py(module_id, path)
  File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/alembic/compat.py", line 63, in load_module_py
    mod = imp.load_source(module_id, path, fp)
  File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/env.py", line 125, in <module>
    run_migrations_online()
  File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/neutron/db/migration/alembic_migrations/env.py", line 102, in run_migrations_online
    poolclass=pool.NullPool)
  File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/sqlalchemy/engine/__init__.py", line 346, in create_engine
    return strategy.create(*args, **kwargs)
  File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/sqlalchemy/engine/strategies.py", line 49, in create
    u = url.make_url(name_or_url)
  File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/sqlalchemy/engine/url.py", line 164, in make_url
    return _parse_rfc1738_args(name_or_url)
  File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/sqlalchemy/engine/url.py", line 213, in _parse_rfc1738_args
    "Could not parse rfc1738 URL from string '%s'" % name)
sqlalchemy.exc.ArgumentError: Could not parse rfc1738 URL from string ''
dpkg: error processing package neutron-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of neutron-server:
neutron-server depends on neutron-common (= 2014.1.2-1+hLinux); however:
  Package neutron-common is not configured yet.

dpkg: error processing package neutron-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
neutron-common
neutron-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
James Page (james-page) wrote :

You appear to have binaries and python install under /usr/local and /opt/stack which are conflicting with the packaging; please remove and try to reproduce.

Thanks!

Changed in quantum (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.