Wednesday, 2014-10-01

*** gokrokve has quit IRC00:04
*** gokrokve has joined #murano00:04
*** gokrokve has quit IRC00:09
*** gokrokve has joined #murano01:03
*** gokrokve has quit IRC01:55
*** Kunal has joined #murano03:07
*** gokrokve has joined #murano04:38
*** killer_prince is now known as lazy_prince05:00
*** k4n0 has joined #murano05:47
*** gokrokve_ has joined #murano05:55
*** gokrokve has quit IRC05:58
*** gokrokve_ has quit IRC05:59
*** drupalmonkey has quit IRC06:01
*** gokrokve has joined #murano06:25
*** gokrokve has quit IRC06:26
*** gokrokve has joined #murano06:27
*** gokrokve has quit IRC06:32
zigotsufiev: Using "python-coverage run -p $(CURDIR)/manage.py test muranodashboard --settings=muranodashboard.tests.settings" like tox.ini suggested just works for me. Sorry that it took me so long to realize how to start the unit tests.07:16
zigotsufiev: BTW, murano-dashboard uses an embedded copy of font awesome, instead, it should use the xstatic-font-awesome package. I wanted to file a bug in launchpad, but it doesn't seem there's a project called murano-dashboard there. Where may I file the bug?07:17
*** gokrokve has joined #murano07:28
*** gokrokve has quit IRC07:32
*** gokrokve has joined #murano08:28
*** gokrokve has quit IRC08:33
KunalHi, need one help .08:41
Kunal1. How to add component in env08:41
Kunal2. How to deploy environment08:41
KunalCan somebody please help me .08:42
*** gokrokve has joined #murano09:26
*** gokrokve has quit IRC09:31
KunalThrough API , how add compnent and Deploy environment.10:07
openstackgerritDmitrii Dovbii proposed a change to stackforge/murano-agent: Use oslo.config generator  https://review.openstack.org/12530810:23
openstackgerritDmitrii Dovbii proposed a change to stackforge/murano-agent: Remove generate_samlple.sh tool from the project  https://review.openstack.org/12530910:23
openstackgerritDmitrii Dovbii proposed a change to stackforge/murano-agent: Remove muranoagent.conf.sample  https://review.openstack.org/12531010:23
*** gokrokve has joined #murano10:26
*** gokrokve has quit IRC10:30
smurashovKunal: can i help you?10:39
smurashovKunal: what app do you want to add?10:57
Kunalhi smuashov , i have 1 app, KunalTest,10:58
Kunalsorry @smurashov -> i need to add this app, which is in my local path , to my env KunalENV and have to deploy thi senv10:59
smurashovyou can see examples in https://github.com/stackforge/murano/blob/master/murano/tests/functional/engine/base.py11:06
smurashovKunal: there we add apps and send to deploy via API11:07
KunalThanks smurashov , i will check that .11:10
smurashovKunal: also https://murano.readthedocs.org/en/latest/specification/index.html11:14
*** asalkeld has left #murano11:15
Kunalyes i am looking this page11:16
*** asalkeld has joined #murano11:17
KunalIt tell us about opening session and deploying not about adding components11:17
Kunalmoreover , i am unable to create session , for deploying  env .11:18
KunalI am looking in API format like for environment-list :  curl -i -X GET  -H 'X-Region-Name: regionOne' -H 'X-Auth-Token: $token -H 'Content-type: tion/json' -H 'User-Agent: python-muranoclient' $url/v1/environments11:18
Kunalfor configure curl -i -X GET  -H 'X-Region-Name: regionOne' -H 'X-Auth-Token: $token -H 'Content-type: tion/json' -H 'User-Agent: python-muranoclient' -H 'X-Configuration-Session: 12345' $url/v1/environments/b7ff956ae49f49df82e4e38df1a51088/configure11:19
Kunalbut it gives error , "HTTP/1.1 404 Not Found"11:20
*** gokrokve has joined #murano11:26
*** asalkeld has left #murano11:27
*** lazy_prince is now known as killer_prince11:31
*** gokrokve has quit IRC11:31
smurashovKunal:  need to send post request for creating session11:34
smurashovcontent-type: application/json11:35
smurashovx-configuration-session need specify in headers when session created11:35
KunalOhh right POST and only -H 'X-Configuration-Session or -H 'X-Configuration-Session: 12345'11:44
KunalYes successful , @smurashov11:53
smurashovKunal: :)11:57
*** tnurlygayanov has quit IRC11:57
Kunalstrange results @smurashov12:02
Kunali can create session for env , than manualy add component in it and than tried to deploy through curl command .12:02
KunalWheni run curl command it says 200 , and component also vanish from the ENV, and no deploy12:03
KunalHTTP/1.1 200 OK12:03
smurashovKunal: can you provide commands which you've sended?12:05
Kunalsure12:06
*** isviridov is now known as isviridov_na12:07
Kunal1. manurally create environment12:08
Kunal2. curl -i -X POST  -H 'X-Region-Name: regionOne' -H 'X-Auth-Token: $token' -H 'Content-type: application/json' -H 'User-Agent: python-muranoclient'  -H X-Configuration-Session $url/v1/environments/<envID>/configure12:09
Kunal3. Manually add component in env12:09
Kunal4. curl -i -X POST  -H 'X-Region-Name: regionOne' -H 'X-Auth-Token: $token' -H 'Content-type: application/json' -H 'User-Agent: python-muranoclient'  $url/v1/environments/<envID>/sessions/<SessionID>/deploy12:09
smurashovneed to add component using session-id which you created12:12
Kunalmanully i am doing that12:13
smurashovhow did you add app?12:14
Kunali added manually, though GUI12:14
smurashovUI creates another sesion12:14
Kunali still have to learn doing it through curl command12:14
smurashovand you add app in another session12:14
KunalHmm,  now i realized when u said . Thanks12:15
Kunalcan u guide me , how to add component12:15
smurashovyes, sure12:15
smurashovcan you provide me ui.yaml for your app?12:16
Kunalok12:16
Kunal1 min12:16
Kunalwhat is ui.yaml ? i have simple.yaml under UI directory .12:18
Kunalyou want me to share that file or few config parameter  ?12:19
Kunalthis App, just crates a linux VM and attach floating IP12:19
*** gokrokve has joined #murano12:26
*** gokrokve has quit IRC12:31
smurashovyes yaml file under ui dir12:35
smurashovKunal: ^^12:44
Kunalyes12:44
Kunalu want full file , or any config parameter12:45
Kunalif file than how i can share here ?12:45
smurashovyoun can share 'Application:' section12:45
smurashovin paste.openstack.org for example12:46
smurashovand i create post body for your app12:46
Kunal    type: sjm.murano.Kunal.Simple12:47
Kunal  instance: $instance12:47
Kunal  name: 'Single Linux Node'12:47
smurashovKunal: it's all?12:48
smurashovis it12:48
Kunalyes under Application12:50
Kunaltell me congif value u want12:51
Kunaldo you want instance details ?12:54
Kunal  instance:12:54
Kunal      type: io.murano.resources.LinuxInstance12:55
Kunal    name: "linux-instance"12:55
Kunal    flavor: $.instanceConfiguration.flavor12:55
Kunal    image: $.instanceConfiguration.osImage12:55
Kunal    keyname: $.instanceConfiguration.keyPair12:55
Kunal    assignFloatingIp: $.instanceConfiguration.assignFloatingIP12:55
smurashovApplication:12:55
smurashov   ?:12:55
smurashov     type: sjm.murano.Kunal.Simple12:55
smurashov   name: 'Single Linux None'12:55
smurashovok12:56
smurashovgive me 10 min12:56
Kunal  name: 'Single Linux Node'12:56
KunalThanks @smurashov for giving time12:56
smurashovhttp://paste.openstack.org/show/117457/12:59
smurashovhttp://paste.openstack.org/show/117463/13:00
smurashovKunal: but i could be wrong(13:00
Kunalgot it but how to use that ?13:01
Kunali wil lupdate with correct values13:01
smurashovKunal: send post request with this body and session-id in headers on environments/environment_id/services13:02
zigoI was able to run the unit tests of murano-dashboard in Sid, though in Wheezy, I still have an error: https://juno.dev-debian.pkgs.enovance.com/job/murano-dashboard/7/console13:02
zigoDoes anyone have an idea where that -p option is comming from?13:02
zigoIs there a package which I should backport?13:02
Kunalcurl -i -X POST  -H 'X-Region-Name: regionOne' -H 'X-Auth-Token: $token' -H 'Content-type: application/json' -H 'User-Agent: python-muranoclient'  -H X-Configuration-Session $url/v1/environments/b7ff956ae49f49df82e4e38df1a51088/services -d {           "instance": {                "flavor": flavor_name,                "image": image_name,                "assignFloatingIp": True,                "?": {                    "type": "io.mura13:04
Kunalis this correct13:04
zigotsufiev: ^13:04
Kunalis it correct now , what i understood  :13:08
Kunalcurl -i -X POST  -H 'X-Region-Name: regionOne' -H 'X-Auth-Token: $token' -H 'Content-type: application/json' -H 'User-Agent: python-muranoclient'  -H 'X-Configuration-Session: 4d0c1233cd5047129923d99d906bb630' $url/v1/environments/b7ff956ae49f49df82e4e38df1a51088/services -d {"instance": {"flavor": flavor_name,"image": image_name,"assignFloatingIp": True,"?": {"type": "io.murano.resources.LinuxMuranoInstance","id": str(uuid.uuid4())},13:08
smurashovneed to replace str(uuid.uuid4()) to some id13:08
Kunalyes , i will update values , wher ever neccesary13:09
Kunalthis what u said addding header : -H 'X-Configuration-Session: 4d0c1233cd5047129923d99d906bb630'13:09
smurashovyes, it seems correct13:09
Kunal@smurashov I really wants to thank you from the button of my heart .13:10
smurashovKunal: :)13:12
smurashovKunal: no problem13:12
*** slagun has joined #murano13:20
*** stan_lagun has quit IRC13:23
*** gokrokve has joined #murano13:26
openstackgerritDmitry Teselkin proposed a change to stackforge/murano-deployment: Manage murano development box  https://review.openstack.org/12190613:29
*** gokrokve has quit IRC13:31
*** drupalmonkey has joined #murano13:35
openstackgerritDmitry Teselkin proposed a change to stackforge/murano-deployment: Manage murano development box  https://review.openstack.org/12190613:36
*** drupalmonkey has quit IRC13:36
openstackgerritDmitry Teselkin proposed a change to stackforge/murano-deployment: Manage murano development box  https://review.openstack.org/12190613:42
*** gokrokve_ has joined #murano13:48
*** gokrokve_ has quit IRC14:02
*** gokrokve has joined #murano14:03
*** gokrokve_ has joined #murano14:06
*** gokrokve has quit IRC14:08
openstackgerritDmitry Teselkin proposed a change to stackforge/murano-deployment: Manage murano development box  https://review.openstack.org/12190614:15
*** openstackgerrit has quit IRC14:18
*** openstackgerrit has joined #murano14:18
openstackgerritDmitry Teselkin proposed a change to stackforge/murano-deployment: Manage murano development box  https://review.openstack.org/12190614:37
openstackgerritDmitrii Dovbii proposed a change to stackforge/murano-agent: Remove muranoagent.conf.sample  https://review.openstack.org/12531014:38
openstackgerritDmitrii Dovbii proposed a change to stackforge/murano-agent: Use oslo.config generator  https://review.openstack.org/12530814:38
openstackgerritDmitrii Dovbii proposed a change to stackforge/murano-agent: Remove generate_samlple.sh tool from the project  https://review.openstack.org/12530914:38
*** openstackgerrit has quit IRC14:47
*** openstackgerrit has joined #murano14:48
*** openstackgerrit has quit IRC15:02
*** openstackgerrit has joined #murano15:03
openstackgerritDmitry Teselkin proposed a change to stackforge/murano-deployment: Manage murano development box  https://review.openstack.org/12190615:03
*** isviridov_na is now known as isviridov_meetin15:04
tsufievzigo, well, I have no idea on where does this '-p' appears at all... Is it somewhere inside django?15:23
zigotsufiev: It's looking like it, because after upgrading to Django 1.7 (which I just backported), I have a different error.15:25
zigotsufiev: http://paste.openstack.org/show/117501/15:26
zigoTrying to upgrade django-nose, to see what happens ...15:27
tsufievzigo, :-O15:28
tsufievtsufiev, debian packaging system always scared me15:28
zigotsufiev: It worked with the latest django 1.7 and latest django-nose ! :)15:30
zigotsufiev: Though I'm surprised, how come it didn't work with django 1.6 ?15:30
zigoI currently had to backport: python-bcrypt python-django python-django-nose python3-sqlparse15:31
zigoI very much would prefer to not do that and continue to use Django 1.6 if possible.15:31
tsufievzigo, do Horizon deb package use Django 1.6?15:36
zigotsufiev: I managed to fix almost all Django 1.7 bugs, they are all merged in master (Debian Sid/Jessie has Django 1.7, so I needed that).15:37
zigotsufiev: I also backported all these to Icehouse.15:37
zigoThough for the Wheezy backport, I still use Django 1.6.15:37
zigo(ie: the Wheezy non-official backport repository that I maintain)15:37
tsufiev zigo, the thing I think we should start with is: do some new errors occur while building muranodashboard based on Django 1.6 - compared to the horizon/openstack_dashboard?15:40
tsufievzigo, if yes, then it's almost certainly some muranodashboard dependency that horizon doesn't have spoils the party15:41
zigotsufiev: Well, there's this -p thing, yes ...15:41
zigoUpgrading to Django 1.7 removed that error.15:42
zigotsufiev: When you build murano-dashboard, to you run with Django 1.7 or what?15:42
tsufievzigo, when I run it, I mean, update the venv, this requirement is installed: https://github.com/openstack/horizon/blob/master/requirements.txt#L1215:45
zigotsufiev: Yeah, ok, so you must be getting Django 1.6, weird then.15:45
zigoLet me try to do a backport of the last Django 1.6 that was uploaded to debian.15:47
zigo(Django 1.6.6)15:47
tsufievzigo, I know only dependency which is unique for muranodashboard compared both to other murano packages and to horizon: it's django-floppyforms15:53
zigotsufiev: yeah, I had to backport a newer version of it.15:53
tsufievzigo, could it be the source of your troubles?15:53
zigoThe Wheezy version was older.15:53
zigotsufiev: I don't think that was the problem no.15:54
zigoLet me finish to try with the latest Django 1.6 (it's still building...).15:54
tsufievzigo, okay15:58
zigotsufiev: The problem seems to be django-nose, which needs to be a higher version.16:04
*** k4n0 has quit IRC16:05
*** openstackgerrit has quit IRC16:18
*** openstackgerrit has joined #murano16:18
*** drupalmonkey has joined #murano16:20
*** gokrokve_ has quit IRC16:31
*** drupalmonkey has quit IRC16:36
*** Kunal has quit IRC16:46
*** sjmc7 has joined #murano17:16
*** isviridov_meetin is now known as isviridov_away17:17
*** gokrokve has joined #murano17:23
*** killer_prince has quit IRC17:23
*** killer_prince has joined #murano17:36
*** killer_prince is now known as lazy_prince17:37
*** gokrokve_ has joined #murano18:16
*** gokrokve has quit IRC18:19
*** gokrokve_ has quit IRC18:21
*** gokrokve has joined #murano18:41
*** Murali_ has joined #murano18:53
*** Murali_ has quit IRC22:11
*** asalkeld has joined #murano22:35
*** Murali_ has joined #murano23:08
*** Murali_ has quit IRC23:08
*** sjmc7 has quit IRC23:15
*** gokrokve has quit IRC23:58

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