Wednesday, 2014-06-18

*** gokrokve_ has joined #murano00:06
*** gokrokve has quit IRC00:09
*** rakhmerov has joined #murano00:43
*** TravT has quit IRC00:46
*** rakhmerov has quit IRC00:48
*** rakhmerov has joined #murano01:44
*** rakhmerov has quit IRC01:48
*** gokrokve_ has quit IRC02:43
*** rakhmerov has joined #murano02:45
*** rakhmerov has quit IRC02:49
*** gokrokve has joined #murano02:54
*** rakhmerov has joined #murano03:30
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Make WebUI tests refactoring  https://review.openstack.org/10049905:46
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Make WebUI tests refactoring  https://review.openstack.org/10049905:48
*** gokrokve has quit IRC06:11
*** openstackgerrit has quit IRC06:19
*** openstackgerrit has joined #murano06:23
*** gokrokve has joined #murano07:02
*** gokrokve has quit IRC07:07
*** chandan_kumar has quit IRC07:17
*** gokrokve has joined #murano08:03
*** stan_lagun has joined #murano08:06
*** gokrokve has quit IRC08:08
*** slagun has quit IRC08:09
openstackgerritEkaterina Fedorova proposed a change to stackforge/python-muranoclient: Add package-create command  https://review.openstack.org/9917708:26
openstackgerritEkaterina Fedorova proposed a change to stackforge/python-muranoclient: Add package-create command  https://review.openstack.org/9917708:34
*** IgorYozhikov has quit IRC08:45
*** IgorYozhikov has joined #murano08:46
katyaferventHi everyone08:48
katyaferventLet's discuss this review https://review.openstack.org/#/c/98770/08:49
katyaferventIs everyone agree with the fact that we need to parse manifest which now dashboard does not to show or hide category step?08:51
katyaferventsee  the comment for the review08:51
katyaferventDoes anybody have an idea how we can upload package with categories and library without08:53
katyaferventMay it would be easier to make a separate button for uploading libraries and remove category field from that form08:53
katyaferventwhat do you think?08:53
stan_lagunLibraries can also have categories08:58
stan_lagunWe can just have one additional category "miscellaneous" or "other" or something like that?09:00
*** gokrokve has joined #murano09:03
*** gokrokve has quit IRC09:09
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Make WebUI tests refactoring  https://review.openstack.org/10049909:24
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Make WebUI tests refactoring  https://review.openstack.org/10049909:25
katyaferventwhy libraries need categories?09:28
stan_lagunwhy not?09:37
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Make WebUI tests refactoring  https://review.openstack.org/10049909:41
*** IgorYozhikov is now known as iyozhikov09:47
*** gokrokve has joined #murano10:04
*** gokrokve has quit IRC10:10
*** sergmelikyan has quit IRC10:16
*** sergmelikyan has joined #murano10:17
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Generate unique html ids for dynamic ui forms and fields  https://review.openstack.org/10047710:22
*** sergmelikyan has quit IRC10:36
openstackgerritAnastasia Kuznetsova proposed a change to stackforge/murano-dashboard: Add Test package, remove uploding of extra apps  https://review.openstack.org/10084610:38
*** gokrokve has joined #murano11:05
openstackgerritAnastasia Kuznetsova proposed a change to stackforge/murano-deployment: Add archiving TestApp(not from app-incubator)  https://review.openstack.org/10085611:06
openstackgerritEkaterina Fedorova proposed a change to stackforge/python-muranoclient: Add package-create command  https://review.openstack.org/9917711:06
openstackgerritEkaterina Fedorova proposed a change to stackforge/python-muranoclient: Add package-create command  https://review.openstack.org/9917711:09
*** gokrokve has quit IRC11:10
*** bogdando has quit IRC11:16
*** bogdando has joined #murano11:26
*** sergmelikyan has joined #murano11:26
*** asalkeld has quit IRC11:39
tsufievfolks, who is going to implement descriptions inside actions, described by that blueprint: https://blueprints.launchpad.net/murano/+spec/actions-ui ?11:41
stan_lagunBlueprint doesn't describes how exactly it should be implemented. It is not approved. There is no etherpad for it11:44
tsufievstan_lagun, yes, it's more likely 'what' should be done than 'how'11:46
tsufievstan_lagun, from the UI side just a 'description' attribute of action is needed. But I have no idea how it should be implemented on MuranoPL side11:48
stan_lagunI'd say we cannot do it right in j2, we have no plans for j3 and it is better not to do it wrong because we don't want later to break backward compatibility with that11:49
stan_laguntsufiev, I understand. But its not that simple11:49
tsufievstan_lagun, does that mean we won't have parameterized actions in UI in juno?11:50
tsufievbecause to parameterize them properly some additional info about parameter types and constraints is needed11:50
stan_laguntsufiev there should be UI form for each action. It is sufficient to get action arguments. The problem with description because you don't want to fetch all possible forms in advance11:52
tsufievstan_lagun, ok, then speaking of that sample application https://github.com/murano-project/murano-app-incubator/blob/master/io.murano.apps.linux.Telnet/Classes/telnet.yaml could you remind me, how an Action with, e.g. 1 parameter will look?12:02
*** bogdando has quit IRC12:02
tsufievso I could somehow support parsing out data types from contracts12:03
*** bogdando has joined #murano12:03
stan_lagunhttp://paste.openstack.org/show/84388/12:04
stan_lagunsorry. $.string()12:04
tsufievok12:04
stan_laguntsufiev you don't need to parse contracts. At least until you do the same for properties12:05
tsufievI suppose re-writing dynamic UI to make it use contracts instead of its own type & constraints definitions is closer than we though :)12:05
stan_laguntsufiev, lets do it with spec-first approach12:06
*** gokrokve has joined #murano12:06
tsufievstan_lagun, sounds reasonable. https://blueprints.launchpad.net/murano/+spec/actions-ui - here?12:06
stan_lagunyep. In etherpad12:07
stan_lagunBut I'd like the design to be consisted with the rest of dynamic UI forms. Otherwise lets revise the whole thing12:08
*** bogdando has quit IRC12:09
*** gokrokve has quit IRC12:10
tsufievstan_lagun, anyways, this new spec will affect both actions UI and main App forms UI - because parsing contracts is involved. So I guess it's better to start with App Forms. But there is another question: how soon will we need the Actions UI functionality?12:12
tsufievduring j1 feature-cut we thought it's needed asap12:13
*** bogdando has joined #murano12:13
tsufievok, I'll polish my current commit on UI for parameter-less actions - to disable actions in UI while some action is run in the Environment - then will base on that work12:16
stan_laguntsufiev you can do overall design as part of https://blueprints.launchpad.net/murano/+spec/dynamic-ui-v3 and then link it from actions-ui12:16
tsufievstan_lagun, yes, that is an option12:17
*** katyafervent is now known as katyafervent_awa12:28
*** rakhmerov has quit IRC12:29
sergmelikyanGuys, since we have murano.io domain, we can redirect from docs.murano.io to murano.readthedocs.org12:30
sergmelikyanruhe, what do you think?12:30
ruhesergmelikyan: muran.readthedocs.org is for developer documentation. what's the target audience of murano.io? users or developers?12:31
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano: Added DB migrations on Alembic  https://review.openstack.org/9647112:33
ruhewe need to push this change ^^ before other which have DB migration scripts. because this one has tests for migrations12:39
*** katyafervent_awa is now known as katyafervent12:40
*** rakhmerov has joined #murano13:00
*** gokrokve has joined #murano13:01
*** gokrokve_ has joined #murano13:02
*** gokrokv__ has joined #murano13:02
*** gokrokve has quit IRC13:05
*** gokrokve_ has quit IRC13:06
*** rakhmerov has quit IRC13:13
sergmelikyanruhe, I think users, so you suggest to make docs.murano.io as link to github docs?13:37
ruheyes, provide a link to *user* documentation13:38
*** rakhmerov has joined #murano13:40
*** rakhmerov has quit IRC13:41
*** rakhmerov has joined #murano13:42
*** rakhmerov has quit IRC13:43
*** rakhmerov has joined #murano13:43
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Initial implementation of Actions UI  https://review.openstack.org/9936014:06
*** sjmc7 has joined #murano14:28
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Initial implementation of Actions UI  https://review.openstack.org/9936014:37
*** TravT has joined #murano15:05
*** loganb has joined #murano15:55
loganbhi everyone. I am having some trouble getting murano up and running.. anyone have a minute for a question or two?15:57
sjmc7sure loganb, ask away16:02
loganbthanks :)16:02
loganbso I followed the instructions on https://github.com/stackforge/murano/tree/master/contrib/devstack, and have previously configured devstack. but on my murano VM, when attempting to connect to localhost, I receive the error message: OperationalError at no such table: django_session16:03
sjmc7to the dashboard?16:04
loganbyeah16:04
katyaferventyou need to run manage.py syncdb on your python environment16:04
katyaferventand everything should be fine16:04
loganbsimple enough! thank you for the guidance16:05
tsufievdteselkin, seems like an issue of our devstack installer ^^^16:05
sergmelikyankatyafervent, I think we should fix this in our dev scripts16:05
sergmelikyantsufiev, +116:05
katyaferventloganb, which way of installation do you use?16:06
loganbI was pointed to these instructions previously: https://github.com/stackforge/murano/tree/master/contrib/devstack16:07
dteselkinlet me check16:07
gokrokv__I have the same issue on my devstack16:07
gokrokv__It is related to Horizon and how it keeps its local db16:07
katyaferventneed to file it on the launchpad16:07
tsufievgokrokv__, i suspect that it is stored in /tmp which is emptied on reboots16:08
gokrokv__I use python manage.py syncdb16:08
gokrokv__YEs. I think this is /tmp16:08
tsufievbingo :)!16:08
tsufievkatyafervent, could you file the bug?16:10
dteselkinbtw, about /tmp for horizon database - it should be re-created each time you run stack.sh16:10
dteselkinhow could you use devstack after reboot without starting it? :)16:11
tsufievdteselkin, is it the case that reboots happen more often than running stask.sh?16:11
dteselkinno, after reboot you *must* run stack.sh to recreate stack16:11
tsufievthen strange indeed16:12
tsufievit seems we should gather more detailed STR16:12
dteselkinand looks like a bug, even different one16:12
dteselkinloganb, could you please share your local.conf / localrc config file?16:12
loganbsure thing. also, is it not alright to run rejoin-stack.sh after reboot?16:13
katyaferventhttps://bugs.launchpad.net/murano/+bug/1331540 dteselkin  you can take it :)16:13
dteselkinunfortunately, no. rejoin-stack is used to 'enter' the screen session where all components are run16:14
*** chandan_kumar has joined #murano16:18
dteselkinas any openstack component started by devstack is started in separate console session, after reboot everything will be lost16:19
loganbsorry for the delay. here are the contents of my localrc:16:21
loganb# Heat16:21
loganbenable_service heat h-api h-api-cfn h-api-cw h-eng16:21
loganb# Murano16:21
loganbenable_service murano murano-api murano-engine16:21
loganbDATABASE_PASSWORD=password16:21
loganbRABBIT_PASSWORD=8f028d04e54750027fa216:21
loganbSERVICE_TOKEN=cec3db4b52cb21785b5016:21
loganbSERVICE_PASSWORD=748b8732b27242eede5e16:21
loganbADMIN_PASSWORD=b974109aacad73cfe96616:22
openstackgerritEkaterina Fedorova proposed a change to stackforge/python-muranoclient: Update Openstack common  https://review.openstack.org/10095416:42
ruheloganb: we'll need to re-check that devstack scripts work correctly for dashboard. me or dteselkin will do it16:51
loganbruhe: ok. once i re-ran stack.sh, i was able to connect to the dashboard.16:52
ruhethat's good news :)16:52
loganbthank you all for the help!17:04
*** rakhmerov has quit IRC17:08
sjmc7sergmelikyan, stan_lagun - any thoughts on https://review.openstack.org/#/c/100344/ ?17:29
sjmc7i agree it doesn't seem very clean17:30
stan_lagunsjmc7 I've just wanted to discuss it with you17:38
stan_laguncan you explain what were your intentions with this commit?17:38
stan_lagunI just didn't get what is the purpose of user data format without user data17:39
sjmc7yeah - in order to use heat SW config resources you have to set user_data_format to SOFTWARE_CONFIG17:39
sjmc7heat injects userdata to strt os-collect-config on the host17:39
stan_lagunhow this relates to UserData section that contains cloud-init initialization script that configures agent?17:39
sjmc7this would be an alternative to the agent17:40
sjmc7a subclass would be cleaner i guess17:40
sjmc7i just don't want to end up with weird multiple inheritance17:40
stan_lagunso what if I want to have agent, but also use HOT software components?17:40
stan_lagun multiple inheritance is fine17:40
sjmc7that's problematic17:41
sjmc7though i think you cna still specify userdata as well, i haven't tried it17:41
sjmc7ok. i'll give it a go with subclassing instead17:41
stan_lagunso why not just set SOFTWARE_CONFIG by default and overwrite it in agent-enabled Instance childs?17:42
sjmc7because i don't want to modify the default behavior of an established class17:42
sjmc7i'll try subclassing instead17:43
stan_lagunit is not established yet. What do you think on my initial suggestion that I wrote in gerrit?17:44
sjmc7i replied to it - but i think that it's the Application that defines whether or not it is going to use SWConfig, not the instance17:45
stan_lagunIf I understand you right you cannot change user data format on the fly. So if there is initial user data it must match the format in userDataFormat17:45
sjmc7a cleaner approach is to have the application require an instance that is swconfig-enabled17:45
sjmc7yeah, you have to set it before calling .deploy()17:45
stan_lagunIf app wants to use SWConfig and it is not compatible with agent then it must be different instance implementation17:47
sjmc7yep. ok, i'll give that a go17:47
stan_lagunBTW you don't need multiple inheritance. It can be like having Instance class and HotSCInstance class + AgentInstance classes that extend Instance and provide API to send SW config or agent execution plan17:50
stan_lagunthis would be great17:51
*** rakhmerov has joined #murano17:54
sergmelikyansjmc7, AFAIK we can have mix-in classes now17:55
sjmc7yeah - but i can forsee someone subclassing further. i agree it seems like a cleaner way to do it though17:55
*** rakhmerov has quit IRC18:05
stan_lagunthis shouldn't be a big problem. We do support mix-ins and diamond inheritance. So there are ways to do it. And I believe that those who would want to subclass it for some specific purposes will do that with one of those child classes, not Instance itself as it is just reassembles Heat resource. There is nothing to customize there18:06
stan_lagunMost of the times it is better not to subclass but reference something. For example it is wrong to inherit Instance and add some software deployment steps on top of it (for example it is wrong to have ApacheInstance)18:08
dteselkinloganb, you've forgot murano-dashboard in config18:24
loganbdoh. thank you for pointing this out. on horizon I was still able to view the murano tab with the current settings..18:25
*** gokrokv__ has quit IRC18:42
*** TravT has quit IRC19:01
*** rakhmerov has joined #murano19:06
*** openstackgerrit has quit IRC19:06
*** openstackgerrit_ has joined #murano19:07
*** openstackgerrit_ is now known as openstackgerrit19:08
*** gokrokve has joined #murano19:15
*** rakhmerov has quit IRC19:20
*** gokrokve has quit IRC19:20
*** gokrokve has joined #murano19:42
*** TravT has joined #murano19:45
*** loganb has quit IRC19:56
*** rakhmerov has joined #murano20:16
*** rakhmerov has quit IRC20:20
openstackgerritSteve McLellan proposed a change to stackforge/murano: Add 'userdata_format' to Server heat template  https://review.openstack.org/10034420:30
gokrokvesjmc7: Hi Steven. Have you a minute to chat?20:32
sjmc7i'm on a call, can type though. i'm trying to get you an answer to your email20:32
sjmc7the guy best placed to answer it has been very busy this week and hasn't replied to me yet20:32
gokrokveCool. I just want to discuss the old idea about stub applications which just point to another url.20:33
sjmc7ah, yeah20:33
gokrokveI have a use cases for such apps and as I remember you wanted the similar.20:33
sjmc7yes, we do20:33
sjmc7as best i can figure out, our requirements are around things like setting up accounts for remote services and injecting credentials into deployments20:34
gokrokveMy use case is the following. I have Oracle DB which is hosted outside the cloud on dedicated server.20:34
gokrokveI want my apps on cloud to be combined with this Oracle DB.20:35
gokrokveSo I just add a stub app which returns connections string to this Oracle server.20:35
sjmc7yep, that would be an example of what we want. in our case, the stub might go to barbican and see if there are credentials for a service already stored somewhere20:35
gokrokveBy this I can actually have an app in Murano environment which deploys nothing but provide some info to other applications.20:36
sjmc7so an external web service or something20:36
sjmc7yeah, exactly20:36
gokrokvemake sense20:36
gokrokveOk. I then will start work on it.20:36
sjmc7ok. i'll get some clearer use cases written up20:36
sjmc7and make sure they line up20:36
gokrokvecool. Thanks.20:37
sjmc7and i'll see about getting an answer to your email from last night20:37
gokrokveThanks20:40
*** asalkeld has joined #murano20:52
*** rakhmerov has joined #murano21:16
*** rakhmerov has quit IRC21:21
*** rakhmerov has joined #murano22:17
*** rakhmerov has quit IRC22:21
*** rakhmerov has joined #murano23:18
*** rakhmerov has quit IRC23:22

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