Thursday, 2014-08-21

*** christop1eraedo is now known as christopheraedo00:18
*** Murali_ has joined #murano00:35
*** asalkeld has quit IRC01:15
*** gokrokve has joined #murano01:30
*** asalkeld has joined #murano01:36
*** gokrokve has quit IRC01:50
*** lazy_prince has quit IRC01:53
*** killer_prince has joined #murano01:55
*** killer_prince is now known as lazy_prince01:55
*** christopheraedo has quit IRC02:03
*** christopheraedo has joined #murano02:04
*** gokrokve has joined #murano02:06
*** lazy_prince has quit IRC02:15
*** killer_prince has joined #murano02:16
*** killer_prince is now known as lazy_prince02:16
*** chandankumar has joined #murano03:27
*** chandankumar has quit IRC03:44
*** gokrokve has quit IRC03:51
*** gokrokve has joined #murano04:36
*** VijayJ has joined #murano04:42
*** Murali_ has quit IRC05:21
*** chandankumar has joined #murano05:25
*** killer_prince has joined #murano05:45
*** killer_prince has quit IRC05:46
VijayJHi Team05:52
VijayJi want to replace "repoze.lru>=0.3" with "repoze.lru==0.3". How can i do this?05:54
VijayJthis is because PIP is not able to download and install "repoze.lru>=0.3"05:54
VijayJhow it is able to download and install "repoze.lru==0.3"05:55
VijayJbut it is able to download and install "repoze.lru==0.3"05:55
VijayJi need to do this in order to complete the execution of command "tox -e venv -- murano-db-manage --config-file /etc/murano/murano.conf upgrade"05:56
VijayJany idea..how i can get around this problem?05:58
*** asalkeld has quit IRC06:03
*** gokrokve_ has joined #murano06:05
*** gokrokve has quit IRC06:08
*** gokrokve_ has quit IRC06:09
*** asalkeld has joined #murano06:13
*** k4n0 has joined #murano06:25
VijayJtox -e venv -- murano-db-manage --config-file /etc/murano/murano.conf upgrade06:29
VijayJi want to replace "repoze.lru>=0.3" with "repoze.lru==0.3". How can i do this?06:29
VijayJi need to do this in order to complete the execution of command "tox -e venv -- murano-db-manage --config-file /etc/murano/murano.conf upgrade"06:30
VijayJthis is because PIP is not able to download and install "repoze.lru>=0.3"06:30
VijayJhowever PIP is able to download and install "repoze.lru==0.3"06:31
asalkeldVijayJ, can't you edit requirements.txt?06:46
katyaferventHi06:47
katyaferventtry to execute06:48
katyaferventtox -e venv pip install repoze.lru==0.306:49
katyaferventand could you print the error you've got?06:54
katyaferventdid you try to update pip inself?06:54
katyafervent*itself06:54
*** vijayagurug1 has joined #murano06:55
*** romainh has joined #murano07:13
*** stan_lagun has joined #murano08:11
*** slagun has quit IRC08:14
VijayJsure08:37
VijayJi haven't updated pip08:38
VijayJalso the entry "repoze.lru>=0.3" is not present in requirements.txt08:39
VijayJwe have "Routes>=1.12.3" in requirements08:39
VijayJi guess Routes is dependent on repoze.lru08:40
openstackgerritSerg Melikyan proposed a change to stackforge/murano: Don't hide exception messages during package load  https://review.openstack.org/11012508:41
VijayJi am still getting the same error08:43
VijayJplease check the log in http://paste.openstack.org/show/98089/08:43
VijayJmy PIP installation is already up-to-date08:49
ruheVijayJ: none of us had this issue, also Jenkins is using the same requirements and we haven't seen similar issues recently. It seems like a network connectivity issue on your side. But anyway, if you need to modify requirements you can just modify requirements.txt09:34
ruheor09:34
ruhesource .tox/venv/bin/activate09:34
ruhepip install SOME_REQUIREMENT_YOU_NEED_TO_INSTALL09:35
ruhedeactive09:35
ruhe*deactivate09:35
ruhekatyafervent: your patch couln't be merged https://review.openstack.org/#/c/114989/ please take a look09:42
katyaferventruhe, thanks, I'm looking09:42
*** vijayagurug1 has quit IRC09:44
*** vijayagurug has joined #murano09:45
openstackgerritA change was merged to stackforge/murano: Application base class didn't define deploy method  https://review.openstack.org/11566909:50
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano: Migrate to oslo.db  https://review.openstack.org/11496409:57
katyaferventI have also problems with pip (09:58
ruhekatyafervent: i've just run py26 and py27 on a fresh git clone10:02
*** lazy_prince is now known as killer_prince10:48
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-dashboard: Fix unit tests  https://review.openstack.org/11593410:53
*** killer_prince is now known as lazy_prince10:53
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-agent: Add sample config and it's checker  https://review.openstack.org/11569510:56
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-agent: Add sample config and it's checker  https://review.openstack.org/11569511:06
openstackgerritA change was merged to stackforge/murano: Fix pep H101(TODO) and H231(py3 exceptions)  https://review.openstack.org/11552211:32
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-agent: Add sample config and it's checker  https://review.openstack.org/11569511:35
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-dashboard: Fix failed tests  https://review.openstack.org/11593411:41
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano: Migrate to oslo.db  https://review.openstack.org/11496411:55
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-dashboard: Fix and improve application page  https://review.openstack.org/11498912:24
openstackgerritEkaterina Chernova proposed a change to stackforge/murano-dashboard: Fix and improve application page  https://review.openstack.org/11498912:25
*** VijayJ has quit IRC12:27
*** asalkeld has quit IRC12:47
*** asalkeld has joined #murano13:02
*** openstackgerrit has quit IRC13:21
*** lazy_prince is now known as killer_prince13:38
*** Murali has joined #murano13:38
*** asalkeld has quit IRC13:42
*** Murali has quit IRC13:53
*** k4n0 has quit IRC13:55
*** openstackgerrit has joined #murano13:58
*** gokrokve has joined #murano14:01
*** drupalmonkey has joined #murano14:21
*** sjmc7 has joined #murano14:26
*** Murali_ has joined #murano14:32
*** romainh has left #murano14:56
*** gokrokve_ has joined #murano15:01
*** gokrokve_ has quit IRC15:04
*** gokrokve has quit IRC15:05
*** gokrokve_ has joined #murano15:05
*** vijayagurug has left #murano15:11
*** gokrokve_ has quit IRC15:27
*** gokrokve has joined #murano15:27
btullykatyafervent: hi are you there?15:29
openstackgerritSteve McLellan proposed a change to stackforge/murano: Fix agent.prepare() when agents disabled  https://review.openstack.org/11601315:31
*** gokrokve has quit IRC15:32
sjmc7gokrokve, ruhe, sergmelikyan - can you take a look at https://review.openstack.org/116013 please? it was a breaking change for us and i'm trying to hit a code freeze tomorrow15:32
ruhesjmc7: sure15:34
sjmc7thanks15:35
*** chandankumar has quit IRC15:36
ruhesjmc7: waiting for jenkins to pass to approve15:40
sjmc7ok. as long as i can get it approved today i'm good. otherwise i'll apply it locally15:40
Murali_is there any wiki document available to understand more about Murano Services Broker API15:52
ruheMurali_: this one http://murano.readthedocs.org/en/latest/specification/index.html ?16:03
btully@stan_lagun are you around?16:05
*** bharath has joined #murano16:05
Murali_thanks ruhe16:05
stan_lagunbtully: hi16:06
btullyhi there. just noticed something strange with the new support of environments being deleted with delete failure16:06
stan_lagunwhat exactly?16:07
btullyit seems that when you click "delete environment" there is a callback that automatically shows the little green notification popup saying that the environment has been deleted successfully16:07
btullyit disappears after a couple of seconds. then in the status area of the table I get "Delete FAILED"16:08
btullyseems like we should suppress that green notification popup saying it was successful or at least have it wait until the env deletion is actually successful16:11
stan_lagunI have no explanation of that. When I was developing that I never saw it happened. But that was some time ago and additional changes were made by sergmelikyan + there were changes in dashboard/Horizon so anything can happen. Probably need to fill a bug for that. You can debug it if you want or to leave it for someone else16:12
btullyok, thanks16:12
stan_lagunit should not fail in the first place16:12
btullyhehe of course16:12
stan_lagunplease attach API and engine logs to the bug16:13
stan_lagunI mean to the ticket :)16:14
btullyk16:14
*** gokrokve has joined #murano16:26
btullysergmelikyan: do you have any quick insight into the following error when trying to delete an environment?16:59
btully2014-08-21 12:54:02.472 54539 DEBUG heatclient.common.http [-]17:00
btullyHTTP/1.1 200 OK17:00
btullydate: Thu, 21 Aug 2014 16:54:02 GMT17:00
btullycontent-length: 211117:00
btullycontent-type: application/json; charset=UTF-817:00
btullyx-openstack-request-id: req-64673878-afb0-4a8f-a401-ab31c180500c17:00
btully2014-08-21 12:54:02.561 54539 TRACE murano.common.engine MuranoPlException: [jsonpatch.JsonPatchConflict]: u'linux-instance'17:00
*** chandankumar has joined #murano17:35
*** chandankumar has quit IRC17:37
openstackgerritSteve McLellan proposed a change to stackforge/murano: Fix agent.prepare() when agents disabled  https://review.openstack.org/11601318:01
btullysergmelikyan: stan_lagun re the latest changes for environment deletion and delete failures18:02
btullyit seems as though if a stack is manually deleted before the environment is deleted, then the environment cannot be deleted18:03
btullyMuranoPlException: [heatclient.exc.HTTPNotFound]: ERROR: The Stack (murano-wiaothz49kuae2) could not be found.18:03
stan_lagunbtully: that is correct behavior18:03
btullyso you can never delete the environment?18:04
stan_lagundon't delete stacks manually :)18:04
btullyhaha18:05
stan_lagunI've seen many times Heat to refusing to delete its stacks18:05
btullyso should we remove the ability to manually delete stacks from the UI?18:05
btullyas well as from the client?18:05
stan_lagunwe don't manage Heat stacks from UI. That is Heat's UI18:06
btullyahh right, that's from horizon18:06
stan_lagunThat is the reason I think we need a standalone UI - we are working on higher level of abstraction and it is wrong for users to have direct access to Heat stack18:07
btullyso if an environment is based on stack, and the stack no longer exists, shouldn't we be able to delete the environment or update/validate it through the UI rather than having it sit there for eternity? :)18:07
stan_lagunIn theory environment can use more than one stack and also depend on external resources that are not managed by HEat18:08
btullyk18:09
stan_lagunHOT packages generate separate stacks fro each app in environment18:09
btullybut if the delete action is to delete a stack, and the stack is already deleted, shouldn't it just step over rather than raising an exception and failing?18:09
stan_lagundelete action is not only to delete a stack though I agree in this particular case this particular status can be ignored. But during normal stack deletion Murano will try to uninstall individual applications from VMs that are no longer exist and that will cause errors as well. In general the fact that Heat stack suddenly disappeared indicates an error as it wasn't expected18:13
btullyif my wife tells me to take out all the trash, and I go to the garage and don't see the recycling bin, do I stop and come back in the house or do I take out all of the other trash bins? ;)18:13
btullyk18:14
stan_lagunIf someone has stolen your recycling bins would you be silently ignoring that?18:14
btullyno i would definitely tell my wife about it, AFTER I TAKE OUT ALL THE OTHER GARBAGE ;)18:15
btullyhehe18:15
stan_lagunwell I don't say we have no space for improvements here :)18:16
btullyno, i understand it's tricky18:16
Murali_if i delete environment i see following error...   https://gist.github.com/anonymous/a307fde412bcc625cb2618:24
Murali_i deleted stack under orchestration  first and then  dit delete environment18:24
Murali_did*18:24
Murali_i guess even though stack was not found... we should be able to delete the environment18:25
stan_lagunMurali_: we just discussed it with btully18:27
Murali_oh  ok18:27
btullyCan we get this merged please? https://review.openstack.org/#/c/113417/18:27
Murali_can i report a bug if not created one already ?18:28
btullyyes, please Murali_18:28
Murali_ok18:28
stan_lagunMurali_: this is not a bug. At least for now18:29
stan_lagunYou shouldn't delete Heat stacks manually18:30
Murali_yes i understand... but still.. if there is no stack we should be able to delete18:32
*** pitchiah has joined #murano18:32
*** bharath has quit IRC18:33
Murali_because user can always delete the stack from Heat Delete stack or Delete environment18:33
stan_lagunIf you want to delete stack that is not exist this clearly indicates an error. The same as in Linux if you type "rm fileThatIsNotExist" you will get error message and non-zero exit code18:35
stan_lagunThe same for Heat developers - they could return success on attempts do delete nonexistent stack18:37
Murali_i agree... but in future it has to be fixed somehow18:38
stan_lagunagree18:38
sjmc7it means the environment will sit around forever at the moment18:38
Murali_yes...18:38
stan_lagunsjmc7: yes. The same problem with Heat. Heat also refuses to delete stack sometimes18:39
sjmc7yeah, but you can always delete resources manually and eventually get rid of it18:40
sjmc7we have no way to remove an environment at all if it fails18:40
sjmc7to my mind, if i try to delete an environment and a resource it owns is already gone, that shouldn't be an error18:41
stan_lagunWhat is the difference? You can remove the cause why it fails18:41
stan_lagunI can agree on logging a warning message and not raising error in this case18:42
stan_lagunBu deleting generated stacks manually is very wrong. And I'm afraid this can lead to a bad habits18:42
stan_lagunor masked uncaught errors18:43
Murali_then i guess... we should not allow deleting stack manually  else we need to have workflow inplace saying first delete environment18:44
Murali_its tricky ...but eventually need to be fixed18:44
stan_lagunHorizon is a UI for low-level access to the cloud. It is best suits administrators/operatos needs rather than users. Murano works on a higher level of abstraction. We cannot remove direct access to VMs/stacks etc from Horizon. Thats why I believe we will need to move Murano to a standalone UI some day18:47
Murali_:(18:47
sjmc7i think that's what RBAC is for18:48
sjmc7but that's a future discussion18:48
Murali_let me know if you want me to report bug... for tracking .. else i m fine18:49
stan_lagunimagine what will happen if user delete *some* of stack resources or midify something bypassing Murano. That would bring the entire environment into unpredictable state that we will have to deal with18:49
sjmc7yes. heat has the same problem18:49
stan_lagunMaybe it would be possible to hide generated resources some day18:50
stan_lagunMurali_: please report with a low priority18:51
Murali_okey18:51
Murali_https://bugs.launchpad.net/murano/+bug/135991819:01
*** pitchiah has quit IRC19:06
*** vijayagurug has joined #murano19:28
Murali_i see this issue while deploying  HOT application package --- > MuranoPlException: [exceptions.ValueError]: Circular reference detected20:16
Murali_https://gist.github.com/anonymous/312b178953a0bf56317520:17
stan_lagunlooks like there are circular references in HOT template :)20:19
openstackgerritA change was merged to stackforge/murano: Fix agent.prepare() when agents disabled  https://review.openstack.org/11601320:21
Murali_ok... but if i launch hot yaml via launch stack ...it was successful20:21
Murali_but if i convert into murano app and deploy .. then i m seeing that issue20:21
Murali_it is smiple working hot yaml file20:22
stan_lagunhow do you convert it?20:22
Murali_i followed this  steps http://murano-api.readthedocs.org/en/latest/articles/heat_support.html20:23
Murali_5 step process20:23
stan_lagunwell I guess you should create bug ticket and attach engine's log file and source HOT template to it20:25
stan_lagunthis looks strane as Murano sends HOT as is without modifications20:26
stan_lagun*strange20:26
Murali_ok20:26
Murali_i will try another one .. with simple single instance hot template.. if i see same issue again i will report bug20:27
Murali_yes i see same issue with simple  single instance hot template tooo20:39
*** romainh has joined #murano20:47
*** romainh has left #murano20:47
Murali_added a bug  https://bugs.launchpad.net/murano/+bug/135996720:57
*** gokrokve has quit IRC20:57
*** gokrokve has joined #murano21:28
sjmc7sergmelikyan - you there?21:42
*** asalkeld has joined #murano21:48
*** gokrokve_ has joined #murano22:12
*** gokrokve has quit IRC22:15
*** Murali_ has quit IRC22:30
*** Murali has joined #murano23:22
*** gokrokve has joined #murano23:53
*** gokrokve_ has quit IRC23:53
*** gokrokve has quit IRC23:58

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