Re: [openstack-dev] [Murano] Working in devstack?

2014-04-16 Thread Ruslan Kamaldinov
Hi Mark!

Actually we have working Devstack scripts at [0]. We use these scripts to setup
Murano in the dsvm (devstack/tempest) gate job which run Murano functional
tests. It means that our Devstack scripts are in a good shape. Please use
Devstack scripts from [0], all the other scripts are deprecated. I will make
sure we mark them as deprecated ASAP.

There is also a patch [1] which enables murano-dashboard in Devstack. It should
be merged soon.

What we're missing at this moment is developer documentation for the current
release 0.5. I've added a blueprint [2] and started working on it.

Feel free to ping us at #murano channel (my irc handle is ruhe) if you have
any questions.

[0] http://git.openstack.org/cgit/stackforge/murano-api/tree/contrib/devstack
[1] https://review.openstack.org/#/c/87751/
[2] https://blueprints.launchpad.net/murano/+spec/murano-dev-doc-0.5


Thanks,
Ruslan


On Wed, Apr 16, 2014 at 3:53 AM, Mark Kirkwood
mark.kirkw...@catalyst.net.nz wrote:
 Thanks...yes, I'd not realized that running ./stack.sh again would unpatch
 my murano-api/setup.sh! Rerunning the db setup as you suggested gives me the
 tables. I didn't do it in as tidy a manner as yours however :-)

 $ export OS_USERNAME=admin
 $ export OS_PASSWORD=swordfish
 $ export OS_TENANT_NAME=demo
 $ export OS_AUTH_URL=http://host:5000/v2.0/
 $ murano-manage --config-file /etc/murano/murano-api.conf db-sync

 Cheers

 Mark


 On 16/04/14 11:23, Georgy Okrokvertskhov wrote:

 Hi Mark,

 Thank you for a detailed report. As I know Murano team is working on fixing
 devstack scripts.

 As for DB setup it should be done by a command: tox -evenv -- murano-manage
 --config-file etc/murano/murano-api.conf db-sync

 It works in my testing environment.

 Thanks
 Georgy


 On Tue, Apr 15, 2014 at 4:11 PM, Mark Kirkwood 
 mark.kirkw...@catalyst.net.nz wrote:

 Hi all,

 There is some interest here in making use of Murano for Samba ADDC a
 service...so we've been (attempting) to get it up and running in devstack.
 In the process I've managed to get myself confused about the correct
 instructions for doing this:

 - the docs suggest http://murano-docs.github.io/latest/getting-started/
 content/ch04s03.html
 - the project provides murano-deployment/devstack-scripts/README.rst)

 ...which are markedly different approaches (it *looks* like the project
 README.rst is out of date, as it the scripts it runs try to get
 heat-horizon from repos that do not exist anymore). If this approach is not
 longer workable, we should really remove (or correct these instructions).

 So following http://murano-docs.github.io/latest/getting-started/
 content/ch04s03.html inside a Ubuntu 12.04 VM I stumbled into a few bugs:

 - several missing deps in various murano-*/requirements.txt (see attached)
 - typo in /murano-api/setup.sh (db_sync vs db-sync)

 Fixing these seems to get most things going (some tabs crash with missing
 tables, so I need to dig a bit more to find where they get created...).

 Any pointers/etc would be much appreciated!

 Cheers

 Mark


 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev





 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Murano] Working in devstack?

2014-04-15 Thread Mark Kirkwood

Hi all,

There is some interest here in making use of Murano for Samba ADDC a 
service...so we've been (attempting) to get it up and running in 
devstack. In the process I've managed to get myself confused about the 
correct instructions for doing this:


- the docs suggest 
http://murano-docs.github.io/latest/getting-started/content/ch04s03.html

- the project provides murano-deployment/devstack-scripts/README.rst)

...which are markedly different approaches (it *looks* like the project 
README.rst is out of date, as it the scripts it runs try to get 
heat-horizon from repos that do not exist anymore). If this approach is 
not longer workable, we should really remove (or correct these 
instructions).


So following 
http://murano-docs.github.io/latest/getting-started/content/ch04s03.html 
inside a Ubuntu 12.04 VM I stumbled into a few bugs:


- several missing deps in various murano-*/requirements.txt (see attached)
- typo in /murano-api/setup.sh (db_sync vs db-sync)

Fixing these seems to get most things going (some tabs crash with 
missing tables, so I need to dig a bit more to find where they get 
created...).


Any pointers/etc would be much appreciated!

Cheers

Mark

Getting Murano to run in devstack
=

$ git clone https://github.com/openstack-dev/devstack.git
$ cd devstack
$ cat local.conf
[[local|localrc]]
ADMIN_PASSWORD=swordfish
MYSQL_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=servicetoken

$ ./stack.sh
$ ./unstack.sh
$ sudo apt-get purge apache2# make sure default site does not linger

$ mv files/images ~ # save images!

