Commit Graph

17 Commits

Author SHA1 Message Date
Dmytro Dovbii
76ffd35806 Use oslo.config generator in murano
Similarly with the way it was done in the murano-agent, added
the ability to use the oslo-config-generator for creating a sample
configuration file murano.conf.sample.

Now to create the file, you must run:
tox -egenconfig

Change-Id: I8b06336d75eccfd598ce9033333884f75f393a09
2014-11-12 17:09:35 +02:00
Sergey Lukjanov
6c26981453 Open Kilo development
Bump pre-version to 2015.1 to formally open master branch to Kilo
development.

Change-Id: Iab81e4ed62a35762017201341400a0883a95b73f
2014-09-30 11:41:36 -07:00
Robert Collins
d6df8f9354 Set next version to 2014.2
pbr pre-versioning causes current sdist to have versions leading up to 0.4.1,
but that is already released - we should be leading up to 2014.2.

Change-Id: Ie3ef33b1c8de8129c303d2271f56f7f80158757f
2014-08-20 07:02:26 +00:00
Ruslan Kamaldinov
9030bc7285 Added DB migrations on Alembic
This commit migrates Murano database migration framework from
sqlalchemy-migrate to Alembic. sqlalchemy-migrate is considered abandoned. All
other OpenStack projects are in  process of migration to Alembic or have
already finished migration.

This change doesn't preserve all the migration scripts, it merges them into a
single migration script. That's what we would do even without Alembic. It's a
common practice to squash migration scripts into a single one right after the
release.

NOTICE:
CLI command to run migrations changed. Now it looks like this:
$ murano-db-manage upgrade

Migration path:
1. Simple solution is just to re-create your database from scratch
2. You can stamp your database with revision to make Alembic think that it
   already applied the first migration:
   $ tox -e venv -- murano-db-manage --config-file etc/murano/murano.conf stamp --revision head

For usage instructions see:
murano/db/migraiton/alembic_migrations/README

This patch also adds opportunistic tests for migrations. These tests will run in
OpenStack Infrastructure jenkins slaves. It'll use real MySQL and Postgres databases.
Tests will run in a "snake walk" manner, which means that upgrade and downgrade path
will be tested.
Base for migration tests is copied from Nova. Please note, that at this moment we
cannot use code from oslo, because it is not documented and is not tested. Once
test_migrations_base appears in project 'oslo.db', we'll be able to remove our own
test_migrations_base and use the one from 'oslo.db'.

implements: blueprint alembic-migrations
Change-Id: I5aa978f7095efc57f2d6fad81b5553e1880ad931
2014-06-20 18:01:34 +04:00
Ruslan Kamaldinov
86a4c4710d Rename muranoapi to murano
Partially-implements blueprint: rename-murano-api-to-murano

Change-Id: I2d7f52ef4073bce800cedc77f81f5d242c4d5d98
2014-05-27 15:14:44 +04:00
Ruslan Kamaldinov
2e1785a61b Fix Murano gate job
There were two patches which broke our gate:
1. https://review.openstack.org/#/c/80690/
   This one forces Devstack installation to fail if a project has dependencies
   not listed in the global-requirements file. Fix description:
   Devstack has two functions to install a project:
    * setup_develop
    * setup_package

   The first one does the requirements check and fails on Murano installation.
   The latter one doesn't perform any checks (it is called internally from the
   first function right after the requirements check was performed). We will
   use the latter one until all Murano requirements match global-requirements.

2. https://review.openstack.org/#/c/85032/
   This one introduced a nosetests plugin for MuranoPL. Somehow (I have no
   idea how) it breaks Tempest run in the gate. It causes our functional tests
   to behave wierdly, not recognise tempest config file and throw exception:
   "DuplicateOptError: duplicate option: use-syslog", see complete log at
   http://logs.openstack.org/13/85113/7/check/gate-murano-devstack-dsvm/4939248/console.html

   Fix description:
   Temporarily disable nosetests plugin until we figure out how to enable
   it and avoid Tempest problems in the gate.

