yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #55061
[Bug 1613116] [NEW] openstack mitaka mirantis failed install neutron and compute
Public bug reported:
using aptitude -t jessie-mitaka-backports install openstack-dashboard
openstack-dashboard-apache ceilometer-agent-compute openstack-compute-
node
after adding repositories
deb http://mitaka-jessie.pkgs.mirantis.com/debian jessie-mitaka-backports main
deb-src http://mitaka-jessie.pkgs.mirantis.com/debian jessie-mitaka-backports main
deb http://mitaka-jessie.pkgs.mirantis.com/debian jessie-mitaka-backports-nochange main
deb-src http://mitaka-jessie.pkgs.mirantis.com/debian jessie-mitaka-backports-nochange main
fresh install of Jessie 8.5.0
creating database neutrondb: success.
verifying database neutrondb exists: success.
No handlers could be found for logger "oslo_config.cfg"
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
Running upgrade for neutron ...
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.runtime.migration] Running upgrade -> kilo, kilo_initial
INFO [alembic.runtime.migration] Running upgrade kilo -> 354db87e3225, nsxv_vdr_metadata.py
INFO [alembic.runtime.migration] Running upgrade 354db87e3225 -> 599c6a226151, neutrodb_ipam
INFO [alembic.runtime.migration] Running upgrade 599c6a226151 -> 52c5312f6baf, Initial operations in support of address scopes
INFO [alembic.runtime.migration] Running upgrade 52c5312f6baf -> 313373c0ffee, Flavor framework
INFO [alembic.runtime.migration] Running upgrade 313373c0ffee -> 8675309a5c4f, network_rbac
INFO [alembic.runtime.migration] Running upgrade 8675309a5c4f -> 45f955889773, quota_usage
INFO [alembic.runtime.migration] Running upgrade 45f955889773 -> 26c371498592, subnetpool hash
INFO [alembic.runtime.migration] Running upgrade 26c371498592 -> 1c844d1677f7, add order to dnsnameservers
INFO [alembic.runtime.migration] Running upgrade 1c844d1677f7 -> 1b4c6e320f79, address scope support in subnetpool
INFO [alembic.runtime.migration] Running upgrade 1b4c6e320f79 -> 48153cb5f051, qos db changes
INFO [alembic.runtime.migration] Running upgrade 48153cb5f051 -> 9859ac9c136, quota_reservations
INFO [alembic.runtime.migration] Running upgrade 9859ac9c136 -> 34af2b5c5a59, Add dns_name to Port
INFO [alembic.runtime.migration] Running upgrade 34af2b5c5a59 -> 59cb5b6cf4d, Add availability zone
INFO [alembic.runtime.migration] Running upgrade 59cb5b6cf4d -> 13cfb89f881a, add is_default to subnetpool
/usr/lib/python2.7/dist-packages/alembic/util/messaging.py:69: UserWarning: Skipping unsupported ALTER for creation of implicit constraint
warnings.warn(msg)
INFO [alembic.runtime.migration] Running upgrade 13cfb89f881a -> 32e5974ada25, Add standard attribute table
INFO [alembic.runtime.migration] Running upgrade 32e5974ada25 -> ec7fcfbf72ee, Add network availability zone
INFO [alembic.runtime.migration] Running upgrade ec7fcfbf72ee -> dce3ec7a25c9, Add router availability zone
INFO [alembic.runtime.migration] Running upgrade dce3ec7a25c9 -> c3a73f615e4, Add ip_version to AddressScope
Traceback (most recent call last):
File "/usr/bin/neutron-db-manage", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 749, in main
return_val |= bool(CONF.command.func(config, CONF.command.name))
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 225, in do_upgrade
desc=branch, sql=CONF.command.sql)
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 127, in do_alembic_command
getattr(alembic_command, cmd)(config, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/alembic/command.py", line 174, in upgrade
script.run_env()
File "/usr/lib/python2.7/dist-packages/alembic/script/base.py", line 397, in run_env
util.load_python_file(self.dir, 'env.py')
File "/usr/lib/python2.7/dist-packages/alembic/util/pyfiles.py", line 93, in load_python_file
module = load_module_py(module_id, path)
File "/usr/lib/python2.7/dist-packages/alembic/util/compat.py", line 79, in load_module_py
mod = imp.load_source(module_id, path, fp)
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/alembic_migrations/env.py", line 126, in <module>
run_migrations_online()
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/alembic_migrations/env.py", line 120, in run_migrations_online
context.run_migrations()
File "<string>", line 8, in run_migrations
File "/usr/lib/python2.7/dist-packages/alembic/runtime/environment.py", line 797, in run_migrations
self.get_context().run_migrations(**kw)
File "/usr/lib/python2.7/dist-packages/alembic/runtime/migration.py", line 312, in run_migrations
step.migration_fn(**kw)
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/alembic_migrations/versions/mitaka/expand/c3a73f615e4_add_ip_version_to_address_scope.py", line 33, in upgrade
sa.Column('ip_version', sa.Integer(), nullable=False))
File "<string>", line 8, in add_column
File "<string>", line 3, in add_column
File "/usr/lib/python2.7/dist-packages/alembic/operations/ops.py", line 1535, in add_column
return operations.invoke(op)
File "/usr/lib/python2.7/dist-packages/alembic/operations/base.py", line 318, in invoke
return fn(self, operation)
File "/usr/lib/python2.7/dist-packages/alembic/operations/toimpl.py", line 123, in add_column
schema=schema
File "/usr/lib/python2.7/dist-packages/alembic/ddl/impl.py", line 172, in add_column
self._exec(base.AddColumn(table_name, column, schema=schema))
File "/usr/lib/python2.7/dist-packages/alembic/ddl/impl.py", line 118, in _exec
return conn.execute(construct, *multiparams, **params)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 914, in execute
return meth(self, multiparams, params)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 68, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 968, in _execute_ddl
compiled
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
context)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1337, in _handle_dbapi_exception
util.raise_from_cause(newraise, exc_info)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
context)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 450, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (pysqlite2.dbapi2.OperationalError) Cannot add a NOT NULL column with default value NULL [SQL: u'ALTER TABLE address_scopes ADD COLUMN ip_version INTEGER NOT NULL']
dpkg: error processing package neutron-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of neutron-openvswitch-agent:
neutron-openvswitch-agent depends on neutron-common (= 2:8.1.2-1~bpo8+1); however:
Package neutron-common is not configured yet.
dpkg: error processing package neutron-openvswitch-agent (--configure):
dependency problems - leaving unconfigured
Setting up libjs-swfobject (2.2+dfsg-1) ...
Setting up python-novnc (1:0.4+dfsg+1+20131010+gitf68af8af3d-5~bpo8+1) ...
Setting up novnc (1:0.4+dfsg+1+20131010+gitf68af8af3d-5~bpo8+1) ...
Setting up python-thrift (0.9.1-2) ...
Setting up python-happybase (0.8-3~bpo8+1) ...
Setting up python-jsonpath-rw (1.4.0-2~bpo8+1) ...
update-alternatives: using /usr/bin/python2-jsonpath to provide /usr/bin/jsonpath (jsonpath) in auto mode
Setting up python-jsonpath-rw-ext (0.1.9-2~bpo8+1) ...
Setting up smitools (0.4.8+dfsg2-10+b2) ...
Setting up python-pysnmp4 (4.2.5-1) ...
Setting up python-ipaddr (2.1.11-2) ...
Setting up python-wsme (0.8.0-3~bpo8+1) ...
Setting up python-ceilometer (1:6.0.0-2~bpo8+1) ...
Setting up ceilometer-common (1:6.0.0-2~bpo8+1) ...
libvirt:x:135:ceilometer,nova
The user `ceilometer' is already a member of `nova'.
The user `ceilometer' is already a member of `libvirt'.
Value 'password-ceilometer-legacy' for '[service_credentials]/auth_type' is deprecated. And will be removed in Ceilometer 7.0. Use 'password' instead.
2016-08-14 15:58:20.060 23532 WARNING oslo_reports.guru_meditation_report [-] Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.
2016-08-14 15:58:20.111 23532 INFO ceilometer.storage.mongo.utils [-] Connecting to mongodb on [('localhost', 27017)]
2016-08-14 15:58:20.165 23532 INFO ceilometer.storage.mongo.utils [-] Connecting to mongodb on [('localhost', 27017)]
Setting up ceilometer-agent-compute (1:6.0.0-2~bpo8+1) ...
dpkg: dependency problems prevent configuration of neutron-plugin-openvswitch-agent:
neutron-plugin-openvswitch-agent depends on neutron-openvswitch-agent; however:
Package neutron-openvswitch-agent is not configured yet.
dpkg: error processing package neutron-plugin-openvswitch-agent (--configure):
dependency problems - leaving unconfigured
Setting up nova-cert (2:13.1.0-1~bpo8+1) ...
Setting up autopkgtest (3.6jessie1) ...
Setting up madison-lite (0.20) ...
Setting up libxdelta2 (1.1.3-9.1) ...
Setting up xdelta (1.1.3-9.1) ...
Setting up pristine-tar (1.33) ...
Setting up openstack-pkg-tools (52~bpo8+1) ...
dpkg: dependency problems prevent configuration of openstack-compute-node:
openstack-compute-node depends on neutron-plugin-openvswitch-agent; however:
Package neutron-plugin-openvswitch-agent is not configured yet.
Package neutron-openvswitch-agent which provides neutron-plugin-openvswitch-agent is not configured yet.
dpkg: error processing package openstack-compute-node (--configure):
dependency problems - leaving unconfigured
Setting up dctrl-tools (2.23) ...
Setting up autodep8 (0.1) ...
Setting up dkms (2.2.0.3-2) ...
Setting up linux-headers-amd64 (3.16+63) ...
Setting up pbzip2 (1.1.9-1) ...
Setting up python-pysnmp4-apps (0.3.2-1) ...
Setting up python-pysnmp4-mibs (0.1.3-1) ...
Setting up openvswitch-datapath-dkms (2.0.1-2~bpo8+1) ...
Creating symlink /var/lib/dkms/openvswitch/2.0.1/source ->
/usr/src/openvswitch-2.0.1
DKMS: add completed.
Error! Your kernel headers for kernel 4.6.0-0.bpo.1-amd64 cannot be found.
Please install the linux-headers-4.6.0-0.bpo.1-amd64 package,
or use the --kernelsourcedir option to tell DKMS where it's located
Setting up python-cssselect (0.9.1+git90c72b0-1) ...
Setting up python-pyquery (1.2.4-1) ...
Processing triggers for libc-bin (2.19-18+deb8u4) ...
Errors were encountered while processing:
neutron-common
neutron-openvswitch-agent
neutron-plugin-openvswitch-agent
openstack-compute-node
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Setting up neutron-common (2:8.1.2-1~bpo8+1) ...
PKG-Openstack now calling: dbc_go neutron-common configure
dbconfig-common: writing config to /etc/dbconfig-common/neutron-common.conf
creating database neutrondb: already exists.
No handlers could be found for logger "oslo_config.cfg"
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
Running upgrade for neutron ...
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.runtime.migration] Running upgrade dce3ec7a25c9 -> c3a73f615e4, Add ip_version to AddressScope
Traceback (most recent call last):
File "/usr/bin/neutron-db-manage", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 749, in main
return_val |= bool(CONF.command.func(config, CONF.command.name))
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 225, in do_upgrade
desc=branch, sql=CONF.command.sql)
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 127, in do_alembic_command
getattr(alembic_command, cmd)(config, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/alembic/command.py", line 174, in upgrade
script.run_env()
File "/usr/lib/python2.7/dist-packages/alembic/script/base.py", line 397, in run_env
util.load_python_file(self.dir, 'env.py')
File "/usr/lib/python2.7/dist-packages/alembic/util/pyfiles.py", line 93, in load_python_file
module = load_module_py(module_id, path)
File "/usr/lib/python2.7/dist-packages/alembic/util/compat.py", line 79, in load_module_py
mod = imp.load_source(module_id, path, fp)
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/alembic_migrations/env.py", line 126, in <module>
run_migrations_online()
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/alembic_migrations/env.py", line 120, in run_migrations_online
context.run_migrations()
File "<string>", line 8, in run_migrations
File "/usr/lib/python2.7/dist-packages/alembic/runtime/environment.py", line 797, in run_migrations
self.get_context().run_migrations(**kw)
File "/usr/lib/python2.7/dist-packages/alembic/runtime/migration.py", line 312, in run_migrations
step.migration_fn(**kw)
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/alembic_migrations/versions/mitaka/expand/c3a73f615e4_add_ip_version_to_address_scope.py", line 33, in upgrade
sa.Column('ip_version', sa.Integer(), nullable=False))
File "<string>", line 8, in add_column
File "<string>", line 3, in add_column
File "/usr/lib/python2.7/dist-packages/alembic/operations/ops.py", line 1535, in add_column
return operations.invoke(op)
File "/usr/lib/python2.7/dist-packages/alembic/operations/base.py", line 318, in invoke
return fn(self, operation)
File "/usr/lib/python2.7/dist-packages/alembic/operations/toimpl.py", line 123, in add_column
schema=schema
File "/usr/lib/python2.7/dist-packages/alembic/ddl/impl.py", line 172, in add_column
self._exec(base.AddColumn(table_name, column, schema=schema))
File "/usr/lib/python2.7/dist-packages/alembic/ddl/impl.py", line 118, in _exec
return conn.execute(construct, *multiparams, **params)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 914, in execute
return meth(self, multiparams, params)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 68, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 968, in _execute_ddl
compiled
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
context)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1337, in _handle_dbapi_exception
util.raise_from_cause(newraise, exc_info)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
context)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 450, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (pysqlite2.dbapi2.OperationalError) Cannot add a NOT NULL column with default value NULL [SQL: u'ALTER TABLE address_scopes ADD COLUMN ip_version INTEGER NOT NULL']
dpkg: error processing package neutron-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of neutron-openvswitch-agent:
neutron-openvswitch-agent depends on neutron-common (= 2:8.1.2-1~bpo8+1); however:
Package neutron-common is not configured yet.
dpkg: error processing package neutron-openvswitch-agent (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of neutron-plugin-openvswitch-agent:
neutron-plugin-openvswitch-agent depends on neutron-openvswitch-agent; however:
Package neutron-openvswitch-agent is not configured yet.
dpkg: error processing package neutron-plugin-openvswitch-agent (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openstack-compute-node:
openstack-compute-node depends on neutron-plugin-openvswitch-agent; however:
Package neutron-plugin-openvswitch-agent is not configured yet.
Package neutron-openvswitch-agent which provides neutron-plugin-openvswitch-agent is not configured yet.
dpkg: error processing package openstack-compute-node (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
neutron-common
neutron-openvswitch-agent
neutron-plugin-openvswitch-agent
openstack-compute-node
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1613116
Title:
openstack mitaka mirantis failed install neutron and compute
Status in neutron:
New
Bug description:
using aptitude -t jessie-mitaka-backports install openstack-dashboard
openstack-dashboard-apache ceilometer-agent-compute openstack-compute-
node
after adding repositories
deb http://mitaka-jessie.pkgs.mirantis.com/debian jessie-mitaka-backports main
deb-src http://mitaka-jessie.pkgs.mirantis.com/debian jessie-mitaka-backports main
deb http://mitaka-jessie.pkgs.mirantis.com/debian jessie-mitaka-backports-nochange main
deb-src http://mitaka-jessie.pkgs.mirantis.com/debian jessie-mitaka-backports-nochange main
fresh install of Jessie 8.5.0
creating database neutrondb: success.
verifying database neutrondb exists: success.
No handlers could be found for logger "oslo_config.cfg"
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
Running upgrade for neutron ...
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.runtime.migration] Running upgrade -> kilo, kilo_initial
INFO [alembic.runtime.migration] Running upgrade kilo -> 354db87e3225, nsxv_vdr_metadata.py
INFO [alembic.runtime.migration] Running upgrade 354db87e3225 -> 599c6a226151, neutrodb_ipam
INFO [alembic.runtime.migration] Running upgrade 599c6a226151 -> 52c5312f6baf, Initial operations in support of address scopes
INFO [alembic.runtime.migration] Running upgrade 52c5312f6baf -> 313373c0ffee, Flavor framework
INFO [alembic.runtime.migration] Running upgrade 313373c0ffee -> 8675309a5c4f, network_rbac
INFO [alembic.runtime.migration] Running upgrade 8675309a5c4f -> 45f955889773, quota_usage
INFO [alembic.runtime.migration] Running upgrade 45f955889773 -> 26c371498592, subnetpool hash
INFO [alembic.runtime.migration] Running upgrade 26c371498592 -> 1c844d1677f7, add order to dnsnameservers
INFO [alembic.runtime.migration] Running upgrade 1c844d1677f7 -> 1b4c6e320f79, address scope support in subnetpool
INFO [alembic.runtime.migration] Running upgrade 1b4c6e320f79 -> 48153cb5f051, qos db changes
INFO [alembic.runtime.migration] Running upgrade 48153cb5f051 -> 9859ac9c136, quota_reservations
INFO [alembic.runtime.migration] Running upgrade 9859ac9c136 -> 34af2b5c5a59, Add dns_name to Port
INFO [alembic.runtime.migration] Running upgrade 34af2b5c5a59 -> 59cb5b6cf4d, Add availability zone
INFO [alembic.runtime.migration] Running upgrade 59cb5b6cf4d -> 13cfb89f881a, add is_default to subnetpool
/usr/lib/python2.7/dist-packages/alembic/util/messaging.py:69: UserWarning: Skipping unsupported ALTER for creation of implicit constraint
warnings.warn(msg)
INFO [alembic.runtime.migration] Running upgrade 13cfb89f881a -> 32e5974ada25, Add standard attribute table
INFO [alembic.runtime.migration] Running upgrade 32e5974ada25 -> ec7fcfbf72ee, Add network availability zone
INFO [alembic.runtime.migration] Running upgrade ec7fcfbf72ee -> dce3ec7a25c9, Add router availability zone
INFO [alembic.runtime.migration] Running upgrade dce3ec7a25c9 -> c3a73f615e4, Add ip_version to AddressScope
Traceback (most recent call last):
File "/usr/bin/neutron-db-manage", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 749, in main
return_val |= bool(CONF.command.func(config, CONF.command.name))
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 225, in do_upgrade
desc=branch, sql=CONF.command.sql)
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 127, in do_alembic_command
getattr(alembic_command, cmd)(config, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/alembic/command.py", line 174, in upgrade
script.run_env()
File "/usr/lib/python2.7/dist-packages/alembic/script/base.py", line 397, in run_env
util.load_python_file(self.dir, 'env.py')
File "/usr/lib/python2.7/dist-packages/alembic/util/pyfiles.py", line 93, in load_python_file
module = load_module_py(module_id, path)
File "/usr/lib/python2.7/dist-packages/alembic/util/compat.py", line 79, in load_module_py
mod = imp.load_source(module_id, path, fp)
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/alembic_migrations/env.py", line 126, in <module>
run_migrations_online()
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/alembic_migrations/env.py", line 120, in run_migrations_online
context.run_migrations()
File "<string>", line 8, in run_migrations
File "/usr/lib/python2.7/dist-packages/alembic/runtime/environment.py", line 797, in run_migrations
self.get_context().run_migrations(**kw)
File "/usr/lib/python2.7/dist-packages/alembic/runtime/migration.py", line 312, in run_migrations
step.migration_fn(**kw)
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/alembic_migrations/versions/mitaka/expand/c3a73f615e4_add_ip_version_to_address_scope.py", line 33, in upgrade
sa.Column('ip_version', sa.Integer(), nullable=False))
File "<string>", line 8, in add_column
File "<string>", line 3, in add_column
File "/usr/lib/python2.7/dist-packages/alembic/operations/ops.py", line 1535, in add_column
return operations.invoke(op)
File "/usr/lib/python2.7/dist-packages/alembic/operations/base.py", line 318, in invoke
return fn(self, operation)
File "/usr/lib/python2.7/dist-packages/alembic/operations/toimpl.py", line 123, in add_column
schema=schema
File "/usr/lib/python2.7/dist-packages/alembic/ddl/impl.py", line 172, in add_column
self._exec(base.AddColumn(table_name, column, schema=schema))
File "/usr/lib/python2.7/dist-packages/alembic/ddl/impl.py", line 118, in _exec
return conn.execute(construct, *multiparams, **params)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 914, in execute
return meth(self, multiparams, params)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 68, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 968, in _execute_ddl
compiled
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
context)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1337, in _handle_dbapi_exception
util.raise_from_cause(newraise, exc_info)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
context)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 450, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (pysqlite2.dbapi2.OperationalError) Cannot add a NOT NULL column with default value NULL [SQL: u'ALTER TABLE address_scopes ADD COLUMN ip_version INTEGER NOT NULL']
dpkg: error processing package neutron-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of neutron-openvswitch-agent:
neutron-openvswitch-agent depends on neutron-common (= 2:8.1.2-1~bpo8+1); however:
Package neutron-common is not configured yet.
dpkg: error processing package neutron-openvswitch-agent (--configure):
dependency problems - leaving unconfigured
Setting up libjs-swfobject (2.2+dfsg-1) ...
Setting up python-novnc (1:0.4+dfsg+1+20131010+gitf68af8af3d-5~bpo8+1) ...
Setting up novnc (1:0.4+dfsg+1+20131010+gitf68af8af3d-5~bpo8+1) ...
Setting up python-thrift (0.9.1-2) ...
Setting up python-happybase (0.8-3~bpo8+1) ...
Setting up python-jsonpath-rw (1.4.0-2~bpo8+1) ...
update-alternatives: using /usr/bin/python2-jsonpath to provide /usr/bin/jsonpath (jsonpath) in auto mode
Setting up python-jsonpath-rw-ext (0.1.9-2~bpo8+1) ...
Setting up smitools (0.4.8+dfsg2-10+b2) ...
Setting up python-pysnmp4 (4.2.5-1) ...
Setting up python-ipaddr (2.1.11-2) ...
Setting up python-wsme (0.8.0-3~bpo8+1) ...
Setting up python-ceilometer (1:6.0.0-2~bpo8+1) ...
Setting up ceilometer-common (1:6.0.0-2~bpo8+1) ...
libvirt:x:135:ceilometer,nova
The user `ceilometer' is already a member of `nova'.
The user `ceilometer' is already a member of `libvirt'.
Value 'password-ceilometer-legacy' for '[service_credentials]/auth_type' is deprecated. And will be removed in Ceilometer 7.0. Use 'password' instead.
2016-08-14 15:58:20.060 23532 WARNING oslo_reports.guru_meditation_report [-] Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer be registered in a future release, so please use SIGUSR2 to generate reports.
2016-08-14 15:58:20.111 23532 INFO ceilometer.storage.mongo.utils [-] Connecting to mongodb on [('localhost', 27017)]
2016-08-14 15:58:20.165 23532 INFO ceilometer.storage.mongo.utils [-] Connecting to mongodb on [('localhost', 27017)]
Setting up ceilometer-agent-compute (1:6.0.0-2~bpo8+1) ...
dpkg: dependency problems prevent configuration of neutron-plugin-openvswitch-agent:
neutron-plugin-openvswitch-agent depends on neutron-openvswitch-agent; however:
Package neutron-openvswitch-agent is not configured yet.
dpkg: error processing package neutron-plugin-openvswitch-agent (--configure):
dependency problems - leaving unconfigured
Setting up nova-cert (2:13.1.0-1~bpo8+1) ...
Setting up autopkgtest (3.6jessie1) ...
Setting up madison-lite (0.20) ...
Setting up libxdelta2 (1.1.3-9.1) ...
Setting up xdelta (1.1.3-9.1) ...
Setting up pristine-tar (1.33) ...
Setting up openstack-pkg-tools (52~bpo8+1) ...
dpkg: dependency problems prevent configuration of openstack-compute-node:
openstack-compute-node depends on neutron-plugin-openvswitch-agent; however:
Package neutron-plugin-openvswitch-agent is not configured yet.
Package neutron-openvswitch-agent which provides neutron-plugin-openvswitch-agent is not configured yet.
dpkg: error processing package openstack-compute-node (--configure):
dependency problems - leaving unconfigured
Setting up dctrl-tools (2.23) ...
Setting up autodep8 (0.1) ...
Setting up dkms (2.2.0.3-2) ...
Setting up linux-headers-amd64 (3.16+63) ...
Setting up pbzip2 (1.1.9-1) ...
Setting up python-pysnmp4-apps (0.3.2-1) ...
Setting up python-pysnmp4-mibs (0.1.3-1) ...
Setting up openvswitch-datapath-dkms (2.0.1-2~bpo8+1) ...
Creating symlink /var/lib/dkms/openvswitch/2.0.1/source ->
/usr/src/openvswitch-2.0.1
DKMS: add completed.
Error! Your kernel headers for kernel 4.6.0-0.bpo.1-amd64 cannot be found.
Please install the linux-headers-4.6.0-0.bpo.1-amd64 package,
or use the --kernelsourcedir option to tell DKMS where it's located
Setting up python-cssselect (0.9.1+git90c72b0-1) ...
Setting up python-pyquery (1.2.4-1) ...
Processing triggers for libc-bin (2.19-18+deb8u4) ...
Errors were encountered while processing:
neutron-common
neutron-openvswitch-agent
neutron-plugin-openvswitch-agent
openstack-compute-node
E: Sub-process /usr/bin/dpkg returned an error code (1)
Failed to perform requested operation on package. Trying to recover:
Setting up neutron-common (2:8.1.2-1~bpo8+1) ...
PKG-Openstack now calling: dbc_go neutron-common configure
dbconfig-common: writing config to /etc/dbconfig-common/neutron-common.conf
creating database neutrondb: already exists.
No handlers could be found for logger "oslo_config.cfg"
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
Running upgrade for neutron ...
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
INFO [alembic.runtime.migration] Running upgrade dce3ec7a25c9 -> c3a73f615e4, Add ip_version to AddressScope
Traceback (most recent call last):
File "/usr/bin/neutron-db-manage", line 10, in <module>
sys.exit(main())
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 749, in main
return_val |= bool(CONF.command.func(config, CONF.command.name))
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 225, in do_upgrade
desc=branch, sql=CONF.command.sql)
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/cli.py", line 127, in do_alembic_command
getattr(alembic_command, cmd)(config, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/alembic/command.py", line 174, in upgrade
script.run_env()
File "/usr/lib/python2.7/dist-packages/alembic/script/base.py", line 397, in run_env
util.load_python_file(self.dir, 'env.py')
File "/usr/lib/python2.7/dist-packages/alembic/util/pyfiles.py", line 93, in load_python_file
module = load_module_py(module_id, path)
File "/usr/lib/python2.7/dist-packages/alembic/util/compat.py", line 79, in load_module_py
mod = imp.load_source(module_id, path, fp)
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/alembic_migrations/env.py", line 126, in <module>
run_migrations_online()
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/alembic_migrations/env.py", line 120, in run_migrations_online
context.run_migrations()
File "<string>", line 8, in run_migrations
File "/usr/lib/python2.7/dist-packages/alembic/runtime/environment.py", line 797, in run_migrations
self.get_context().run_migrations(**kw)
File "/usr/lib/python2.7/dist-packages/alembic/runtime/migration.py", line 312, in run_migrations
step.migration_fn(**kw)
File "/usr/lib/python2.7/dist-packages/neutron/db/migration/alembic_migrations/versions/mitaka/expand/c3a73f615e4_add_ip_version_to_address_scope.py", line 33, in upgrade
sa.Column('ip_version', sa.Integer(), nullable=False))
File "<string>", line 8, in add_column
File "<string>", line 3, in add_column
File "/usr/lib/python2.7/dist-packages/alembic/operations/ops.py", line 1535, in add_column
return operations.invoke(op)
File "/usr/lib/python2.7/dist-packages/alembic/operations/base.py", line 318, in invoke
return fn(self, operation)
File "/usr/lib/python2.7/dist-packages/alembic/operations/toimpl.py", line 123, in add_column
schema=schema
File "/usr/lib/python2.7/dist-packages/alembic/ddl/impl.py", line 172, in add_column
self._exec(base.AddColumn(table_name, column, schema=schema))
File "/usr/lib/python2.7/dist-packages/alembic/ddl/impl.py", line 118, in _exec
return conn.execute(construct, *multiparams, **params)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 914, in execute
return meth(self, multiparams, params)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 68, in _execute_on_connection
return connection._execute_ddl(self, multiparams, params)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 968, in _execute_ddl
compiled
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
context)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1337, in _handle_dbapi_exception
util.raise_from_cause(newraise, exc_info)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
reraise(type(exception), exception, tb=exc_tb, cause=cause)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
context)
File "/usr/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 450, in do_execute
cursor.execute(statement, parameters)
sqlalchemy.exc.OperationalError: (pysqlite2.dbapi2.OperationalError) Cannot add a NOT NULL column with default value NULL [SQL: u'ALTER TABLE address_scopes ADD COLUMN ip_version INTEGER NOT NULL']
dpkg: error processing package neutron-common (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of neutron-openvswitch-agent:
neutron-openvswitch-agent depends on neutron-common (= 2:8.1.2-1~bpo8+1); however:
Package neutron-common is not configured yet.
dpkg: error processing package neutron-openvswitch-agent (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of neutron-plugin-openvswitch-agent:
neutron-plugin-openvswitch-agent depends on neutron-openvswitch-agent; however:
Package neutron-openvswitch-agent is not configured yet.
dpkg: error processing package neutron-plugin-openvswitch-agent (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of openstack-compute-node:
openstack-compute-node depends on neutron-plugin-openvswitch-agent; however:
Package neutron-plugin-openvswitch-agent is not configured yet.
Package neutron-openvswitch-agent which provides neutron-plugin-openvswitch-agent is not configured yet.
dpkg: error processing package openstack-compute-node (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
neutron-common
neutron-openvswitch-agent
neutron-plugin-openvswitch-agent
openstack-compute-node
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1613116/+subscriptions
Follow ups