*** gokrokve has quit IRC | 00:04 | |
*** gokrokve has joined #murano | 00:04 | |
*** gokrokve has quit IRC | 00:09 | |
*** gokrokve has joined #murano | 01:03 | |
*** gokrokve has quit IRC | 01:55 | |
*** Kunal has joined #murano | 03:07 | |
*** gokrokve has joined #murano | 04:38 | |
*** killer_prince is now known as lazy_prince | 05:00 | |
*** k4n0 has joined #murano | 05:47 | |
*** gokrokve_ has joined #murano | 05:55 | |
*** gokrokve has quit IRC | 05:58 | |
*** gokrokve_ has quit IRC | 05:59 | |
*** drupalmonkey has quit IRC | 06:01 | |
*** gokrokve has joined #murano | 06:25 | |
*** gokrokve has quit IRC | 06:26 | |
*** gokrokve has joined #murano | 06:27 | |
*** gokrokve has quit IRC | 06:32 | |
zigo | tsufiev: 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 |
---|---|---|
zigo | tsufiev: 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 #murano | 07:28 | |
*** gokrokve has quit IRC | 07:32 | |
*** gokrokve has joined #murano | 08:28 | |
*** gokrokve has quit IRC | 08:33 | |
Kunal | Hi, need one help . | 08:41 |
Kunal | 1. How to add component in env | 08:41 |
Kunal | 2. How to deploy environment | 08:41 |
Kunal | Can somebody please help me . | 08:42 |
*** gokrokve has joined #murano | 09:26 | |
*** gokrokve has quit IRC | 09:31 | |
Kunal | Through API , how add compnent and Deploy environment. | 10:07 |
openstackgerrit | Dmitrii Dovbii proposed a change to stackforge/murano-agent: Use oslo.config generator https://review.openstack.org/125308 | 10:23 |
openstackgerrit | Dmitrii Dovbii proposed a change to stackforge/murano-agent: Remove generate_samlple.sh tool from the project https://review.openstack.org/125309 | 10:23 |
openstackgerrit | Dmitrii Dovbii proposed a change to stackforge/murano-agent: Remove muranoagent.conf.sample https://review.openstack.org/125310 | 10:23 |
*** gokrokve has joined #murano | 10:26 | |
*** gokrokve has quit IRC | 10:30 | |
smurashov | Kunal: can i help you? | 10:39 |
smurashov | Kunal: what app do you want to add? | 10:57 |
Kunal | hi smuashov , i have 1 app, KunalTest, | 10:58 |
Kunal | sorry @smurashov -> i need to add this app, which is in my local path , to my env KunalENV and have to deploy thi senv | 10:59 |
smurashov | you can see examples in https://github.com/stackforge/murano/blob/master/murano/tests/functional/engine/base.py | 11:06 |
smurashov | Kunal: there we add apps and send to deploy via API | 11:07 |
Kunal | Thanks smurashov , i will check that . | 11:10 |
smurashov | Kunal: also https://murano.readthedocs.org/en/latest/specification/index.html | 11:14 |
*** asalkeld has left #murano | 11:15 | |
Kunal | yes i am looking this page | 11:16 |
*** asalkeld has joined #murano | 11:17 | |
Kunal | It tell us about opening session and deploying not about adding components | 11:17 |
Kunal | moreover , i am unable to create session , for deploying env . | 11:18 |
Kunal | I 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/environments | 11:18 |
Kunal | for 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/configure | 11:19 |
Kunal | but it gives error , "HTTP/1.1 404 Not Found" | 11:20 |
*** gokrokve has joined #murano | 11:26 | |
*** asalkeld has left #murano | 11:27 | |
*** lazy_prince is now known as killer_prince | 11:31 | |
*** gokrokve has quit IRC | 11:31 | |
smurashov | Kunal: need to send post request for creating session | 11:34 |
smurashov | content-type: application/json | 11:35 |
smurashov | x-configuration-session need specify in headers when session created | 11:35 |
Kunal | Ohh right POST and only -H 'X-Configuration-Session or -H 'X-Configuration-Session: 12345' | 11:44 |
Kunal | Yes successful , @smurashov | 11:53 |
smurashov | Kunal: :) | 11:57 |
*** tnurlygayanov has quit IRC | 11:57 | |
Kunal | strange results @smurashov | 12:02 |
Kunal | i can create session for env , than manualy add component in it and than tried to deploy through curl command . | 12:02 |
Kunal | Wheni run curl command it says 200 , and component also vanish from the ENV, and no deploy | 12:03 |
Kunal | HTTP/1.1 200 OK | 12:03 |
smurashov | Kunal: can you provide commands which you've sended? | 12:05 |
Kunal | sure | 12:06 |
*** isviridov is now known as isviridov_na | 12:07 | |
Kunal | 1. manurally create environment | 12:08 |
Kunal | 2. 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>/configure | 12:09 |
Kunal | 3. Manually add component in env | 12:09 |
Kunal | 4. 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>/deploy | 12:09 |
smurashov | need to add component using session-id which you created | 12:12 |
Kunal | manully i am doing that | 12:13 |
smurashov | how did you add app? | 12:14 |
Kunal | i added manually, though GUI | 12:14 |
smurashov | UI creates another sesion | 12:14 |
Kunal | i still have to learn doing it through curl command | 12:14 |
smurashov | and you add app in another session | 12:14 |
Kunal | Hmm, now i realized when u said . Thanks | 12:15 |
Kunal | can u guide me , how to add component | 12:15 |
smurashov | yes, sure | 12:15 |
smurashov | can you provide me ui.yaml for your app? | 12:16 |
Kunal | ok | 12:16 |
Kunal | 1 min | 12:16 |
Kunal | what is ui.yaml ? i have simple.yaml under UI directory . | 12:18 |
Kunal | you want me to share that file or few config parameter ? | 12:19 |
Kunal | this App, just crates a linux VM and attach floating IP | 12:19 |
*** gokrokve has joined #murano | 12:26 | |
*** gokrokve has quit IRC | 12:31 | |
smurashov | yes yaml file under ui dir | 12:35 |
smurashov | Kunal: ^^ | 12:44 |
Kunal | yes | 12:44 |
Kunal | u want full file , or any config parameter | 12:45 |
Kunal | if file than how i can share here ? | 12:45 |
smurashov | youn can share 'Application:' section | 12:45 |
smurashov | in paste.openstack.org for example | 12:46 |
smurashov | and i create post body for your app | 12:46 |
Kunal | type: sjm.murano.Kunal.Simple | 12:47 |
Kunal | instance: $instance | 12:47 |
Kunal | name: 'Single Linux Node' | 12:47 |
smurashov | Kunal: it's all? | 12:48 |
smurashov | is it | 12:48 |
Kunal | yes under Application | 12:50 |
Kunal | tell me congif value u want | 12:51 |
Kunal | do you want instance details ? | 12:54 |
Kunal | instance: | 12:54 |
Kunal | type: io.murano.resources.LinuxInstance | 12:55 |
Kunal | name: "linux-instance" | 12:55 |
Kunal | flavor: $.instanceConfiguration.flavor | 12:55 |
Kunal | image: $.instanceConfiguration.osImage | 12:55 |
Kunal | keyname: $.instanceConfiguration.keyPair | 12:55 |
Kunal | assignFloatingIp: $.instanceConfiguration.assignFloatingIP | 12:55 |
smurashov | Application: | 12:55 |
smurashov | ?: | 12:55 |
smurashov | type: sjm.murano.Kunal.Simple | 12:55 |
smurashov | name: 'Single Linux None' | 12:55 |
smurashov | ok | 12:56 |
smurashov | give me 10 min | 12:56 |
Kunal | name: 'Single Linux Node' | 12:56 |
Kunal | Thanks @smurashov for giving time | 12:56 |
smurashov | http://paste.openstack.org/show/117457/ | 12:59 |
smurashov | http://paste.openstack.org/show/117463/ | 13:00 |
smurashov | Kunal: but i could be wrong( | 13:00 |
Kunal | got it but how to use that ? | 13:01 |
Kunal | i wil lupdate with correct values | 13:01 |
smurashov | Kunal: send post request with this body and session-id in headers on environments/environment_id/services | 13:02 |
zigo | I 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/console | 13:02 |
zigo | Does anyone have an idea where that -p option is comming from? | 13:02 |
zigo | Is there a package which I should backport? | 13:02 |
Kunal | 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/b7ff956ae49f49df82e4e38df1a51088/services -d { "instance": { "flavor": flavor_name, "image": image_name, "assignFloatingIp": True, "?": { "type": "io.mura | 13:04 |
Kunal | is this correct | 13:04 |
zigo | tsufiev: ^ | 13:04 |
Kunal | is it correct now , what i understood : | 13:08 |
Kunal | 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: 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 |
smurashov | need to replace str(uuid.uuid4()) to some id | 13:08 |
Kunal | yes , i will update values , wher ever neccesary | 13:09 |
Kunal | this what u said addding header : -H 'X-Configuration-Session: 4d0c1233cd5047129923d99d906bb630' | 13:09 |
smurashov | yes, it seems correct | 13:09 |
Kunal | @smurashov I really wants to thank you from the button of my heart . | 13:10 |
smurashov | Kunal: :) | 13:12 |
smurashov | Kunal: no problem | 13:12 |
*** slagun has joined #murano | 13:20 | |
*** stan_lagun has quit IRC | 13:23 | |
*** gokrokve has joined #murano | 13:26 | |
openstackgerrit | Dmitry Teselkin proposed a change to stackforge/murano-deployment: Manage murano development box https://review.openstack.org/121906 | 13:29 |
*** gokrokve has quit IRC | 13:31 | |
*** drupalmonkey has joined #murano | 13:35 | |
openstackgerrit | Dmitry Teselkin proposed a change to stackforge/murano-deployment: Manage murano development box https://review.openstack.org/121906 | 13:36 |
*** drupalmonkey has quit IRC | 13:36 | |
openstackgerrit | Dmitry Teselkin proposed a change to stackforge/murano-deployment: Manage murano development box https://review.openstack.org/121906 | 13:42 |
*** gokrokve_ has joined #murano | 13:48 | |
*** gokrokve_ has quit IRC | 14:02 | |
*** gokrokve has joined #murano | 14:03 | |
*** gokrokve_ has joined #murano | 14:06 | |
*** gokrokve has quit IRC | 14:08 | |
openstackgerrit | Dmitry Teselkin proposed a change to stackforge/murano-deployment: Manage murano development box https://review.openstack.org/121906 | 14:15 |
*** openstackgerrit has quit IRC | 14:18 | |
*** openstackgerrit has joined #murano | 14:18 | |
openstackgerrit | Dmitry Teselkin proposed a change to stackforge/murano-deployment: Manage murano development box https://review.openstack.org/121906 | 14:37 |
openstackgerrit | Dmitrii Dovbii proposed a change to stackforge/murano-agent: Remove muranoagent.conf.sample https://review.openstack.org/125310 | 14:38 |
openstackgerrit | Dmitrii Dovbii proposed a change to stackforge/murano-agent: Use oslo.config generator https://review.openstack.org/125308 | 14:38 |
openstackgerrit | Dmitrii Dovbii proposed a change to stackforge/murano-agent: Remove generate_samlple.sh tool from the project https://review.openstack.org/125309 | 14:38 |
*** openstackgerrit has quit IRC | 14:47 | |
*** openstackgerrit has joined #murano | 14:48 | |
*** openstackgerrit has quit IRC | 15:02 | |
*** openstackgerrit has joined #murano | 15:03 | |
openstackgerrit | Dmitry Teselkin proposed a change to stackforge/murano-deployment: Manage murano development box https://review.openstack.org/121906 | 15:03 |
*** isviridov_na is now known as isviridov_meetin | 15:04 | |
tsufiev | zigo, well, I have no idea on where does this '-p' appears at all... Is it somewhere inside django? | 15:23 |
zigo | tsufiev: It's looking like it, because after upgrading to Django 1.7 (which I just backported), I have a different error. | 15:25 |
zigo | tsufiev: http://paste.openstack.org/show/117501/ | 15:26 |
zigo | Trying to upgrade django-nose, to see what happens ... | 15:27 |
tsufiev | zigo, :-O | 15:28 |
tsufiev | tsufiev, debian packaging system always scared me | 15:28 |
zigo | tsufiev: It worked with the latest django 1.7 and latest django-nose ! :) | 15:30 |
zigo | tsufiev: Though I'm surprised, how come it didn't work with django 1.6 ? | 15:30 |
zigo | I currently had to backport: python-bcrypt python-django python-django-nose python3-sqlparse | 15:31 |
zigo | I very much would prefer to not do that and continue to use Django 1.6 if possible. | 15:31 |
tsufiev | zigo, do Horizon deb package use Django 1.6? | 15:36 |
zigo | tsufiev: 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 |
zigo | tsufiev: I also backported all these to Icehouse. | 15:37 |
zigo | Though 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 |
tsufiev | zigo, if yes, then it's almost certainly some muranodashboard dependency that horizon doesn't have spoils the party | 15:41 |
zigo | tsufiev: Well, there's this -p thing, yes ... | 15:41 |
zigo | Upgrading to Django 1.7 removed that error. | 15:42 |
zigo | tsufiev: When you build murano-dashboard, to you run with Django 1.7 or what? | 15:42 |
tsufiev | zigo, when I run it, I mean, update the venv, this requirement is installed: https://github.com/openstack/horizon/blob/master/requirements.txt#L12 | 15:45 |
zigo | tsufiev: Yeah, ok, so you must be getting Django 1.6, weird then. | 15:45 |
zigo | Let 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 |
tsufiev | zigo, I know only dependency which is unique for muranodashboard compared both to other murano packages and to horizon: it's django-floppyforms | 15:53 |
zigo | tsufiev: yeah, I had to backport a newer version of it. | 15:53 |
tsufiev | zigo, could it be the source of your troubles? | 15:53 |
zigo | The Wheezy version was older. | 15:53 |
zigo | tsufiev: I don't think that was the problem no. | 15:54 |
zigo | Let me finish to try with the latest Django 1.6 (it's still building...). | 15:54 |
tsufiev | zigo, okay | 15:58 |
zigo | tsufiev: The problem seems to be django-nose, which needs to be a higher version. | 16:04 |
*** k4n0 has quit IRC | 16:05 | |
*** openstackgerrit has quit IRC | 16:18 | |
*** openstackgerrit has joined #murano | 16:18 | |
*** drupalmonkey has joined #murano | 16:20 | |
*** gokrokve_ has quit IRC | 16:31 | |
*** drupalmonkey has quit IRC | 16:36 | |
*** Kunal has quit IRC | 16:46 | |
*** sjmc7 has joined #murano | 17:16 | |
*** isviridov_meetin is now known as isviridov_away | 17:17 | |
*** gokrokve has joined #murano | 17:23 | |
*** killer_prince has quit IRC | 17:23 | |
*** killer_prince has joined #murano | 17:36 | |
*** killer_prince is now known as lazy_prince | 17:37 | |
*** gokrokve_ has joined #murano | 18:16 | |
*** gokrokve has quit IRC | 18:19 | |
*** gokrokve_ has quit IRC | 18:21 | |
*** gokrokve has joined #murano | 18:41 | |
*** Murali_ has joined #murano | 18:53 | |
*** Murali_ has quit IRC | 22:11 | |
*** asalkeld has joined #murano | 22:35 | |
*** Murali_ has joined #murano | 23:08 | |
*** Murali_ has quit IRC | 23:08 | |
*** sjmc7 has quit IRC | 23:15 | |
*** gokrokve has quit IRC | 23:58 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!