Error when installing development version of Murano
Hello,
I'm trying to follow the instructions at http://
- followed devstack installation instructions and cloned devstack
- cloned murano (git clone git://git.
- copied murano integration scripts into devstack folder
- updated local.conf to enable heat and murano
When I do ./stack.sh when it comes to configuring murano I get this error:
2015-06-11 18:51:21.830 | ++ mysql -uroot -ptime4fun -h127.0.0.1 -e 'DROP DATABASE IF EXISTS murano;'
2015-06-11 18:51:21.852 | ++ mysql -uroot -ptime4fun -h127.0.0.1 -e 'CREATE DATABASE murano CHARACTER SET utf8;'
2015-06-11 18:51:21.860 | ++ /usr/local/
2015-06-11 18:51:22.246 | 2015-06-11 18:51:22.246 23571 INFO alembic.migration [-] Context impl MySQLImpl.
2015-06-11 18:51:22.246 | 2015-06-11 18:51:22.246 23571 INFO alembic.migration [-] Will assume non-transactional DDL.
2015-06-11 18:51:22.253 | 2015-06-11 18:51:22.253 23571 INFO alembic.migration [-] Running upgrade -> 001, empty message
2015-06-11 18:51:22.379 | 2015-06-11 18:51:22.379 23571 DEBUG alembic.migration [-] new branch insert 001 update_to_step /usr/local/
2015-06-11 18:51:22.382 | 2015-06-11 18:51:22.382 23571 INFO alembic.migration [-] Running upgrade 001 -> 002, empty message
2015-06-11 18:51:22.397 | 2015-06-11 18:51:22.397 23571 DEBUG alembic.migration [-] update 001 to 002 update_to_step /usr/local/
2015-06-11 18:51:22.400 | 2015-06-11 18:51:22.399 23571 INFO alembic.migration [-] Running upgrade 002 -> 003, Add action column to deployment table.
2015-06-11 18:51:22.470 | 2015-06-11 18:51:22.470 23571 DEBUG alembic.migration [-] update 002 to 003 update_to_step /usr/local/
2015-06-11 18:51:22.473 | 2015-06-11 18:51:22.473 23571 INFO alembic.migration [-] Running upgrade 003 -> 004, Change type of description field in package table.
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 CRITICAL murano [-] IntegrityError: (IntegrityError) (1217, u'Cannot delete or update a parent row: a foreign key constraint fails') '\nDROP TABLE package' ()
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano Traceback (most recent call last):
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano sys.exit(main())
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/opt/stack/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano CONF.command.
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/opt/stack/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano migration.
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/opt/stack/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano alembic.
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano script.run_env()
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano util.load_
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano module = load_module_
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano mod = imp.load_
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/opt/stack/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano run_migrations_
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/opt/stack/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano context.
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "<string>", line 7, in run_migrations
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano self.get_
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano step.migration_
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/opt/stack/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano mysql_charset=
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/opt/stack/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano op.drop_table(name)
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "<string>", line 7, in drop_table
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano self._table(name, **kw)
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano self._exec(
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano return conn.execute(
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano return meth(self, multiparams, params)
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano return connection.
2015-06-11 18:51:22.516 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano compiled
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano context)
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano exc_info
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano reraise(
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano context)
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano cursor.
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano result = self._query(query)
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano conn.query(q)
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano self._affected_rows = self._read_
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano result.read()
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano first_packet = self.connection
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano packet.
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano err.raise_
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano _check_
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano File "/usr/local/
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano raise errorclass(errno, errorvalue)
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano IntegrityError: (IntegrityError) (1217, u'Cannot delete or update a parent row: a foreign key constraint fails') '\nDROP TABLE package' ()
2015-06-11 18:51:22.517 | 2015-06-11 18:51:22.513 23571 TRACE murano
2015-06-11 18:51:22.533 | + exit_trap
I have done this installation before successfully. So I am wondering if I'm missing a (new) step in the installation, or there is a bug somewhere in the latest code.
Thanks.
--Vahid
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Murano Edit question
- Assignee:
- Ekaterina Chernova Edit question
- Solved by:
- Ekaterina Chernova
- Solved:
- Last query:
- Last reply: