Tuesday, 2017-06-13

*** jwcroppe has joined #openstack-trove00:33
*** jwcroppe has quit IRC00:43
*** jwcroppe has joined #openstack-trove00:43
*** zhurong has joined #openstack-trove00:43
*** gouthamr has quit IRC01:42
*** zhaochao has joined #openstack-trove01:54
*** zhurong has quit IRC02:07
*** chlong has quit IRC02:42
*** itlinux_ has joined #openstack-trove02:43
*** itlinux_ has quit IRC02:51
*** gouthamr has joined #openstack-trove02:52
*** georgelorch has joined #openstack-trove03:10
*** Keverw has joined #openstack-trove03:21
*** itlinux_ has joined #openstack-trove03:47
*** itlinux_ has quit IRC03:49
*** chhavi has joined #openstack-trove03:50
*** zhurong has joined #openstack-trove03:51
*** flwang has quit IRC03:52
*** flwang has joined #openstack-trove03:53
*** itlinux_ has joined #openstack-trove03:54
*** gcb has quit IRC03:58
*** itlinux_ has quit IRC03:59
*** itlinux has joined #openstack-trove04:06
*** zhurong has quit IRC04:27
*** links has joined #openstack-trove04:32
*** zhurong has joined #openstack-trove04:33
*** itlinux has quit IRC04:54
*** gouthamr has quit IRC05:23
*** gcb has joined #openstack-trove05:30
*** jwcroppe_ has joined #openstack-trove05:31
*** jwcroppe has quit IRC05:32
*** gcb has quit IRC05:46
*** gcb has joined #openstack-trove05:46
*** rcernin has joined #openstack-trove06:05
*** pcaruana has joined #openstack-trove06:06
*** tesseract has joined #openstack-trove06:41
openstackgerritjian.song proposed openstack/trove master: Redis 'repl-backlog-size' conf parameter using wrong MIN value  https://review.openstack.org/47370907:03
*** damien_r has joined #openstack-trove07:13
*** zhurong has quit IRC07:55
*** zhurong has joined #openstack-trove09:06
*** damien_r has quit IRC09:55
*** zhurong has quit IRC10:20
*** smatzek has joined #openstack-trove10:30
*** smatzek has quit IRC10:42
*** zhurong has joined #openstack-trove10:43
*** magicboiz has joined #openstack-trove11:01
*** smatzek has joined #openstack-trove11:38
*** chlong has joined #openstack-trove11:56
*** damien_r has joined #openstack-trove12:03
*** openstackgerrit has quit IRC12:18
*** zhurong has quit IRC12:19
*** jwcroppe_ has quit IRC13:23
*** links has quit IRC13:33
*** georgelorch has quit IRC13:35
*** gouthamr has joined #openstack-trove13:36
*** jwcroppe has joined #openstack-trove13:37
*** Keverw has quit IRC13:41
*** itlinux_ has joined #openstack-trove14:22
*** georgelorch has joined #openstack-trove14:36
*** zhaochao has quit IRC14:37
*** itlinux_ has quit IRC14:41
*** danpawlik is now known as _danpawlik15:02
*** trevormc has joined #openstack-trove15:10
*** tesseract has quit IRC15:10
damien_ramrith:  Hello. I check your video, and it's not yet exactly what I'm looking for. In fact I have more issue with nova. When a customer spawn a trove database, it will create a Vm in the user Tenant. The problem is that the customer can make a nova rescue on it and inject anything in the Vm like this (via nova vnc acces). Do you have anything to prevent this ?15:42
*** pmackinn has joined #openstack-trove15:44
smatzekso you're worried about a user with permissions to be able to launch a Trove instance also having permissions to rescue the VM and break into the OS vs being locked in the DB only interface?  Wouldn't you handle that concern by making a group in Nova's policy.json for that user and then disallow them to call the rescue API?15:56
damien_rsmatzek:  it's exactly what we are thinking about( policy.json), we were just wondering if you have official documentation ? And which type of property we can use. Userid is the customer user id, tenant is of course the same16:08
damien_rglance image Id may be but it's not that clean16:10
*** damien_r has quit IRC16:13
*** openstackgerrit has joined #openstack-trove16:22
openstackgerritTrevor McCasland proposed openstack/trove master: Clean up H904 and add it to tox  https://review.openstack.org/47192316:22
smatzekdamien_r, The last time I worked a lot in Nova's policy.json was about 1.5 years ago so this may be a bit stale, but I think the idea would be you'd make a role for your trove users in Nova's policy.json.  You then use the rule to allow/disallow the trove users actions.16:24
smatzekyou make the users that can just do Trove stuff be in the trove role vs the admin role.16:25
*** itlinux_ has joined #openstack-trove16:26
smatzekI'm not aware of any documented list of Nova (or cinder, neutron, etc) policy.json API names such as 'os_compute_api:servers:create' that you would have to grant to the user for proper operation through Trove.  It would be a process of working through the use cases that are important to you.16:27
smatzekthe above comment should be "grant to the role" not user.16:27
*** trevormc has quit IRC16:34
*** rcernin has quit IRC16:41
smatzekamrith, you around?16:45
*** gmann has quit IRC16:57
amrithsmatzek trove does not use policy.json17:07
amrithand what makes you believe that trove users should not be able to launch nova vms?17:08
smatzekamrith, obviously trove users should be bale to launch vms.  I recall the other day you said trove doesn't use policy.json.  If damien_r wants to restrict users that are using Trove to launch instances from being able to Nova-rescue them then it could probably be done outside of Trove in Nova's policy.json.17:22
amrithso, doing a nova rescue can't do much for the user ...17:23
smatzekin order to do it you'd likely want to make a role in Nova's policy.json and make all your trove users be in that role, then use Nova's policy.json to allow/disallow Nova API calls while not disallowing ones that Trove needs.17:23
amrithlet them inject what they wish into the VM, not a problem17:23
*** chhavi has quit IRC17:25
smatzekwhat I wanted to ask you about it what type of prioritization I should put on trove review requests. I did some reviewing this morning. Some of the larger, more indepth ones are a bit out of my league to review but I can help do triage on the others as I did this morning.  Would you prefer I prioritize reviews that have no CR check above those that have been reviewed by others?  What about verified -1/+1, skip over ones that are failing verified17:26
smatzekin in the initial pass?17:26
*** itlinux_ has quit IRC17:56
*** itlinux_ has joined #openstack-trove17:56
openstackgerritMerged openstack/trove-dashboard master: Update launchpad link to trove-dashboard  https://review.openstack.org/44746518:00
*** itlinux_ has quit IRC18:23
*** rcernin has joined #openstack-trove18:26
*** itlinux_ has joined #openstack-trove18:31
*** trevormc has joined #openstack-trove18:54
*** pmackinn has quit IRC19:57
*** itlinux_ has quit IRC20:20
smatzektrevormc, as you noted in https://review.openstack.org/#/c/454205 it may not be worth tracking down why the secret change is breaking instance launch. However, I also like to understand why that change would do cause that breakage.20:25
smatzekI've been looking through the logs of that failure along with successful verify logs and am using it as a learning exercise for the create-instance path.  What I do know is that the Nova instance is up and running at the time of failure and it's likely some issue of comm between the trove conductor and the guest agent.20:26
trevormcsmatzek, hey I'm not sure what the issue is. I'm sure you're learning about the signs to early failures by looking into it though. I guess I could revert all the secret changes and see which config param is causing the issue and then look into it more.20:28
trevormcIt would be more of an experimental thing for me to do when I have more time.20:29
smatzekThe log statements are saying the instance creation from Trove's point of view never fails.  So it should be possible to recreate in a sandbox/dev environment outside of the gate by putting the code in place and running a simple DB instance launch.  I'm going to try that next, likely tomorrow.20:29
smatzekAt that point I could debug inside the DB instance VM, add more logging code, etc.20:30
smatzekagain, generally would be overkill for the bug fix debug, but as a learning exercise it's good.  I just wanted to give you a heads up that I'm working on that debug.20:31
*** itlinux_ has joined #openstack-trove20:32
*** smatzek has quit IRC20:48
*** pmackinn has joined #openstack-trove20:53
*** gouthamr has quit IRC21:03
*** trevormc has quit IRC21:14
*** gouthamr has joined #openstack-trove21:29
*** rcernin has quit IRC21:54
*** pmackinn_ has joined #openstack-trove22:02
*** pmackinn has quit IRC22:05
*** itlinux_ has quit IRC22:59
*** pmackinn_ has quit IRC23:14
*** jwcroppe has quit IRC23:20
*** jwcroppe has joined #openstack-trove23:33
*** jwcroppe has quit IRC23:38
*** jwcroppe has joined #openstack-trove23:42

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