$ cd
$ git clone https://github.com/stackforge/murano-deployment.git
$ cp -r murano-deployment/devstack-integration/* devstack/
$ cd devstack 
$ cp single-node.local.conf local.conf
$ vi local.conf # set HOST_IP
$ ./stack.sh


Bugs


1/ Several missing pip requirements:

This necessitates re-running ./stack.sh several times and correcting
the errors below one by one (sigh, there is hopefully a better way)

$ tail /opt/stack/murano-api/requirements.txt
yaql

$ tail /opt/stack/murano-conductor/requirements.txt
jsonpath
celery

$ tail /opt/stack/murano-repository/test-requirements.txt
flask-testing

$ tail /opt/stack/murano-dashboard/requirements.txt
bunch

2/ Missing directory

$ mkdir /etc/tgt


3/ Missing tables

No tables in murano db's
(error is install script)

$ vi /opt/stack/murano-api/setup.sh # db_sync - db-sync
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Murano] Working in devstack?

2014-04-15 Thread Georgy Okrokvertskhov
Hi Mark,

Thank you for a detailed report. As I know Murano team is working on fixing
devstack scripts.

As for DB setup it should be done by a command: tox -evenv -- murano-manage
--config-file etc/murano/murano-api.conf db-sync

It works in my testing environment.

Thanks
Georgy


On Tue, Apr 15, 2014 at 4:11 PM, Mark Kirkwood 
mark.kirkw...@catalyst.net.nz wrote:

 Hi all,

 There is some interest here in making use of Murano for Samba ADDC a
 service...so we've been (attempting) to get it up and running in devstack.
 In the process I've managed to get myself confused about the correct
 instructions for doing this:

 - the docs suggest http://murano-docs.github.io/latest/getting-started/
 content/ch04s03.html
 - the project provides murano-deployment/devstack-scripts/README.rst)

 ...which are markedly different approaches (it *looks* like the project
 README.rst is out of date, as it the scripts it runs try to get
 heat-horizon from repos that do not exist anymore). If this approach is not
 longer workable, we should really remove (or correct these instructions).

 So following http://murano-docs.github.io/latest/getting-started/
 content/ch04s03.html inside a Ubuntu 12.04 VM I stumbled into a few bugs:

 - several missing deps in various murano-*/requirements.txt (see attached)
 - typo in /murano-api/setup.sh (db_sync vs db-sync)

 Fixing these seems to get most things going (some tabs crash with missing
 tables, so I need to dig a bit more to find where they get created...).

 Any pointers/etc would be much appreciated!

 Cheers

 Mark


 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




-- 
Georgy Okrokvertskhov
Architect,
OpenStack Platform Products,
Mirantis
http://www.mirantis.com
Tel. +1 650 963 9828
Mob. +1 650 996 3284
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Murano] Working in devstack?

2014-04-15 Thread Mark Kirkwood
Thanks...yes, I'd not realized that running ./stack.sh again would 
unpatch my murano-api/setup.sh! Rerunning the db setup as you suggested 
gives me the tables. I didn't do it in as tidy a manner as yours however :-)


$ export OS_USERNAME=admin
$ export OS_PASSWORD=swordfish
$ export OS_TENANT_NAME=demo
$ export OS_AUTH_URL=http://host:5000/v2.0/
$ murano-manage --config-file /etc/murano/murano-api.conf db-sync

Cheers

Mark

On 16/04/14 11:23, Georgy Okrokvertskhov wrote:

Hi Mark,

Thank you for a detailed report. As I know Murano team is working on fixing
devstack scripts.

As for DB setup it should be done by a command: tox -evenv -- murano-manage
--config-file etc/murano/murano-api.conf db-sync

It works in my testing environment.

Thanks
Georgy


On Tue, Apr 15, 2014 at 4:11 PM, Mark Kirkwood 
mark.kirkw...@catalyst.net.nz wrote:


Hi all,

There is some interest here in making use of Murano for Samba ADDC a
service...so we've been (attempting) to get it up and running in devstack.
In the process I've managed to get myself confused about the correct
instructions for doing this:

- the docs suggest http://murano-docs.github.io/latest/getting-started/
content/ch04s03.html
- the project provides murano-deployment/devstack-scripts/README.rst)

...which are markedly different approaches (it *looks* like the project
README.rst is out of date, as it the scripts it runs try to get
heat-horizon from repos that do not exist anymore). If this approach is not
longer workable, we should really remove (or correct these instructions).

So following http://murano-docs.github.io/latest/getting-started/
content/ch04s03.html inside a Ubuntu 12.04 VM I stumbled into a few bugs:

- several missing deps in various murano-*/requirements.txt (see attached)
- typo in /murano-api/setup.sh (db_sync vs db-sync)

Fixing these seems to get most things going (some tabs crash with missing
tables, so I need to dig a bit more to find where they get created...).

Any pointers/etc would be much appreciated!

Cheers

Mark


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev






___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev