Thursday, 2014-06-26

*** ankurrr has joined #murano00:30
openstackgerritAnkur Rishi proposed a change to stackforge/murano: Add optional fields to packages for supplier info  https://review.openstack.org/9946500:31
*** gokrokve has quit IRC01:14
*** gokrokve has joined #murano01:14
*** gokrokve has quit IRC01:19
openstackgerritAnkur Rishi proposed a change to stackforge/murano: Add optional fields to packages for supplier info  https://review.openstack.org/9946501:29
openstackgerritAnkur Rishi proposed a change to stackforge/murano: Add optional fields to packages for supplier info  https://review.openstack.org/9946501:34
ankurrrruhe: I had a question about testing migrations: I tried adding a "_check_002" function similar to the "_check_001" function you added in the alembic commit, but I noticed that in running the tests via tox, the neither function gets called.  Is there a specific command that needs to be run in order to run those tests?01:58
*** ankurrr has quit IRC01:58
*** sjmc7 has quit IRC02:05
*** gokrokve has joined #murano02:20
*** gokrokve has quit IRC02:24
*** killer_prince has quit IRC02:44
*** gokrokve has joined #murano02:44
*** killer_prince has joined #murano02:52
*** killer_prince is now known as lazy_prince02:52
*** gokrokve_ has joined #murano03:44
*** gokrokve has quit IRC03:48
*** lazy_prince is now known as killer_prince03:49
*** killer_prince is now known as lazy_prince04:08
*** gokrokve_ has quit IRC04:11
*** gokrokve has joined #murano04:11
*** gokrokve has quit IRC04:16
*** lazy_prince has quit IRC04:31
*** gokrokve has joined #murano04:43
*** lazy_prince has joined #murano04:57
*** killer_prince has joined #murano05:27
*** drupalmonkey has joined #murano05:32
*** drupalmonkey has quit IRC05:44
*** lazy_prince has quit IRC06:17
*** killer_prince is now known as lazy_prince06:17
*** lazy_prince has quit IRC06:19
*** lazy_prince has joined #murano06:26
*** chandan_kumar has joined #murano06:47
*** openstackgerrit has quit IRC07:07
*** stan_lagun has joined #murano08:11
*** slagun has quit IRC08:14
*** chandan_kumar is now known as chkumar24610:51
*** chkumar246 is now known as chandan_kumar10:53
*** chandan_kumar has quit IRC10:54
*** chandan_kumar has joined #murano10:54
*** sergmelikyan has quit IRC11:14
*** asalkeld has quit IRC11:15
*** sergmelikyan has joined #murano11:23
*** sergmelikyan has quit IRC11:23
*** lazy_prince has quit IRC11:37
*** lazy_prince has joined #murano11:47
*** sergmelikyan has joined #murano11:55
*** openstackgerrit has joined #murano12:26
openstackgerritSerg Melikyan proposed a change to stackforge/murano: Delete Heat stack when environment is deleted  https://review.openstack.org/10281012:31
*** gokrokve_ has joined #murano12:50
*** gokrokve_ has quit IRC12:50
*** gokrokve_ has joined #murano12:51
*** gokrokv__ has joined #murano12:52
*** gokrokve has quit IRC12:53
*** gokrokve_ has quit IRC12:55
*** drupalmonkey has joined #murano12:57
*** lazy_prince has quit IRC13:18
openstackgerritSerg Melikyan proposed a change to stackforge/murano: Delete Heat stack when environment is deleted  https://review.openstack.org/10281013:21
ruhekatyafervent: hi! what's the status of https://review.openstack.org/#/c/98770/ ?13:38
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-dashboard: Introduces script for updating horizon config  https://review.openstack.org/10157814:05
*** sjmc7 has joined #murano14:06
katyaferventI'm planning to create blueprint according to the comments on this review14:11
katyaferventand start to implement it soon14:11
katyaferventruhe, is new blueprint needed, right?14:11
ruhekatyafervent: new blueprint would be really nice. will you abandon this patch?14:12
katyaferventi can keep change id14:12
katyaferventbut actually it can be abandoned14:12
sergmelikyantox -e venv -- murano-db-manage --config-file=./etc/murano/murano.conf upgrade14:20
sergmelikyanERROR: InvocationError: could not find executable 'murano-db-manage'14:20
sergmelikyanruhe?14:20
ruhesergmelikyan: let me check one more time14:22
sjmc7segmelikyan - run python setup.py develop14:23
sjmc7to install murano-db-manage in venv/bin14:23
ruhesergmelikyan: you probably need to kill .tox/venv14:23
ruheor what sjmc7 said14:23
sergmelikyansjmc7, ruhe thx!14:25
sergmelikyansjmc7, no luck with you solution14:25
ruheand i also need to reply to ankurrr about writing new tests for DB migrations. that's another tricky part i didn't document in commit message and docs14:26
sjmc7yeah, thanks ruhe - my team are very new to python and unit testing, and any help appreciated14:26
sergmelikyanruhe, I cloned clean repo, so no .tox was present before :(14:27
ruhesergmelikyan: ok. i'll check on a clean clone too14:30
sergmelikyanruhe, I am trying one more time with removed .venv14:31
* sergmelikyan does know that one should not affect another... but...14:32
sergmelikyanruhe, same thing14:33
openstackgerritAnastasia Kuznetsova proposed a change to stackforge/murano: Add articles about Automated Tests  https://review.openstack.org/10250014:35
ruhesergmelikyan: did a clean clone, ran the same command you posted and got "congratulations :)" from tox14:37
ruhebut response "it works on my machine, go away" is not appropriate. so, let's continue debugging :)14:37
ruhecan you try "find . -name murano-db-manage" >14:39
ruhes/>/?14:39
sergmelikyannothing14:39
sergmelikyanruhe, I am stupid :(14:40
sergmelikyanruhe, sorry14:40
ruhesergmelikyan: did you find the source of your problem?14:42
sergmelikyanruhe, yes, commit with Alembic was not in source-tree of working directory14:43
sergmelikyanI was working on old commit that was not rebased on top of master with alembic14:43
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-dashboard: Introduces script for updating horizon config  https://review.openstack.org/10157814:44
sergmelikyanbtw, alembic add system-wide dependency - libpq-dev14:46
*** killer_prince has joined #murano14:46
sjmc7yeah, i noticed that sergmelikyan14:46
sergmelikyanpostgresql-devel in CentOs14:46
*** killer_prince is now known as lazy_prince14:46
katyaferventhttps://blueprints.launchpad.net/murano/+spec/divide-upload-package-into-two-steps need approve14:51
ruhekatyafervent: first step is to discuss with key people :)14:51
ruhesjmc7: sergmelikyan: Ankur filed a bug about this https://bugs.launchpad.net/murano/+bug/133398514:52
sjmc7ah, good man14:52
katyaferventlet me copy everything fron the review14:52
katyafervent*from14:52
ruhesjmc7: sergmelikyan: my suggestion is to document these requirements in developer docs14:52
ruhei should've document those requirements in commit message, but i had them installed long time ago14:55
sergmelikyanruhe, we have list of system-wide requirements - http://murano.readthedocs.org/en/latest/install/prepare.html#system-prerequisites14:56
sergmelikyanWe can just add this one to the list14:56
ruhesergmelikyan: those requirements are for prod installation14:56
sergmelikyanWhy then there are in dev docs?14:57
ruhesergmelikyan: it's ok to keep installation guide in the dev docs for now. we can always move them to admin guide14:57
sergmelikyanAnd actually what the difference between prod/dev in terms of system-wide dependencies?14:57
ruheyou don't need to have both libmysqlclient and libpq-dev in prod. you'll need only one of them. but for testing you need both of them14:58
sergmelikyanI will think where to add new article with list of system-wide dependencies and we can reference them from prod/dev guides. What do you think?14:58
ruhei'd prefer to keep them right in the corresponding guide14:59
sergmelikyanOk, but I am not sure that section I have referenced is only production installation guide15:00
ruhesjmc7: just in case i don't catch Ankur here, please pass him this link http://paste.openstack.org/show/85000/ i tried to explain how to run DB migration tests locally. i'll try to update dev docs later15:00
sergmelikyanthere is a section called Installing and Running the Development Version in there15:00
sjmc7k15:00
katyaferventlet's discuss https://blueprints.launchpad.net/murano/+spec/divide-upload-package-into-two-steps15:01
katyaferventand approve it :)15:01
sergmelikyan:))))15:01
ruhekatyafervent: you need tsufiev and btully to discuss this BP. don't you?15:04
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Introduces script for updating horizon config  https://review.openstack.org/10157815:06
katyaferventruhe, we already did15:09
katyaferventand Brian's opinion is the same as ours15:10
katyaferventdo you know which script manages running py27 on murano-dashboard?15:11
sergmelikyankatyafervent, I agree with btully15:11
katyaferventand why I have different result from local run and from jenkins15:11
ruhekatyafervent: ok. can you give more details (in BP specification) about what projects will be affected (client, dashboard, api, docs)?15:11
*** gokrokv__ has quit IRC15:11
ruhekatyafervent: which command?15:12
sergmelikyankatyafervent, https://github.com/stackforge/murano-dashboard/blob/master/tox.ini#L615:12
*** gokrokve has joined #murano15:12
ruhekatyafervent: what's the difference between local and jenkins reports?15:13
katyaferventruhe, done. only murano-dashboard will be changed. BTW do we have separate place where this information should be added?15:13
ruhekatyafervent: you can just add that information to the blueprint text15:13
katyaferventtox -epy27 succeed locally and failed here http://logs.openstack.org/78/101578/8/check/gate-murano-dashboard-python27/9c7a16d/console.html15:14
katyaferventthis is something wrong with environment15:14
katyaferventI guess run_tests.sh is not used right?15:14
sjmc7katyafervent - no15:17
sjmc7oh.. for dashboard?15:18
sjmc7is there an error in the file/15:19
katyaferventyes, dashboard15:19
katyaferventno, it's something with django environment or imports15:20
katyafervent/usr/local/jenkins/slave_scripts/run-unittests.sh thats from log. where i can find run-unittests.sh ?15:22
ruheinfra uses "tox -e py26" and "tox -e py27" to run unit tests15:22
katyaferventsame result15:23
katyaferventbtw, how murano-dashboard is getting installed (before running unit tests?)15:25
ruhekatyafervent: i have the same error message when i run unit tests with your patch locally15:25
ruhekatyafervent: yes, everything is installed before running the testts15:25
openstackgerritIgor Yozhikov proposed a change to stackforge/murano-deployment: Refactored RabbitMQ.py and scripts  https://review.openstack.org/10251315:34
katyaferventreproduced15:36
katyaferventwhy  http://tarballs.openstack.org/horizon/horizon-stable-icehouse.tar.gz15:36
katyaferventnever mind15:36
tsufievruhe, I agree with https://blueprints.launchpad.net/murano/+spec/divide-upload-package-into-two-steps15:37
tsufievthough I think that katyafervent could elaborate it a bit15:37
*** lazy_prince has quit IRC15:38
ruhekatyafervent: can you speak with tsufiev and discuss where your BP should be elaborated?15:38
tsufievbecause some time ago we spoke that blueprints should allow less freedom in how they are implemented15:38
*** killer_prince has joined #murano15:39
*** killer_prince is now known as lazy_prince15:39
openstackgerritIgor Yozhikov proposed a change to stackforge/murano-deployment: Refactored RabbitMQ.py and scripts  https://review.openstack.org/10251315:39
tsufievruhe, i'll change bp's summary a bit15:41
*** btully has joined #murano15:42
katyaferventruhe, ok15:43
tsufievruhe, katyafervent: i've edited summary for https://blueprints.launchpad.net/murano/+spec/divide-upload-package-into-two-steps Now it clearly defines the implementation15:50
tsufievkatyafervent, i've solved the mysterious case of tox refusal15:59
tsufievkatyafervent, muranodashboard.test.settings references muranodashboard.settings which was deleted in that commit. But ImportError for muranodashboard.settings is hidden with ImportError for muranodashboardj.test.settings16:00
tsufievneed to remember that if python fails to import some module deep below, you'll see only the ImportError for the topmost module in the chain16:01
tsufievso, you need first to generate muranodashboard.setting for tox to succeed16:01
tsufiev*muranodashboard.settings16:01
*** chandan_kumar has quit IRC16:02
tsufievI suspect that it still exists on your local machine and absent in git - so you didn't reproduce that error16:02
sjmc7ruhe - if someone else makes edits to a change under review, the original author can just fetch it from the url in gerrit, right?16:11
ruhesjmc7: correct16:11
sjmc7gonna help ankur out, but don't want to cause him a git mess to untangle16:11
openstackgerritSteve McLellan proposed a change to stackforge/murano: Add optional fields to packages for supplier info  https://review.openstack.org/9946516:14
sjmc7is ekaterina chernova online?16:15
ruhesjmc7: that's katyafervent16:17
ruheekaterina = katya in russian :)16:17
igormarnatsjmc7, I think she went home for now16:18
sjmc7yeah.. the last name confused me. in that case, katyafervent - can you take a look at the comment and changes i just made to on https://review.openstack.org/#/c/99465/ ?16:18
igormarnat=kate16:18
sjmc7sergmelikyan - for your stack deletion change16:21
sjmc7i was going to do the same thing but stan suggested that wasn't the right fix16:21
sjmc7your way seems more natural than relying on a re-deploy16:21
sjmc7but i still think deletion has to happen in the same model as creation - schedule the job, monitor til it's finished16:23
openstackgerritIgor Yozhikov proposed a change to stackforge/murano-deployment: Refactored RabbitMQ.py and scripts  https://review.openstack.org/10251316:32
*** gokrokve has quit IRC16:38
*** gokrokve has joined #murano16:38
*** gokrokve has quit IRC16:42
sjmc7katyafervent & ruhe - for https://review.openstack.org/#/c/99177/, maybe also take a look at the latest changeset for https://review.openstack.org/#/c/99465/17:07
sjmc7i added tests/fake_v1_package which generates a package in memory; it might be possible to do something similar for that client change17:08
ruhesjmc7: that's a good idea17:08
sjmc7but i agree with ruslan, test fixtures should be as minimal as possible to test whatever they're testing17:09
sjmc7in this case it maybe does make sense to have real files since that's what's under test17:09
*** chandan_kumar has joined #murano17:41
openstackgerritIgor Yozhikov proposed a change to stackforge/murano-deployment: Refactored RabbitMQ.py and scripts  https://review.openstack.org/10251318:05
*** tbh has joined #murano18:06
tbhI am new to murano. I have installed murano using devstack. While deploying an environment, I got an error in murano-engine as "NoClassFound: io.murano.Environment no class found"18:08
tbhcan anyone help me?18:10
tbhI got same error like this https://bugs.launchpad.net/fuel/+bug/131227218:10
tbhbut I want solution in murano not in fule18:10
tbh*fule18:10
sjmc7tbh - the built in packages are packaged with the source. from the service directory (/opt/stack or wherever) try:18:19
sjmc7python murano/cmd/manage.py import-package meta/io.murano18:19
sjmc7if your config file is not in /etc/murano/murano.conf you'll need to add the --config-file argument to manage.py18:19
*** openstackgerrit has quit IRC18:20
tbhsjmc7: you mean "python murano/cmd/manage.py import-package meta/io.murano" ?18:21
sjmc7yep18:22
ruhethis code should've trigger the initial import http://git.openstack.org/cgit/stackforge/murano/tree/contrib/devstack/lib/murano#n17518:23
ruhei wonder why it didn't18:23
sjmc7did you install with devstack, tbh?18:24
tbhsjmc7: yes18:25
sjmc7hmm18:25
sjmc7it may be an error in your application file18:25
sjmc7we're currently working on making error reporting better18:26
sjmc7can you put any class definitions in pastebin or somewhere?18:26
tbhsjmc7: actually I followed the instructions given here https://github.com/stackforge/murano/tree/master/contrib/devstack18:27
tbhcurrently I dont have error report now18:28
tbhsjmc7:  application file?18:28
sjmc7what operation is generating the error?18:28
tbhsjmc7: when I am deploying an environment18:30
sjmc7with any components in it?18:30
tbhsjmc7: telent18:32
tbhand tomcat also18:32
tbhsjmc7: from https://github.com/murano-project/murano-app-incubator18:32
sjmc7are you able to log in as an administrator to the console?18:33
tbhsjmc7: you mean using python-muranoclient?18:34
sjmc7horizon18:34
sjmc7or with python-muranoclient18:34
sjmc7there's a command package-list in python-muranoclient that will list installed packages18:35
tbhsjmc7:yeah but it doesn't show anything18:35
tbhI tried it before18:35
sjmc7in Horizon, you can see them in murano/manage/package definitions18:35
tbhtheir I can see core-library18:35
iyozhikovI made some changes for dashboard ci tests,  they became green. I mean jenkins job start test after successful deployment of the components.18:36
sjmc7tbh - you don't see the telnet or tomcat packages?18:36
tbhsjmc7: yeah I can see that18:37
tbhsjmc7: I tried to deploy using those applications18:38
sjmc7ruhe - are there any problems you guys know about with those packages at the moment?18:38
*** openstackgerrit has joined #murano18:39
ruhesergey murashov uses those apps for murano-ci tests. and deployment of these apps works in murano-ci (on ubuntu slaves)18:39
ruhetbh: can you post murano logs somewhere?18:40
iyozhikovtbh, have you prepare linux image with murano-agent?18:40
ruhetbh: paste.openstack.org for instance18:40
tbhsjmc7:  can we have documentation of murano like how it works behind rhe scenes?18:40
sjmc7tbh - yes, we need more documentation18:41
tbhruhe: sry I dont have it now18:41
tbhiyozhikov: yeah I installed linux with murano-agent18:41
*** openstackstatus has joined #murano18:41
*** ChanServ sets mode: +v openstackstatus18:41
sjmc7and it is being worked on18:41
tbhI mean in guest vn18:41
tbhsjmc7: oh okay18:41
iyozhikovtbh, i believe you made it using - http://murano.readthedocs.org/en/latest/image_builders/linux.html#guest-vm-linux-os-preparation18:44
*** drupalmonkey has quit IRC18:46
*** rakhmerov has quit IRC18:46
*** chandan_kumar has quit IRC18:46
*** btully has quit IRC18:46
*** sjmc7 has quit IRC18:46
*** sergmelikyan has quit IRC18:46
*** tnurlygayanov has quit IRC18:46
*** openstackgerrit has quit IRC18:46
*** smurashov has quit IRC18:46
*** tbh has quit IRC18:46
*** openstackgerrit has joined #murano18:46
*** chandan_kumar has joined #murano18:46
*** btully has joined #murano18:46
*** sjmc7 has joined #murano18:46
*** drupalmonkey has joined #murano18:46
*** sergmelikyan has joined #murano18:46
*** tnurlygayanov has joined #murano18:46
*** rakhmerov has joined #murano18:46
*** smurashov has joined #murano18:46
*** peoplemerge has quit IRC18:48
*** peoplemerge has joined #murano18:48
*** openstackgerrit has quit IRC18:51
*** openstackgerrit has joined #murano18:52
*** drupalmonkey has quit IRC18:56
*** rakhmerov has quit IRC18:56
*** drupalmonkey has joined #murano19:19
*** rakhmerov has joined #murano19:19
*** TravT has joined #murano19:47
*** TravT has quit IRC20:12
*** TravT has joined #murano20:13
*** asalkeld has joined #murano20:51
*** drupalmonkey has quit IRC21:07
*** chandan_kumar has quit IRC22:24
openstackgerritSteve McLellan proposed a change to stackforge/python-muranoclient: Allow deletion of multiple environments  https://review.openstack.org/10237422:43
openstackgerritAnkur Rishi proposed a change to stackforge/murano: Add optional fields to packages for supplier info  https://review.openstack.org/9946522:53
*** asalkeld has left #murano23:27

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