20:00:06 #startmeeting horizondrivers 20:00:08 Meeting started Wed Jan 6 20:00:06 2016 UTC and is due to finish in 60 minutes. The chair is robcresswell. Information about MeetBot at http://wiki.debian.org/MeetBot. 20:00:09 Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. 20:00:11 The meeting name has been set to 'horizondrivers' 20:00:23 o/ 20:01:01 o/ 20:01:07 my first one as a Driver 20:01:56 I'll give it a minute see if more people drift in 20:02:21 o/ 20:02:34 o/ 20:03:03 #link https://wiki.openstack.org/wiki/Meetings/HorizonDrivers#Agenda_for_2015-01-06_2000_UTC Agenda for today 20:04:21 I won't repeat the notices from earlier (saves more time for blueprints) 20:04:31 oic, there's homework for these meetings :-) 20:04:35 But if you haven't checked the logs, here you go http://eavesdrop.openstack.org/meetings/horizon/2016/ 20:04:49 There's a few things, like the midcycle, that were spoken about. 20:04:57 Now down to work! 20:05:00 robcresswell, you forgot the note on checking tests 20:05:02 o/ 20:05:24 since tests seem to be broken somehow, at least some failures are tolerated 20:05:37 Sure 20:05:39 reviewers, please be careful and run tests yourself 20:05:49 I was going to just let people read the logs to save time :p 20:06:14 In short, tests don't always fail due to errors, so its worth looking at test logs or running them yourselves even if Jenkins says they pass. 20:06:29 robcresswell, we didn't had that in earlier meeting 20:06:32 iirc 20:06:36 we did 20:06:44 robcresswell did bring it up 20:06:47 I think I mentioned it before you joined perhaps 20:06:50 oh :-O 20:06:59 maybe yes. 20:07:07 just prved I did not read the logs 20:07:08 Is your minion around? itxaka? 20:07:18 seems not 20:07:32 #topic Allow launching an instance with ports attached 20:07:39 he should, but is not :( 20:07:44 #link https://blueprints.launchpad.net/horizon/+spec/allow-launching-ports 20:08:54 I rather like this change. Seems straightforward. 20:09:09 that spec could use a link to supporting documentation :/ 20:09:12 there is this reature named SR-IOV 20:09:20 and this is a prerequisite 20:09:31 Ah 20:09:40 some network guys really like this feature, but we don't support it yet 20:10:35 we ran into issues with the SR-IOV patch IIRC because we can't query for whether it's supported 20:10:47 but that's a distraction from this bp 20:10:50 r1chardj0n3s: Agreed on needing more info 20:11:11 But I think not worth blocking over. Approve, and leave comment asking for links to docs? 20:11:21 sounds good to me 20:11:29 +1 20:11:35 I'm obviously biased here... 20:11:41 not voting 20:11:52 if it cannot be done, we could just change it to Needs Infrastructure, couldn�t we? 20:11:56 but yes, +1 for requesting more docs 20:12:16 +1 20:12:19 just to be clear 20:13:23 #info https://blueprints.launchpad.net/horizon/+spec/allow-launching-ports Approved (but needs a little extra detail on blueprint) 20:13:56 #topic Allow add/delete networks ports as a tenant 20:14:06 #link https://blueprints.launchpad.net/horizon/+spec/network-ports-tenant 20:14:51 I was intially against the idea because I saw no real value - but perhaps I was wrong 20:14:57 robcresswell - so default neutron policy file allows this then ? 20:15:51 ducttape_, https://github.com/openstack/horizon/blob/master/openstack_dashboard/conf/neutron_policy.json#L43 20:16:02 why don't we allow this, if policy allows this? 20:16:03 seems that �create_port� is allowed 20:16:10 Wait, am I supposed to have memorised neutrons policy files? 20:16:12 but many other operations are not 20:16:21 robcresswell, ^^^ 20:16:54 yeah, I think this was not done just because this is not a likely thing most _member_ users would utilize 20:17:07 I�d like to hear feedback from neutron-oriented people 20:17:26 If default policy allows it, it seems we should follow that. At least, there is no reason to block it if the change is written for us to use. 20:17:42 what is the use case for creating a port without the other side (like a vm) ? 20:17:57 * mrunge got the impression, this is another part required for SR-IOV 20:18:27 iirc, itxaka initial proposal was to enable port creation for regular users - to later use during vm launch 20:18:38 Ideally I'd ask the blueprint owner, but they aren't here. 20:18:46 instead I suggested to specify a port right during vm launc 20:18:53 to provide better UX 20:19:07 (since the primary use case for port creation is to use for vm) 20:19:09 I think, leave a comment asking for more info, and leave to next meeting? 20:19:15 deal 20:19:18 +1 20:19:21 yepp, +1 20:19:57 sounds good +1 20:20:03 and even if it's denied by default policy, we don't even have the action for a normal user 20:20:16 if it's being enabled in policy 20:20:41 we should take policy into account. if it's allowed: fine. 20:20:42 #info https://blueprints.launchpad.net/horizon/+spec/network-ports-tenant Left comment asking for more info, put to side for now 20:21:10 #topic Configurable Instance Boot Source list for launch instance 20:21:18 #link https://blueprints.launchpad.net/horizon/+spec/configurable-boot-sources 20:22:15 this is a end user request: be able to restrict boot sources to a limited selection 20:22:34 like preventing to boot from an image, or from volumes 20:22:48 or a set of images / volumes ? 20:22:49 o/ 20:22:57 sorry Im a bit late :( 20:23:00 Ah 20:23:03 No problem 20:23:06 itxaka, good to have you here 20:23:13 we'll circle back to the previous BP if there is time at the end 20:23:26 Currently on the third agenda item 20:23:26 Good :) 20:23:28 that's my question robcresswell .... 20:23:38 https://blueprints.launchpad.net/horizon/+spec/configurable-boot-sources <- that is 20:23:50 so mrunge - would this be a list of images or volumes, like a subset ? 20:24:12 This would actually be the source for boot, it being images or volumes or snapshots 20:24:18 ducttape_, should we encourage hardcoding :/? 20:24:19 ducttape_, not in this implementation 20:24:21 I think its just the options, not as deep as specific choices 20:24:37 ah ok, thanks for clarification 20:24:41 yeah, only the source as a generic option rather than going deeper than that 20:24:42 we shouldn't list image ids (or so) to prevent booting from them 20:25:13 and for images, there is the bootable flag 20:25:30 that bp sounds simple / reasonable 20:25:31 but that is not useful to prevent booting from images in general 20:25:59 This seems sensible. I'm unaware if there are any conflicting options already available. 20:26:31 +1 from me, anyway 20:26:40 I just had a look to see whether nova already had a facility for configuring boot types, and couldn't see anything 20:26:45 so +1 20:27:03 (it seems a shame we're coding this into our side) 20:27:05 r1chardj0n3s: two steps ahead of me 20:27:15 Yeah, I agree, but its a useful option 20:27:24 +1 20:27:45 deployers should realize that this does not prevent the cli from working around this 20:27:50 r1chardj0n3s, that�s not the first instance of doing things on our side :) 20:27:58 btw I'd prefer something like INSTANCE_SOURCE_OPTIONS than openstack source boot, that sounds too vague 20:28:06 If its specific to launching instances. 20:28:21 tsufiev: yep, but I also know what some people default to configuring on Horizon side when the service has a setting we should be using 20:28:38 s/what/that 20:28:43 robcresswell, sounds sensible 20:29:06 #info https://blueprints.launchpad.net/horizon/+spec/configurable-boot-sources Approved 20:29:20 #topic Performance & convenience improvements to integration tests, part1 20:29:29 #link https://blueprints.launchpad.net/horizon/+spec/integration-tests-improvements-part1 20:29:29 r1chardj0n3s, that�s a shame. Shame for documentation team, of course :) 20:29:51 so, it�s as simple as it is 20:30:20 make integration tests faster (will be more important as number of tests raises), make the internals saner 20:30:42 that'd be nice :) 20:30:46 I chose �part1� suffix because there possibly will be other parts to 20:30:50 *to it 20:31:10 something something premature optimisation :p 20:31:19 ^^ ;-) 20:31:20 tsufiev, any chance to stretch that over several releases? 20:31:27 I think current list of patches https://review.openstack.org/#/q/topic:bp/integration-tests-improvements-part1 is now final, there won�t be more for part1 20:31:40 it might be the case we're not done with mitaka release 20:31:56 I don't disagree with the effort, but in the opening paragraph you mention that most of the time is spent on devstack, not the tests 20:32:08 But hey, good patterns are useful. 20:32:34 I just wouldn't recommend chasing performance too much over more tests :) 20:32:46 robcresswell, the reason I did it so early is because refactoring becomes more expensive at time passes 20:32:54 tsufiev: Yep, understood 20:33:00 especially with horizon plugins building integration tests on it 20:33:19 any chance to make integrations tests being run in parallel? 20:33:41 mrunge, haven�t investigated yet it on my own 20:33:56 I'm fine with the blueprint itself. 20:34:05 but that I would call premature optimization :) 20:34:09 not sure if that's really feasible 20:34:19 mrunge, I�m afraid it could them less reliable 20:34:24 yes, +1 from my side 20:34:25 could do* 20:34:39 r1chardj0n3s, itxaka, hurgleburgler ? 20:34:51 +1 20:34:52 +1 from me, any test improvements are always welcome 20:35:06 tsufiev, yes. I thought about relying on earlier states during test execution. 20:35:13 #info https://blueprints.launchpad.net/horizon/+spec/integration-tests-improvements-part1 Approved 20:35:24 #topic Enhance the use of tox 20:35:31 #link https://blueprints.launchpad.net/horizon/+spec/enhance-tox 20:35:36 yay 20:35:48 basically, lets use tox as its supposed to be used 20:35:57 and try to deprecate run_tests.sh 20:36:07 like any other openstack project :D 20:36:14 \o/ 20:36:21 +1 20:36:25 iirc, horizon is the only (larger) openstack project, which uses something else other than tox 20:36:33 Yup 20:36:33 sounds very nice, I wonder what was the reason to use it in the first time 20:36:37 I mean, we have our own script 20:36:43 I even recommend the plugins to use it 20:37:02 so we would eliminate run_tests.sh altogether, or just it's support for running tests / pep8 / etc ? 20:37:05 robcresswell, you recomend tox or run_tests? 20:37:12 itxaka: tox 20:37:27 ducttape_, at the end, we should be removing run_tests 20:37:29 ducttape_, for the moment it replaces run_tests 20:37:43 but I didnt remove run_tests 20:37:53 There's more external work involved in removing run tests 20:37:59 translations depends on it, for a start 20:38:00 as it requires updating docs, maybe some infra changes? 20:38:18 robcresswell, yep, thats my point 20:38:23 sure 20:38:30 but we could add a warning 20:38:31 unfortunately I still dont have enough visibility on what could be affected :S 20:38:39 just to see, where the warning will show up 20:38:46 how do you run a django dev server with tox? /me looks into our tox options 20:38:54 like: run_tests is being deprecated 20:39:21 ducttape_, btw, why do we need tox or run_tests to run dev server? 20:39:22 ducttape_, line 169 in the review 20:39:26 tox -e runserver 20:39:27 :D 20:39:44 Or just whatever the actual command is... manage.py runserver? 20:39:48 ducttape_, is �tools/with_venv.sh ./manage.py runserver� not enough? 20:39:57 yep) 20:39:59 yeah but you need a .venv for runniing that directly 20:40:12 why not use tox as it sets everything for you :D 20:40:20 yeah thats all fine / good. thanks for the points. (I'm stuck in my ways) 20:40:21 I'm always in a venv :D 20:40:24 * mrunge is running the server without venv 20:40:29 itxaka, because with tox you cannot alter dependenices easily 20:40:30 I mean devserver 20:40:35 for example, django_openstack_auth 20:40:54 tsufiev: ? 20:41:23 oh, but you can, exactly like with venv tsufiev 20:41:29 robcresswell, ah, nevermind, on a second thought tox and install_venv are equally bad ) 20:41:30 tsufiev, do you mean, you want to use a git checkout of doa and another one of horizon? 20:41:32 It would be trivially easy and somewhat nice to add a tiny "run_sev_server.sh" script. I think people would likely appreciate that. Even it it's effectively an alias to ./manage.py runserver 20:42:03 run_dev_server.sh * 20:42:46 mrunge, sorry, I was mixed my own experience with install_venv specifics. I personally run both in pycharm and need to uninstall DOA each time I add it to PyCharm env 20:43:01 so tox doesn�t make it any worse 20:43:16 tsufiev, ah, got you. 20:43:32 So, vote time. 20:43:40 +1 20:43:41 tox is fine / wfm 20:43:43 +1 20:43:45 +1 20:43:45 +1 20:43:53 +1 20:44:14 btw, it's only a single patch to play with: https://review.openstack.org/#/c/259013/ 20:44:32 and don�t forget to read all the logs ;) 20:45:01 while playing with tox, you'll immediately see the logs 20:45:22 #info https://blueprints.launchpad.net/horizon/+spec/enhance-tox Approved 20:45:29 robcresswell, time to get back to https://blueprints.launchpad.net/horizon/+spec/network-ports-tenant ? 20:45:37 Lets loop back round to itxaka other patch 20:45:38 yes 20:45:40 mrunge, unless you go away to fetch some coffee while it�s warming up :) 20:45:42 give me a moment :p 20:45:50 ./run_test.sh -> echo "you really want to use tox -e foo" ;) 20:46:12 #topic Back to "Allow add/delete networks ports as a tenant" 20:46:21 #link https://blueprints.launchpad.net/horizon/+spec/network-ports-tenant 20:46:27 tsufiev, lol 20:46:49 yay o/ 20:46:54 itxaka: So, policy allows this. The question earlier was what's the use case 20:47:13 the reasoning for that is we are virtually not allowing users to create their own ports while they can do it trougth the cli 20:47:16 and what effort is this building toward; mrunge mentioned sriov 20:47:29 plus it links with https://blueprints.launchpad.net/horizon/+spec/allow-launching-ports 20:47:37 why is this more useful than just having the port automatically created ? 20:47:57 yeah basically if as an user I want to launch an instance with a port attached, I need an admin to add ports to a network that I created 20:48:11 or to use the cli, yes 20:48:18 why not allow users to set up their own ports as with the cli 20:48:29 so they can add ports and then launch an instance attached to those ports 20:48:30 :) 20:48:31 I'm just not sure what the use case where a user cares about the port is 20:48:57 I don't see much of an issue with Horizon adding the option and letting it be controlled by policy 20:49:02 would it be something related to getting the same ip reused? 20:49:46 ducttape_, no idea about that tbh 20:50:24 but I know that adding the port options to be created by the user is not a really big change (99% of the code is the admin one) 20:50:54 but it allows for advanced configuration to be used afterwards on instance launch 20:51:06 It's ok, I don't object to this.... but it's like adding lower level network buttons and actions just because we can. Not sure if this is more useful or confusing 20:51:29 and by advanced configuration, I mean selecting ports which could be using SR-IOV for example 20:51:39 the few people that will create ports ahead of time, are probably not spending much time in horizon ;) 20:51:40 not sure if its just because we can 20:51:58 shouldnt we respect that if a user expects to do x in the cli he can do the same trougth GUI? 20:52:17 hopefully, more easily than trougth cli? 20:52:18 I think in this case it's not really Horizons job to decide that though. The action can be blocked just as easily with a rule change. 20:52:36 perhaps, but there is a usability concern in not confusing or overwhelming the users too 20:52:48 ducttape_, +1 20:52:58 but you could change the policy 20:53:10 and policy should block that one then 20:53:14 True, but I don;t think one table action is really overwhelming users, and if the company has a concern, they can just block it with policy 20:53:34 I mean, its not like we just sat them down in front of transfer tables for the first time 20:53:36 but I might have lots of cli low level options I want technically possible, but I don't want 100% of them in the UI 20:53:37 * robcresswell ducks 20:54:19 Anyone else for/against? 20:54:46 it seems like there's a need, even though there's potential UI complexity issues, so I'm happy to +1 20:54:48 I'm not against btw. Not really for either. Is "meh" an option ? 20:54:59 itxaka, is that required for any of the other blueprints? 20:55:02 ducttape_: +0 I believe :-) 20:55:03 * tsufiev abstains 20:55:04 I do thinks ports are an important part of openstack, after reading more and more about them :) 20:55:04 or -0 20:55:12 if that's a blocker.... 20:55:17 ha 20:55:22 I think approve it 20:55:28 itxaka - would delete port be an option then too ? 20:55:40 yeah, same options that are on the admin side I believe 20:55:47 that becomes a problem then 20:55:52 just transferred to run under tenant if the policy allows it 20:56:11 ducttape_, according to policy delete_port is for admin or owner 20:56:14 why is that a problem ducttape_ 20:56:19 if you allow delete ports, it is not easy to re-create the same port - and your instance then becomes 100% dead 20:56:34 hm... 20:56:40 this is why it is in the cli, but not in the UI 20:56:57 if you are deleting ports, you better know what you are doing 20:56:58 Perhaps Add/ Del should be different proposals, itxaka 20:57:04 ducttape_, is it possible to delete a port used by running VM? 20:57:08 so: create for the user, but delete for admin? that's fine 20:57:28 but user created port == owner 20:57:34 This is making me think a lot about where Horizon should intervene with default policy... 20:57:37 tif the policy allows for it...? 20:57:45 tsufiev - yes, you can delete a port for a running vm. at that point, the vm has 0 networking 20:58:02 ducttape_, I think we should restrict that in Horizon 20:58:14 yepp, agree tsufiev 20:58:28 We're almost at time. 20:58:45 I think for now the bp needs to be split to at least add/delete as separate proposals 20:58:51 And then we can revisit it 20:58:56 nice, will do 20:59:01 We may get more opinions in a couple weeks too. It that okay? 20:59:21 s/It/Is 20:59:30 thanks for all the comments, Im not that good with the networking stuff :) 20:59:41 so its always nice to get good info 20:59:57 #info https://blueprints.launchpad.net/horizon/+spec/network-ports-tenant Needs to be split, so that add/delete are separate proposals, and then we will revisit 21:00:13 Time! Thanks all 21:00:18 o/ 21:00:20 #endmeeting