Thursday, 2014-06-05

*** gokrokve has joined #murano00:54
*** gokrokve has quit IRC01:38
*** TravT has quit IRC01:42
*** gokrokve has joined #murano03:02
*** gokrokve has quit IRC04:17
*** stan_lagun has joined #murano07:42
*** slagun has quit IRC07:46
openstackgerritSergey Murashov proposed a change to stackforge/murano: Add new deployment tests  https://review.openstack.org/9719807:53
sergmelikyandteselkin, https://blueprints.launchpad.net/murano/+spec/make-dynamicui-more-informative - I have updated your BP a little bit.08:12
sergmelikyanSet URL to google doc as url to full specification08:12
dteselkinsergmelikyan, ok, thanks08:17
openstackgerritSergey Kolekonov proposed a change to stackforge/murano: add pid directory deletion in murano setup script  https://review.openstack.org/9805608:20
*** skolekonov has joined #murano08:20
openstackgerritAnastasia Kuznetsova proposed a change to stackforge/python-muranoclient: Create base set of tests for python-muranoclient  https://review.openstack.org/9779108:37
sergmelikyantsufiev, can you look at https://review.openstack.org/97776 ?08:48
sergmelikyanI think it is quite straight-forward change, I am writing unit-tests and need this change.08:49
sergmelikyandteselkin, ativelkov https://review.openstack.org/97776 :)08:49
* sergmelikyan shamelessly pinging cores :)08:50
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Delay quick environment creation until it is really needed  https://review.openstack.org/9718809:00
tsufievsergmelikyan, looking at it...09:06
tsufievsergmelikyan, do you know why ruhe calls setUp() explicitly even if it simply calls parent method?09:08
sergmelikyantsufiev, actually no, maybe some specific of testtools?09:14
sergmelikyanruhe, ?09:14
openstackgerritA change was merged to stackforge/murano: Fixes Python 2.6 compatibility in HeatStack class  https://review.openstack.org/9793009:16
ruhetsufiev: sergmelikyan: yes, testtools enforces that09:18
tsufievok, approved09:19
tnurlygayanovone more commit for review https://review.openstack.org/#/c/97913/09:30
openstackgerritSergey Murashov proposed a change to stackforge/murano: Add new deployment tests  https://review.openstack.org/9719809:32
openstackgerritA change was merged to stackforge/murano: Migrate unit test to testtools  https://review.openstack.org/9777609:33
ativelkovtsufiev: in https://review.openstack.org/#/c/94368 by "normal YAML sequence" you mean the list?09:34
tsufievativelkov, yes09:34
ativelkovI see, thanks09:35
tsufievYAQL uses terms 'sequence' and 'mapping' for Python's 'list' and 'dictionary'09:35
tsufievativelkov, also I've added @deprecate_class decorator09:36
ruhetnurlygayanov: isn't murano-ci jobs supposed to be green here https://review.openstack.org/#/c/96491/ ?09:36
ativelkovtsufiev: having your own "deprecated" looks a little wrong for me09:37
tsufievativelkov, is there some common deprecator?09:37
*** stanlagun has joined #murano09:37
igormarnatruhe: you mean, for Ubuntu?09:37
ruheigormarnat: yes09:37
ativelkovyup, I am sure I saw one in oslo incubator09:37
ativelkovlet me find it09:37
tnurlygayanovruhe, I will check09:38
ativelkovyup https://github.com/openstack/oslo-incubator/blob/master/openstack/common/versionutils.py#L3009:38
tnurlygayanovruhe to fix problems with https://review.openstack.org/#/c/96491 need to merge https://review.openstack.org/#/c/97913/09:39
tnurlygayanovrruhe the reason of this 'fail' - simultaneously executed automated tests on ubuntu and cent os in the same tenant09:40
ruhetnurlygayanov: i don't see how deployment tests can affect tests on dashboard09:41
tnurlygayanovruhe hm... yes, it is incorrect link. so, I will check CI configuration, looks like need to update jobs09:43
tnurlygayanovone more commit for CI https://review.openstack.org/#/c/9773510:03
tnurlygayanov(for integration tests with deployments)10:03
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano: Added DB migrations on Alembic  https://review.openstack.org/9647110:08
ruhewhy is the file named murano-engine-with-deployment-tests.sh? we're not testing the engine, we're testing deployment, which includes the api and the engine10:10
ruhefolks, do we really need separate functional tests for the client?10:15
ruhe... re https://review.openstack.org/#/c/97791/10:16
ruheour basic tests aren't stable yet10:16
ruhedeployment tests aren't ready yet10:16
ruhei think that dashboard and dsvm tests is enough to make sure that python client is ok10:17
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Change the way multiple values for dynamic UI 'type' attr are parsed  https://review.openstack.org/9436810:40
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Change the way multiple values for dynamic UI 'type' attr are parsed  https://review.openstack.org/9436810:42
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Change the way multiple values for dynamic UI 'type' attr are parsed  https://review.openstack.org/9436810:42
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Delay quick environment creation until it is really needed  https://review.openstack.org/9718810:58
openstackgerritA change was merged to stackforge/murano-dashboard: Move deployment history into environment details  https://review.openstack.org/9649111:04
ruheafter a discussion with tnurlygayanov and akuznetsova we figured out that functional tests might be needed. but we they'll be limited to API calls (it means no deployments) and they should run on OpenStack infrastructure, not on murano-ci11:10
*** asalkeld has quit IRC11:26
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano: Added DB migrations on Alembic  https://review.openstack.org/9647111:34
*** stanlagun has quit IRC11:56
*** stanlagun has joined #murano11:59
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano: Added DB migrations on Alembic  https://review.openstack.org/9647112:08
openstackgerritEkaterina Fedorova proposed a change to stackforge/murano-dashboard: Fix allow method of buttons at the Components page  https://review.openstack.org/9809012:18
openstackgerritRuslan Kamaldinov proposed a change to stackforge/murano: Added DB migrations on Alembic  https://review.openstack.org/9647112:31
openstackgerritTimur Nurlygayanov proposed a change to stackforge/murano-deployment: Creates jenkins job for automated tests for Engine  https://review.openstack.org/9791312:50
openstackgerritTimur Nurlygayanov proposed a change to stackforge/murano-deployment: Creates jenkins job for automated tests for Engine  https://review.openstack.org/9791312:51
openstackgerritSergey Murashov proposed a change to stackforge/murano: Add new deployment tests  https://review.openstack.org/9719813:11
openstackgerritSergey Murashov proposed a change to stackforge/murano: Add new deployment tests  https://review.openstack.org/9719813:14
openstackgerritSergey Murashov proposed a change to stackforge/murano: Add new deployment tests  https://review.openstack.org/9719813:18
openstackgerritSergey Murashov proposed a change to stackforge/murano: Add new deployment tests  https://review.openstack.org/9719813:27
ativelkovFolks, I have a sudden idea: what about if we merge the Neutron classes (io.murano.lib.networks.Neutron) into the Core library (io.murano)?13:43
ativelkovIt turns out that is is close to impossible to keep core classes (such as Instance) to be completely separated of Neutron specifics13:44
ativelkovCurrently Instance ports are created within Neutron lib13:45
ativelkovwhich causes a lot of problems13:45
stanlagun+213:45
ativelkovSo I would added port creation into the instance class13:47
ativelkovBut this actually introduces a Neutron dependency into the Core. But that is probably OK13:47
stanlagunThe fact that you have Neutron in core doesn't mean you have to use Neutron13:49
*** TravT has joined #murano13:49
stanlagunOr at least this statement can become true13:49
ativelkovWell, this will mean that Instance class will be unusable in non-neutron environments13:50
ativelkovThere still may be use-cases for Nova-Network topologies13:50
stanlagunNetworking can be extended to support nova-networking. This can be an implementation detail in the very same classes13:52
ativelkovThat's true13:52
ativelkovSo, I'll create a blueprint13:52
stanlagunYou just get exceptions on most topologies13:52
*** gokrokve has joined #murano14:01
*** sjmc7 has joined #murano14:07
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Return to the same AppCatalog page from the modal forms  https://review.openstack.org/9811514:07
*** drupalmonkey has joined #murano14:09
openstackgerritEkaterina Fedorova proposed a change to stackforge/murano-dashboard: Fix allow method of buttons at the Components page  https://review.openstack.org/9809014:17
openstackgerritRyan Peters proposed a change to stackforge/murano-dashboard: Filter available flavors for each service  https://review.openstack.org/9790414:18
*** btully has joined #murano14:24
tsufievbtully, hi!14:24
tsufievbtully, could you please look my comment at https://review.openstack.org/#/c/97582/ ?14:25
btullysure, but can you look at mine first? ;)14:25
sjmc7:)14:25
igormarnatwin-win:)14:26
tsufievoh, sorry, didn't notice :)14:26
btullyhehe no problem :)14:26
*** gokrokve has quit IRC14:30
btullywith latest pull of master14:31
btullyon catalog index page I see a disabled button "More Apps" at the bottom of the page14:31
btullyis this a work in progress?14:31
tsufievbtully, it should already work14:34
tsufievit is disabled when there are no more pages14:34
btullyi only have 3 apps on my local dev environment14:35
btullyso it's confusing to see a button that is disabled saying "More Apps"14:35
tsufievwhile default limit is 6, so this is ok14:35
btullyshouldn't I just not see a button?14:35
tsufievhm...14:35
btullymakes me feel like something is broken14:35
btullyi keep clicking as if i will be able to see more apps14:36
tsufievbut that means that after cycling, e.g. 3 pages forward, user sees that 'More Apps' suddenly disappears14:36
sjmc7what does horizon do in other places?14:36
sjmc7nova instances, glance images etc14:36
tsufievsjmc7, horizon uses link, which disappears14:37
igormarnattsufiev, it seems correct behavior14:37
igormarnattsufiev, no more apps, no "More apps", right?14:37
sjmc7not saying horizon is always right, but deviation from the horizon guidelines should be justified14:37
tsufievigormarnat, sounds reasonable14:37
*** skolekonov has quit IRC14:37
tsufievok, it's easy to change14:37
tsufievbtully, i've experimented with tile filling - added more text to description, and raised limit of chars shown in description14:39
*** gokrokve has joined #murano14:39
tsufievthere is always empty space under logo, no matter how many description there is14:39
btullyI think I understand. So essentially, that "More Apps" button is the last button of a pagination UI? i.e., a "Next" button?14:40
tsufievbtully, exactly14:40
btullyright, so i think if there is no "next" it probably makes sense to make the button disappear rather than just disable, IMHO14:41
btullyright, because of the floats, the logo and description need to be certain heights, because we want the tiles to be all the same height. The space below the logo is not a bad thing IMHO as it gives separation and importance to the action buttons (add to env, quick deploy)14:42
btullygokrokve: your thoughts?14:43
gokrokveI tried to delete it once. The whole page was out of align then. It is better to disable elements on the page as div manipulation will be much easier.14:44
gokrokveI bet Timur remembers that issue with last page :-) When you have one or two apps on the last page button tends to align from right side to them rather then stay at the bottom of the page.14:45
gokrokveSpace under logo is ok. It help to clearly distinguish main elements on the tile.14:46
tsufievok, let's the new tile then :)14:49
tsufiev*approve14:50
btullyI think now the "More Apps" button is actually a div below the tiles, so doesn't really affect the tile layout. If it does affect layout in some odd way, perhaps then maybe attach visibility:hidden to the disabled More Apps button14:50
btullyi think from a workflow of having many apps, it will become a learned behavior to the user to see the "More Apps" button not being disabled, and as a way to go to the next page of apps14:51
btullybut in the edge case of not having many apps, it becomes odd just to see a button you cannot press14:52
tsufievbtully, you've convinced me :)14:52
btullyhaha sorry, am I "beating a dead horse"14:53
btully?14:53
btully:)14:53
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Hide 'More Apps' button if there are no more Apps  https://review.openstack.org/9813114:54
tsufievhere it is ^^^^14:55
btullyawesome. i'll review14:57
btullytsufiev: i'm currently reviewing https://review.openstack.org/#/c/98115/14:58
btullyin terms of a test case, should I be on the App Catalog index page to test this? And if so, how would I "create environment"?14:59
tsufievbtully, you need to come to AppCatalog page with Environments list (at Environments page) being empty15:00
tsufievthat way 'Add to Env' first creates a new Env15:01
btullyahh ok, good to know15:01
btullyso delete my environments first?15:01
tsufievyes, if you have nothing valuable there15:01
btully:)15:02
btullytsufiev: so when i do that, and click on an app's "add to env" button, it creates the new environment in the background and stays on the app catalog page, however it doesn't add the app to the env15:06
tsufievthat is true, you need to press the button 'Add to Env' again15:07
tsufievtheoretically, it is possible to redirect just to the wizard view right after creating a new env, but redirects may be a bit tricky15:08
btullyhmm15:10
btullyshould we add something to the notification saying that the environment was created15:11
* tsufiev looked again in the template... it might be very simple as well...15:12
tsufievthat is the problem with 'Current Env' selector which is currently hidden15:12
btullyright, that will change soon15:12
btullyso ideally, if there are no environments created15:13
btullyeither the the "add to env" button text would change to say "create environment"15:13
btullyor we'd have some kind of redirect after the env was created to then show the modal for adding the app15:14
btullyor we'd add some text to the green notification popup saying that the user would need to click on "add to env" button again15:15
btullyDoes "quick deploy" do both the creation of env and adding the app?15:16
openstackgerritA change was merged to stackforge/murano-dashboard: Updated app tile styling based on feedback  https://review.openstack.org/9758215:19
sergmelikyanbtully, should does15:19
sergmelikyan*should do15:19
tsufievbtully, yes, it does15:20
btullyso maybe if no env exists, we either hide the add to env button or have it act the same as a quick deploy button?15:21
btullyor to contradict my earlier point about disabled butons, the add to env button is disabled ;)15:22
tsufievbtully, i think the best is to change 'Add to Env' -> 'Create Env' in that case15:23
tsufievredirecting 'Create Env' -> 'Add App' is tricky indeed15:23
btullyk15:24
btullydoes the index page get refreshed (i.e. is there an actual redirect) when the env is created?15:24
btullyor will we have to update the button text using JS15:24
openstackgerritA change was merged to stackforge/murano-dashboard: Handle dynamic forms in a cleaner and a more performance way  https://review.openstack.org/9419915:25
ruhetnurlygayanov: akuznetsova: can you please take a look at https://review.openstack.org/#/c/97904/ and help to resolve -1 from murano-ci?15:29
tnurlygayanovyes15:29
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Return to the same AppCatalog page from the modal forms  https://review.openstack.org/9811515:30
tsufievbtully, i've changed the 'Add to Env' button label for case with no environments ^^^^15:31
tsufievindex page is refreshed15:31
btullyoops15:31
btullyawesome! you can ignore my comment on the code review then ;)15:32
tsufievok :)15:33
tsufievby the way, there is notification in top right corner when an Environment is created15:33
ruhesjmc7: do you mind if i reassign https://blueprints.launchpad.net/murano/+spec/filter-flavor-for-each-service to Ryan? it seems that he is working on this BP15:33
btullyyes15:34
sjmc7yeah, ruhe, thanks15:34
btullythat was the notification i was suggesting we add text to15:34
sjmc7i'm unable to edit that one15:34
ruhesjmc7: done15:34
btullyworks like a charm tsufiev ! :D15:35
tsufievnice :)15:35
openstackgerritSteve McLellan proposed a change to stackforge/murano: Add API unit tests  https://review.openstack.org/9815715:35
ruhesjmc7: what milestone should i set for https://blueprints.launchpad.net/murano/+spec/api-unit-test-base ?15:43
ruhesjmc7: actually you can set it :)15:43
*** christop1eraedo has quit IRC15:45
*** christopheraedo has joined #murano15:46
*** gokrokve has quit IRC15:49
*** sergmelikyan has quit IRC15:59
sjmc7ruhe - yeah, i'll do it16:00
*** stanlagun has quit IRC16:00
btullyDid we ever agree upon a better term for the "Latest Apps" heading on the catalog index page?16:03
btullyalso, if the apps under "latest apps" are apps that have either been recently deployed or added to an env, does it make sense that the tiles in that section have the action buttons?16:05
*** sergmelikyan has joined #murano16:05
ruhesjmc7: one more thing about API tests. i suggest not to use DB migrations in these tests. just populate DB from SQLA metadata. There is a problem with them, they don't always work on sqlite. We went through a hell in StoryBoard to make this kind of tests work.16:07
sjmc7they seem to work ok. the only workaround was for foreign key constraints16:08
sjmc7so you mean just populate from models.py ?16:09
ruheright16:09
ruheone might rise a question - how can we make sure that DB migrations are in sync with what we populate from models.py? there is a patch to oslo-incubator (which is waiting for oslo.db release), which helps to that16:10
ruhe* to test that16:11
sjmc7yeah, it makes sense to test the migrations separately16:11
sjmc7ok, i'll make that change16:11
ruheand i also have test for migrations here https://review.openstack.org/#/c/96471/16:11
sjmc7ok. i guess it'll be simpler and faster not to use the migrations each time16:12
ruheyou can take a look how it's done in openstack-infra/storyboard16:13
*** sergmelikyan has quit IRC16:14
sjmc7ok, will do that16:15
*** openstackgerrit has quit IRC16:20
*** openstackgerrit has joined #murano16:20
openstackgerritSteve McLellan proposed a change to stackforge/murano: Add API unit tests  https://review.openstack.org/9815716:28
sjmc7done ruhe, thanks16:28
openstackgerritTimur Sufiev proposed a change to stackforge/murano-dashboard: Fix allow method of buttons at the Components page  https://review.openstack.org/9809016:32
ruhealready? you are ninja16:38
sjmc7i just close my eyes and hammer at the keyboard16:49
*** gokrokve has joined #murano17:27
openstackgerritSteve McLellan proposed a change to stackforge/murano: Add API unit tests  https://review.openstack.org/9815719:07
*** gokrokve_ has joined #murano19:26
*** gokrokve has quit IRC19:30
*** gokrokve_ has quit IRC19:38
*** gokrokve_ has joined #murano19:40
*** gokrokve_ has quit IRC19:57
*** gokrokve has joined #murano20:29
*** drupalmonkey has quit IRC20:29
*** gokrokve has quit IRC20:34
*** drupalmonkey has joined #murano20:36
*** gokrokve has joined #murano20:36
*** gokrokve has quit IRC20:47
*** asalkeld has joined #murano20:53
*** gokrokve has joined #murano21:44
*** drupalmonkey has quit IRC22:09
*** asalkeld is now known as asalkeld_afk22:22
openstackgerritSteve McLellan proposed a change to stackforge/murano: Add API unit tests  https://review.openstack.org/9815722:33
*** asalkeld_afk is now known as asalkeld23:05
openstackgerritSteve McLellan proposed a change to stackforge/murano: Add API unit tests  https://review.openstack.org/9815723:26
*** asalkeld has quit IRC23:31
*** asalkeld has joined #murano23:45

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