Tuesday, 2014-08-12

*** gokrokve has quit IRC00:35
*** btully has joined #murano01:17
openstackgerritBrian Tully proposed a change to stackforge/murano-dashboard: Fix extra column in services table during deploy  https://review.openstack.org/11341701:20
openstackgerritSteve McLellan proposed a change to stackforge/python-muranoclient: Fix some calls after switch to 'requests'  https://review.openstack.org/11324301:21
*** gokrokve has joined #murano01:29
*** gokrokve has quit IRC02:14
*** sjmc7 has quit IRC03:45
*** chandankumar has joined #murano03:55
*** Murali__ has joined #murano03:57
*** Murali_ has quit IRC03:59
*** drupalmonkey has quit IRC04:18
*** chandankumar has quit IRC04:20
*** Murali__ has quit IRC04:26
*** masco has joined #murano05:06
*** chandankumar has joined #murano05:16
*** chandankumar has quit IRC05:17
*** chandankumar has joined #murano05:17
*** k4n0 has joined #murano05:37
*** killer_prince has joined #murano05:54
*** lazy_prince has quit IRC05:56
*** lazy_prif has joined #murano06:13
*** lazy_prif is now known as lazy_prince06:13
*** masco has quit IRC06:17
*** masco has joined #murano06:31
*** killer_prince has quit IRC07:11
*** romainh has joined #murano07:23
*** lazy_prince has quit IRC08:06
*** stanlagun has joined #murano08:11
*** slagun has quit IRC08:12
openstackgerritDmitry Teselkin proposed a change to stackforge/murano-deployment: Fix image-builder scripts  https://review.openstack.org/11278708:22
openstackgerritA change was merged to stackforge/python-muranoclient: Fix some calls after switch to 'requests'  https://review.openstack.org/11324308:47
*** romainh has left #murano08:56
openstackgerritDmitry Teselkin proposed a change to stackforge/murano-deployment: Consolidated devstack script  https://review.openstack.org/11128209:37
*** romainh has joined #murano10:03
*** DaveJ__ has joined #murano10:35
DaveJ__Hi guys - I'm trying to install Murano on a fresh icehouse install (installed with packstack)10:36
DaveJ__Most of the documentation seems to be geared towards devstack - anyone got some pointers to help get me started ?10:36
DaveJ__Also some of the documentation doesn't seem to be up-to-date10:39
DaveJ__http://murano-docs.github.io/latest/getting-started/content/ch03s03.html10:39
DaveJ__After I clone the repo  'cd /opt/git/murano-deployment/image-builder' doesn't exist10:39
DaveJ__I'm assuming its meant to be /opt/git/murano-deployment/contrib/windows/image-builder/ ?10:39
IgorYozhikovhi10:51
IgorYozhikovtake a look at murano-deployment/contrib/windows10:52
DaveJ__IgorYozhikov:  Thanks.  Is that documentation up-to-date? I also see https://murano.readthedocs.org/en/latest/install/manual.html10:52
DaveJ__Which is the best to get Murano installed and configured ?10:53
sergmelikyanDocumentation at https://murano.readthedocs.org is most recent10:54
IgorYozhikovwe have to change repository structure, so pathes could differ from manual10:54
DaveJ__sergmelikyan: Thanks.  Is there a step missing from https://murano.readthedocs.org/en/latest/install/manual.html  Under 'Installing the API service and Engine' should I be running python setup.py on the code checked out ?10:57
*** masco has quit IRC10:58
IgorYozhikovDaveJ__: what version of OpenStack do you use?10:59
IgorYozhikovDaveJ__: if you want to play with DevStack, you can take a look here - https://github.com/stackforge/murano/tree/master/contrib/devstack11:00
DaveJ__I'm on IceHouse installed with packstack11:00
IgorYozhikovDaveJ__: so you use stable branch, you can try setup.sh scripts11:01
IgorYozhikovDaveJ__: but keep in mind, that latest murano code could work/use features from juno11:02
DaveJ__Ok - I'll give setup.sh a try11:02
DaveJ__IgorYozhikov:  Hmm I think that may have just nuked my mysql database11:06
DaveJ__can't seem to login anymore11:06
DaveJ__Does it set a default root password ?11:07
IgorYozhikovDaveJ__: are you trying to install murano on the same host with packstack installed OS?11:07
DaveJ__yes11:07
katyaferventFor the Icehouse try to use 0.5.0 Murano tag11:07
IgorYozhikovsetup script resets root password11:07
IgorYozhikovyou can find it inside setup.sh11:08
IgorYozhikovDaveJ__: i beleive it should be like - swordfish11:09
IgorYozhikovfor mysql root11:09
DaveJ__Yes it is - thanks got that11:09
sergmelikyanDaveJ__, honestly, in order to automate Murano deployment as part of Packstack, I would suggest treat it like any other OpenStack service and nothing more. Trying to reuse setup.sh may be a little bit confusing11:10
sergmelikyanIs automating Murano as part of Packstack is your goal? Or you'd like to install murano manually alongside with packstack deployment of OpenStack?11:11
DaveJ__sergmelikyan: For now I'd just like to install murano manually alongside my packstack deployment.  Although I think long term it would be useful to have as part of packstack, so I may look at that11:13
*** masco has joined #murano11:13
sergmelikyanhttps://murano.readthedocs.org/en/latest/install/manual.html - no, there is no missing step here11:14
*** sergmelikyan has left #murano11:14
*** sergmelikyan has joined #murano11:14
sergmelikyanIf you run Murano using tox like: "tox -e venv -- murano-api --config-file /etc/murano/murano.conf"11:15
sergmelikyantox creates virtual env11:15
DaveJ__sergmelikyan: Ah ok - thanks11:15
sergmelikyanSo basically Murano is running in isolated virtual env11:15
sergmelikyanno need to call python setup.py11:15
sergmelikyanIf you will encounter issues with running Murano using tox try to look at https://github.com/stackforge/murano/blob/master/setup.sh#L3511:17
sergmelikyanit is a list of system-wide dependencies that may be missing11:17
sergmelikyanAlso, please note, that you can actually run latest Murano using tox (including dashboard) and target it to IceHouse release of OpenStack. You will have consistent version of Murano services and consistent deployment of OpenStack. Since OpenStack dashboard relies on python-*client to do actual calls to OpenStack services you should not have any problems and can easily experiment with Murano11:20
sergmelikyan*with latest version11:21
DaveJ__sergmelikyan> : That sounds like the best option.  I had already executed setup.sh, but I guess I can re-run and uninstall11:22
sergmelikyansure11:22
DaveJ__sergmelikyan: in terms of the murano.conf - any hints at what I need to configure ?11:25
*** sergmelikyan has quit IRC11:26
*** sergmelikyan has joined #murano11:26
sergmelikyanDaveJ__, You should start with configuring connection to database11:26
sergmelikyanhttps://github.com/stackforge/murano/blob/master/etc/murano/murano.conf.sample#L19211:27
sergmelikyanThis is should be done even before you will run murano-db-manage command11:27
*** sab_ has joined #murano11:27
sergmelikyanjust "sqlite:///murano.db" will do the job11:27
sergmelikyanThere is no reason to use MySQL, imo11:28
sergmelikyanFor production you should use same database as used for other OpenStack services but for now SQLite is enough11:28
sergmelikyanNext option that should be configured is https://github.com/stackforge/murano/blob/master/etc/murano/murano.conf.sample#L30611:29
sergmelikyanThis responsible for URI used by engine to ask Keystone about whereabouts of other OpenStack services11:30
*** sab_ has quit IRC11:30
sergmelikyanhttps://github.com/stackforge/murano/blob/master/etc/murano/murano.conf.sample#L335 is next one11:31
sergmelikyanThis option is used by engine to ask from api for application packages. I think "http://127.0.0.1:8082" should work11:32
sergmelikyan(I assume that you are running all Murano services on the same machine)11:32
DaveJ__sergmelikyan: yep all services on the same box11:34
DaveJ__I do have multiple compute nodes though11:34
sergmelikyanNext options that should be configured are related to RabbitMQ11:34
sergmelikyanHere https://github.com/stackforge/murano/blob/master/etc/murano/murano.conf.sample#L443 you can specify address of RabbitMQ used by OpenStack deployment11:35
sergmelikyanI don't know yet why (this is definitely  a bug) but murano.conf.sample is missing one important section - configuration of oslo.messaging11:36
sergmelikyanYou can just copy-paste this setting from any OpenStack service in your OpenStack deployment. For example from nova.conf11:36
sergmelikyanDaveJ__, I am talking about this section https://github.com/openstack/heat/blob/master/etc/heat/heat.conf.sample#L148-33911:38
DaveJ__sergmelikyan: So can I just take that section from my heat config ?11:39
sergmelikyanBut I am almost sure that configuring that this options will be enough https://github.com/openstack/heat/blob/master/etc/heat/heat.conf.sample#L224-24611:39
sergmelikyanDaveJ__, sure11:39
DaveJ__does it require a header i.e. [oslo.messaging] ?11:40
sergmelikyanNope, all commented out lines may be omitted11:40
sergmelikyanthis options are defined in [DEFAULT] section11:41
sergmelikyanUnfortunately we don't have similar instructions for installing murano-dashboard yet :( I will describe  you to how to do it step by step once we will finish with api&engine :)11:44
sergmelikyanI hope we will finish updating our documentation before end of J3 :( Too many open bugs for documentation11:46
DaveJ__Ok I think I have all of that running11:46
sergmelikyanDaveJ__, cool!11:46
DaveJ__That would be great - Ideally I would have used fuel to install it, which I understand sets up Murano, but with our existing environment it wasn't an option11:46
sergmelikyanLet's move to installing dashboard?11:46
DaveJ__sure11:47
sergmelikyanYou are starting with checking out latest sources: git clone https://git.openstack.org/stackforge/murano-dashboard.git11:47
sergmelikyanNext is ./update_setting.sh --output=./muranodashboard/settings.py11:48
DaveJ__yep I've got that down in /opt/git/murano-dashboard11:48
sergmelikyanThis script adds some Murano specific settings to settings.py11:49
DaveJ__ok11:53
DaveJ__yep11:53
DaveJ__ls11:53
sergmelikyanDaveJ__, I am usually using PyCharm for dev environment and never tried to run dashboard using tox.11:53
sergmelikyanSorry for delay, few minutes and I will share what to do next :)11:53
DaveJ__no problem - I appreciate the help11:53
DaveJ__sorry to job back - I was looking at some of my other config.  So for my other servies the Keytsone auth_url is =http://10.20.50.119:35357/v2.011:55
DaveJ__I assume I should use this instead of the "http://127.0.0.1:8082"11:55
sergmelikyanDaveJ__, you mean here https://github.com/stackforge/murano/blob/master/etc/murano/murano.conf.sample#L306 ?11:56
sergmelikyanhttp://127.0.0.1:8082 - this is murano URI11:58
sergmelikyanused when Murano connects to itself to retrieve list of available application packages11:59
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-dashboard: Update Image selection in functional test  https://review.openstack.org/11278511:59
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-dashboard: Fix statuses for environment state  https://review.openstack.org/10480111:59
*** killer_prince has joined #murano12:00
*** killer_prince is now known as lazy_prince12:00
DaveJ__sergmelikyan: Ah I see, sorry I made a mistake earlier - fixed now12:01
sergmelikyanDaveJ__, you need also add http://paste.openstack.org/show/93824/ this section to murano.conf12:01
sergmelikyanLooks like recent patch that regenerate conf.sample is a slightly broken :(12:01
sergmelikyanI have already changed value of auth_url with value that you mentioned above12:02
DaveJ__should the section be [keystone_authtoken] or [keystone]12:04
sergmelikyanThere should be two of them12:06
sergmelikyanFirst one is used by API to authenticate requests to API with Keystone12:06
sergmelikyanSecond one is used by Engine to detect where other OpenStack services are located12:07
DaveJ__ah ok got it12:08
sergmelikyantox -e venv -- python setup.py develop12:08
sergmelikyantox -e venv -- {toxinidir}/manage.py runserver12:08
sergmelikyanAfter that you should be able to login to OpenStack Dashboard at http://127.0.0.1:8000/12:08
DaveJ__yep - looks good, well I go to my horizon url (no 8000)12:10
DaveJ__but I can see it12:11
sergmelikyanSingle difference that you should see is Murano dashboard available at 800012:11
sergmelikyanStyles may be different too since in Juno OpenStack dashboard is slightly changed due to CSS changes and moving to Bootstrap 3.0 (some CSS framework?)12:12
sergmelikyanDaveJ__, do you able to see Murano specific dashboard?12:12
sergmelikyanList environments?12:12
DaveJ__Nope, if I go to that URL I just get some yaml back.  But if I log into horizon I can see12:13
DaveJ__it12:13
DaveJ__oh - I wonder - I did a setup.sh install earlier, that I didn't unintsall12:13
DaveJ__although I can see it in horizon and I can see the tabs12:13
sergmelikyanMmm I am little bit confused, what console output you have got after "tox -e venv -- {toxinidir}/manage.py runserver"?12:14
sergmelikyanAnd may be you should uninstall first12:14
sergmelikyan*maybe12:14
DaveJ__http://picpaste.com/Screenshot_from_2014-08-12_13_13_41-k8044rBk.png12:15
DaveJ__Yes, I can uninstall, atlhough as long as its working I'm happy.12:16
DaveJ__There wasnt any input after the venv installdeps: line, although I'm guessing I already have something listening on 800012:16
DaveJ__Is there a git repo with demo applications and environments ?12:16
sergmelikyan>There wasnt any input after the venv installdeps12:20
sergmelikyanMeans that dependencies installation is still in progress12:20
sergmelikyanYou can also specify on which interface and on which port to listen12:20
sergmelikyantox -e venv -- {toxinidir}/manage.py runserver 809012:21
sergmelikyanrunserver [[address:]port]12:21
sergmelikyanWe have https://github.com/murano-project/murano-app-incubator12:22
sergmelikyanThere you can find different demo applications that you can use for experiments :)12:22
DaveJ__sergmelikyan:  Thanks - I guess I'll setup.sh uninstall, re-run through your steps and then tty it out12:22
sergmelikyanDaveJ__, np :)12:22
DaveJ__but its looking good anyway the api/engine seem to be up and running with no errors in logs12:22
DaveJ__If I can document this, I might publish on the RDO site if there are no objections, as I'm sure others will want to try it out12:23
sergmelikyanDaveJ__, it would be awesome :)12:23
sergmelikyanAny help with documentation is highly appreciated!12:23
sergmelikyanOne last thing, I think we missed one step that is no described in https://murano.readthedocs.org/en/latest/install/manual.html12:25
sergmelikyanYou need to install core library, that contains some built in functionality used by different packages12:26
sergmelikyantox -e venv -- murano-manage --config-file /etc/murano/murano.conf import-package ./meta/io.murano12:27
sergmelikyanShould be executed any time after you finish installation of  api&engine12:28
sergmelikyanThis command imports murano package from command line, same package may be imported through dashboard (you need only compress all files in dir to zip archive)12:28
sergmelikyanTo import demo applications from https://github.com/murano-project/murano-app-incubator you can used same command12:29
sergmelikyanDaveJ__, Maybe you will be interested in https://wiki.openstack.org/wiki/Murano/Screencasts from juno-1 section :)12:34
DaveJ__Thanks will take a look at that12:35
DaveJ__Is there a way to remove packages12:36
DaveJ__I dont see a remove-package/delete-package option12:36
sergmelikyanYou can do this through UI: Murano -> Manage -> Package Definitions12:39
sergmelikyanCLI is used mainly in automation for adding Core Library (one in ./meta/io.murano)12:40
*** lazy_prince is now known as killer_prince12:51
*** k4n0 has quit IRC12:53
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-dashboard: Update Image selection in functional test  https://review.openstack.org/11278513:05
*** sergmelikyan has quit IRC13:11
*** sergmelikyan has joined #murano13:12
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-dashboard: Update Image selection in functional test  https://review.openstack.org/11278513:24
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-dashboard: Fix statuses for environment state  https://review.openstack.org/10480113:45
*** romainh1 has joined #murano13:46
*** romainh has quit IRC13:46
*** romainh1 has left #murano13:48
*** drupalmonkey has joined #murano14:10
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-dashboard: Update Image selection in functional test  https://review.openstack.org/11278514:17
*** Murali_ has joined #murano14:18
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-dashboard: Fix statuses for environment state  https://review.openstack.org/10480114:20
*** sergmelikyan has quit IRC14:40
*** sergmelikyan has joined #murano14:40
*** gokrokve has joined #murano14:50
*** sjmc7 has joined #murano14:50
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-dashboard: Fix statuses for environment state  https://review.openstack.org/10480114:59
openstackgerritSteve McLellan proposed a change to stackforge/murano: Allow murano-agent to be disabled  https://review.openstack.org/10976915:09
sjmc7stanlagun, ruhe, sergmelikyan - can you take a look at https://review.openstack.org/#/c/111443/ when you have a chance please?15:09
stanlagunsjmc7: why did you fixed everything in HeatSWConfigInstance.yaml but nothing in Instance.yaml?15:12
sjmc7that's a good question. one sec15:13
openstackgerritSteve McLellan proposed a change to stackforge/murano: Allow software config at deploy  https://review.openstack.org/11144315:16
stanlagunwhy do you do $.setAttr(deployed, false) ?15:17
sjmc7i think it's worth noting it15:18
sjmc7but if you're really opposed, i can take it out15:18
stanlagunI just don't understand the purpose of this15:18
sjmc7it seems like it's worth having something to check whether deployment has happened already15:19
stanlagunbut you never read it15:19
sjmc7no. ok, i'll take it out15:20
sjmc7incidentally, what happens if deploy() is called twice?15:20
stanlagunthis is need to be tested. But deploy must be ready for that because this will happen if instance is used for several apps15:21
stanlagunhaving attribute is not bad as long as you check its value\15:22
sjmc7yeah. so that might be a reason to note whether it's happened already15:22
sjmc7ok. this maybe should be a separate patch though15:22
stanlagunyes. If you read it :)15:22
stanlagunalso what happen if I want to apply additional config on instance that is already deployed15:23
stanlagun?15:23
sjmc7are all applications deployed sequentially (app1: initialize, app1: deploy, app2: initialize, app2:deploy) ?15:24
sjmc7or app1:intialize, app2:initialize, app1:deploy, app2:deploy ?15:25
stanlagunno. Everything is done in parallel. But for any given method there is a guarantee that it cannot be called simultaneously on the same object. In another words there is a lock on pair (method, object) and deploy of the same instance will be sequential15:26
sjmc7so the intent was that you'd inject the template chunks during initialize. but it sounds like that won't necessarily work15:27
sjmc7since app2 might get to initializing later on15:27
stanlagunyou should not initialize for anything other than runtime property initialization. Initialize is called upon object model load (including garbage collection)15:29
stanlagunAlso there is no need to set attribute to false15:29
stanlagunyou can use $.getAtt(name, defaultValue).15:30
stanlagunAlso remember that attributes are persisted to object model and retain their value across different deployments15:30
sjmc7i have removed the deployed attribute15:31
sjmc7the multiple application thing is likely a problem. it feels like the abstraction isn't quite working in this case15:31
stanlagunI'm sure it can be done properly here but I'm okay to leave it till we actually run into problem with this15:33
stanlagunYou haven't pushed your changes15:33
openstackgerritSteve McLellan proposed a change to stackforge/murano: Allow software config at deploy  https://review.openstack.org/11144315:33
sjmc7i know, i was talking to you :)15:33
stanlagun+215:34
*** romainh has joined #murano15:51
DaveJ__Hi folks:  I'm seeing the warning message 'Murano API location could not be found in Service Catalog' in my murano dashboard log.  I've got url defined in my /etc/murano/murano.conf, should I have defined it somewhree else ?15:55
sjmc7DaveJ__ - if it's not in keystone, you can set MURANO_API_URL in settings.py (or local_settings.py)15:57
DaveJ__sjmc7 - I do have it in keystone - maybe I need to restart the keystone service ?16:04
sjmc7it gets cached when you log in16:04
DaveJ__http://pastebin.com/yRQ9uyVz16:04
sergmelikyanDaveJ__, I think you have a mixed deployment. Instructions that we are trying few hours ago are not supposed to use Keystone16:12
openstackgerritSteve McLellan proposed a change to stackforge/murano-dashboard: Helpers for installing into horizon  https://review.openstack.org/11303116:14
*** masco has quit IRC16:16
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-dashboard: Update Image selection in functional test  https://review.openstack.org/11278516:16
*** lecalcot has joined #murano16:29
*** bharath has joined #murano16:34
*** chandankumar has quit IRC16:36
ruheseems like our agenda for today will be very sparse16:40
sjmc7we could all just tell jokes16:47
ruhe:)16:50
sjmc7ruhe - it looks like kate's fixes to muranoclient did the trick (thanks, kate)16:51
sjmc7can we modify the 0.5.3 release or do we need a new one?16:52
ruhesjmc7: we need a new one. git tags are like words, once you said a word there is no way to return it :)16:54
sjmc7i know, i know16:56
katyaferventI checked create and upload CLI commands and they work fine17:02
openstackgerritA change was merged to stackforge/murano: Allow software config at deploy  https://review.openstack.org/11144317:21
*** Murali_ has quit IRC17:31
*** romainh has left #murano17:38
*** bharath has quit IRC17:39
*** lecalcot has quit IRC17:43
*** Murali_ has joined #murano17:56
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-dashboard: Update Image selection in functional test  https://review.openstack.org/11278518:07
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-dashboard: Fix statuses for environment state  https://review.openstack.org/10480118:07
*** DaveJ__ has quit IRC18:28
*** gokrokve_ has joined #murano18:38
*** gokrokve has quit IRC18:41
*** gokrokve_ has quit IRC18:43
*** gokrokve has joined #murano18:52
*** lecalcot has joined #murano18:52
*** gokrokve has quit IRC19:26
*** gokrokve has joined #murano19:57
*** Murali__ has joined #murano20:22
*** Murali__ has quit IRC20:23
*** Murali__ has joined #murano20:24
*** Murali_ has quit IRC20:25
*** Murali__ has quit IRC20:38
*** Murali has joined #murano20:38
*** Murali has quit IRC21:10
*** Murali_ has joined #murano21:11
*** lecalcot has quit IRC21:20
openstackgerritSteve McLellan proposed a change to stackforge/murano: Add sample logging.conf  https://review.openstack.org/11366221:51
*** drupalmonkey has quit IRC22:35
*** gokrokve_ has joined #murano22:52
*** Murali_ has quit IRC22:53
*** gokrokve has quit IRC22:56
*** drupalmonkey has joined #murano23:03
openstackgerritSteve McLellan proposed a change to stackforge/murano: Reduce number of API requests during deploy  https://review.openstack.org/11367623:10
sjmc7stanlagun - not sure if you're still there, but review 113676 ^^ might address the repeated loading problem. you're in the review name lookup twice, so i can't add you as a reviewer23:13
stanlagunlooks good to me23:16
stanlagunon further improvements23:17
stanlagundon't try to skip requesting inbuilt classes as they may be mixed (Python + YAML)23:18
stanlaguninstead add empty YAML classes for those defined in Python23:18
stanlagunthus they will become cahced once the package is loaded23:18
stanlagun*cached23:18
stanlagunadvice: add murano-core to reviewers list23:20
*** Murali has joined #murano23:42
*** Murali has quit IRC23:47

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!