Change-Id: I369f91fdabdc887d5ff3fb6e16d85a4d12de9f03
2014-04-07 10:43:19 +00:00
Serg Melikyan
06856caecf Add MuranoPL Testing Framework
Implements simple plugin for nosetests and gives
ability to write tests for MuranoPL functions
and features on MuranoPL itself.

Change-Id: I899d5d89f391167ff34fa35777e85125bad431bf
2014-04-03 19:12:39 +04:00
Ruslan Kamaldinov
17afc0e0fd Added explicit db-sync command
This patch changes the way we initialize the DB with tables:
* there is new command - 'murano-manage db_sync'
* DB is no longer automatically populated

Change-Id: I1ae06448ddf4a832740e9a2bfccbfd725cb6c3f7
2014-04-02 09:53:52 +00:00
Serg Melikyan
7552552492 Add MuranoPL Engine
Added all missing parts to complete MuranoPL implementation:
 - system classes
 - base classes
 - integration with oslo.messaging
 - package entry-point & other things to run engine
Integrated engine with API

Note: some tests are marked to be skipped,
will be enabled via separate commit.

Partially-Implements: blueprint new-metadata-dsl
Change-Id: I3c1c2326b48da57647d55ea8edfba56f1657d7d6
2014-03-21 15:34:42 +04:00
Ekaterina Fedorova
968296bf7e Cherry-pick the following commits from release-0.4
* Fix errors in infrastructure
	blueprinr one-style-config
	1) Update sample config - remove non-existing directory
	2) Add 0.4.1 version
	3) Rename config file to sample
	Fixes-Bug: 1270734

* Catch AttributeError in case of incorrect session_id
	Closes-Bug: 1269749

* Fixed issue with copy configuration files.
	Closes-Bug: #1271079

* Add translation support

	Use openstack.common.gettextutils for translation
	Closes-Bug: #1267514

* Fix name for syslog_log_facility param

* Update requirements for a release-0.4.1

* Handle incorrect env_id
	Closes-Bug: 1227154

* Import _ not implicit

Change-Id: I2744eaeef369220c5a8dabb027ba40622be9d155
2014-02-10 18:52:31 +04:00
Timur Sufiev
5da8ef0796 Cherry-pick the following commits from release-0.4:
* Update requirements to stable/havana.
* made code preparations for build (modified)
* Made changes for nonroot daemons run
* Update requirements.txt for v0.4

Change-Id: I8cc4ee585ae35276b2fe0c81be5e45cb1997b4a2
2014-01-10 18:23:01 +04:00
Serg Melikyan
4c9c97b79b Cherry-pick from release-0.3:
*Version bump to 0.3
 *Add delays before reconnect to RabbitMQ

Change-Id: Ia66eab17e0df5b41d7d60dc302c88e0ed08ff401
2013-11-26 20:05:32 +04:00
TimurNurlygayanov
68e0470c03 Fixed the component name for tarballs
Change-Id: Ic62e3480b01e408993be5dfdead94489111f5f97
2013-11-13 15:42:30 +04:00
Serg Melikyan
bc87e2f8a7 Cherry-pick following change-ids from release-0.2.
Ie214f0fc9467171b2feb17b2356e834237786bb7
Iaba3df12b2ff0f415ee149e7173529ef2ad31b15

Change-Id: I969361b7a13f57db72ad08f68d98b2730fd0840b
2013-09-03 14:53:39 +04:00
Serg Melikyan
072b593de6 Migrated to Murano Common
Replaced old RabbitMQ code over amqplib to Murano Common MqClient

Change-Id: Icf721f9304f65df02231bde77c8472fd6e20c90d
2013-07-25 15:59:45 +04:00
Stan Lagun
f145391f03 KEERO-315 - Fix all occurrences of old names (keero, glazier) in REST API 2013-04-25 10:13:42 +04:00
Serg Melikyan
33a0a171a3 Removed all projects except Glazier Api 2013-04-09 13:25:02 +04:00