Thursday, 2017-03-09

*** zz_dimtruck is now known as dimtruck00:01
*** david-lyle has joined #openstack-barbican00:08
*** david-lyle has quit IRC00:15
*** dave-mccowan has joined #openstack-barbican00:26
*** hoangcx has joined #openstack-barbican00:41
*** catintheroof has quit IRC00:46
*** zhurong has joined #openstack-barbican00:47
*** ngupta has quit IRC00:53
*** david-lyle has joined #openstack-barbican00:54
*** ngupta has joined #openstack-barbican00:54
*** david-lyle has quit IRC00:54
*** ngupta has quit IRC00:59
*** dave-mccowan has quit IRC01:02
openstackgerritMerged openstack/castellan master: Fix gate failure on pep8  https://review.openstack.org/44023101:06
openstackgerritMerged openstack/barbican master: Changed the python3.4 to python3.5  https://review.openstack.org/44228701:09
*** liujiong has joined #openstack-barbican01:11
*** namnh has joined #openstack-barbican01:21
openstackgerritMerged openstack/python-barbicanclient master: Make test directory more specific  https://review.openstack.org/43824901:24
openstackgerritMerged openstack/python-barbicanclient master: Fix gate failure on pep8  https://review.openstack.org/44023401:29
openstackgerritMerged openstack/barbican master: Failed to set up a dev env on ubuntu  https://review.openstack.org/43938401:30
openstackgerritMerged openstack/barbican master: Fix the typo  https://review.openstack.org/44163601:40
*** dave-mcc_ has joined #openstack-barbican01:50
*** david-lyle has joined #openstack-barbican01:52
*** Kevin_Zheng has joined #openstack-barbican02:17
openstackgerritMerged openstack/castellan master: Removes unnecessary utf-8 encoding  https://review.openstack.org/43779602:25
openstackgerritMerged openstack/barbican master: [Fix gate]Update test requirement  https://review.openstack.org/44054702:34
openstackgerritMerged openstack/python-barbicanclient master: Replaces uuid.uuid4 with uuidutils.generate_uuid()  https://review.openstack.org/40669802:38
*** ngupta has joined #openstack-barbican02:39
*** ngupta has quit IRC02:41
*** ngupta has joined #openstack-barbican02:42
openstackgerritMerged openstack/barbican master: Update local.conf.example  https://review.openstack.org/43717002:51
*** dave-mcc_ has quit IRC02:54
*** namnh_ has joined #openstack-barbican02:54
openstackgerritJeremy Liu proposed openstack/barbican master: Correct the doc link  https://review.openstack.org/43286102:54
*** namnh has quit IRC02:56
openstackgerritMerged openstack/castellan master: Updated from global requirements  https://review.openstack.org/43842603:11
openstackgerritMerged openstack/barbican master: Trivial Fix: Replace http with https  https://review.openstack.org/43925903:12
openstackgerritKiran Totad proposed openstack/python-barbicanclient master: barbicanclient does not catch exceptions thrown by "secrets.payload" API  https://review.openstack.org/44185603:57
*** namnh_ has quit IRC03:59
openstackgerritKiran Totad proposed openstack/barbican-tempest-plugin master: Removes unnecessary utf-8 encoding  https://review.openstack.org/44236803:59
*** tinwood has quit IRC04:05
*** tinwood has joined #openstack-barbican04:06
*** jamielennox is now known as jamielennox|away04:13
*** KeithMnemonic has quit IRC04:14
*** chris_hultin|AWA is now known as chris_hultin04:24
openstackgerritKiran Totad proposed openstack/barbican master: Replace deprecated library function os.popen() with subprocess  https://review.openstack.org/44234404:30
*** chris_hultin is now known as chris_hultin|AWA04:43
*** jamielennox|away is now known as jamielennox04:47
*** tdink has quit IRC05:07
*** totadkiran has joined #openstack-barbican05:12
*** ngupta has quit IRC05:19
openstackgerritKiran Totad proposed openstack/barbican master: Replace deprecated library function os.popen() with subprocess  https://review.openstack.org/44234405:20
*** ngupta has joined #openstack-barbican05:20
*** ngupta has quit IRC05:24
*** hoangcx_ has joined #openstack-barbican06:58
openstackgerritKiran Totad proposed openstack/barbican master: Use uuidutils instead of uuid.uuid4()  https://review.openstack.org/44344207:00
*** hoangcx has quit IRC07:00
*** hoangcx has joined #openstack-barbican07:03
*** hoangcx_ has quit IRC07:05
*** jamielennox is now known as jamielennox|away07:09
*** andreas_s has joined #openstack-barbican07:22
openstackgerritKiran Totad proposed openstack/python-barbicanclient master: Updated from global requirements  https://review.openstack.org/44344807:23
*** jamielennox|away is now known as jamielennox07:27
*** hoangcx_ has joined #openstack-barbican07:30
*** hoangcx has quit IRC07:33
*** hoangcx has joined #openstack-barbican07:34
*** databus23_ has joined #openstack-barbican07:34
*** mkoderer_ has joined #openstack-barbican07:34
*** david_1 has joined #openstack-barbican07:34
*** databus23_ has quit IRC07:36
*** mkoderer_ has quit IRC07:36
*** david_1 has quit IRC07:36
*** hoangcx_ has quit IRC07:37
*** dimtruck is now known as zz_dimtruck07:37
*** totadkiran has quit IRC08:01
openstackgerritTuan Luong-Anh proposed openstack/barbican master: Indicate located tests directory in oslo debug  https://review.openstack.org/44346008:03
*** totadkiran has joined #openstack-barbican08:26
*** jaosorior has joined #openstack-barbican08:28
openstackgerritKiran Totad proposed openstack/barbican master: Use uuidutils instead of uuid.uuid4()  https://review.openstack.org/44344208:34
openstackgerritNam Nguyen Hoai proposed openstack/barbican master: Update link reference  https://review.openstack.org/44351309:01
openstackgerritKiran Totad proposed openstack/barbican master: Replace deprecated library function os.popen() with subprocess  https://review.openstack.org/44234409:09
openstackgerritNam Nguyen Hoai proposed openstack/barbican master: Update link reference  https://review.openstack.org/44351309:14
*** namnh has joined #openstack-barbican09:26
openstackgerritKiran Totad proposed openstack/barbican master: Use uuidutils instead of uuid.uuid4()  https://review.openstack.org/44344209:30
openstackgerritKiran Totad proposed openstack/barbican master: Use uuidutils instead of uuid.uuid4()  https://review.openstack.org/44344210:03
*** namnh has quit IRC10:06
*** liujiong has quit IRC10:19
*** hoangcx has quit IRC10:27
*** liujiong has joined #openstack-barbican11:58
openstackgerritKiran Totad proposed openstack/barbican master: Use uuidutils instead of uuid.uuid4()  https://review.openstack.org/44344212:06
*** mkoderer_ has joined #openstack-barbican12:06
*** databus23_ has joined #openstack-barbican12:06
*** seife_ has joined #openstack-barbican12:06
*** david_1 has joined #openstack-barbican12:06
*** zhurong has quit IRC12:08
*** seife_ has quit IRC12:08
*** databus23_ has quit IRC12:08
*** mkoderer_ has quit IRC12:08
*** david_1 has quit IRC12:08
openstackgerritNam Nguyen Hoai proposed openstack/barbican master: Update link reference  https://review.openstack.org/44351312:14
*** totadkiran has quit IRC12:15
*** dave-mccowan has joined #openstack-barbican12:57
*** jaosorior is now known as jaosorior_brb13:03
*** chlong_ has joined #openstack-barbican13:33
*** kfarr has joined #openstack-barbican13:46
*** namnh has joined #openstack-barbican13:49
namnhdave-mccowan: Hi Dave, I am doing the tasks on this RFE: https://bugs.launchpad.net/barbican/+bug/1670946. I see that Barbican is missing barbican-worker service when we install via Devstack. Do you think I should add the service?13:55
openstackLaunchpad bug 1670946 in Barbican "[RFE] Support rolling upgrade in Barbican" [High,In progress] - Assigned to Nam (namnh)13:55
dave-mccowanhi namnh, thanks for working on this feature.13:56
dave-mccowannamnh definitely, if you see a problem with the devstack deployment, please submit a patch.  i have not heard of this problem before.  is it a special case?13:57
namnhdave-mccowan: that is a small problem, I see that installing via docs.openstack.org have barbican-worker service. But when we install by Devstack, it doesn't have this service, there are only two services: barbican-api and barbican-retry.14:02
namnhdave-mccowan:Here is docs: https://docs.openstack.org/project-install-guide/key-manager/ocata/install-ubuntu.html14:04
dave-mccowannamnh how do you know the barbican-worker service isn't running with devstack?14:10
namnhdave-mccowan: here is the code to show it: https://github.com/openstack/barbican/blob/master/devstack/lib/barbican#L18014:11
namnhdave-mccowan: as you can see, we don't have a line to start the service14:11
kfarrdave-mccowan namnh I can confirm that when I use the barbican devstack plugin, there's not a service called barbican-worker14:13
kfarrthere's barbican-svc and barbican-retry14:14
*** zz_dimtruck is now known as dimtruck14:15
kfarrI'm pretty sure there's not a problem though14:17
kfarrFor example, when you install glance in ubuntu, you can say apt-get install glance14:17
namnhkfarr: you are right, however I am wondering we don't need the service when using devstack plugin14:19
*** liujiong has quit IRC14:21
kfarroh sorry, didn't finish: but in devstack, there's a few processes running: g-api, g-reg14:21
*** alee has quit IRC14:22
namnhyes, I am reading14:23
kfarrnamnh, I'm looking through https://github.com/blueboxgroup/barbican/tree/master/bin to see what barbican-worker does14:25
kfarralso, it looks like we used to have barbican-worker scripts in the barbican repo, but they aren't there anymore14:30
kfarr** kfarr wonders if this is an issue14:30
namnhkfarr: about the barbican devstack plugin does not have barbican-worker :) ?14:31
kfarrnamnh can you say again why you think there should be a service called barbican-worker?14:37
namnhkfarr: because when I install Barbican via docs [1], we need to install Barbican-worker and actually there a barbican-worker service running on my system. But using devstack to install, I don't have it.14:39
namnhkfarr: I am tesing upgrade from N -> O release, I want to run all services in Barbican to ensure that there are not any problems or package conflict14:40
namnh[1] https://docs.openstack.org/project-install-guide/key-manager/ocata/install-ubuntu.html14:40
kfarrright right, thanks14:40
dave-mccowankfarr namnh i just started devstack.  with "ps -aux  | grep barbican", i see 5 processes.  I believe 2 API, 2 worker, and 1 retry.14:40
*** jaosorior_brb is now known as jaosorior14:43
*** dimtruck is now known as zz_dimtruck14:43
*** strigazi has quit IRC14:44
namnhdave-mccowan: really, with devstack?14:44
dave-mccowannamnh yes, devstack14:45
*** ngupta has joined #openstack-barbican14:48
namnhdave-mccowan: that's surprise, today, I've installed barbican with devstack on Newton release. Actually, the result when I show screen is to have only two services (api, retry), I will check it again on tomorrow due I am home :)14:51
namnhdave-mccowan: I cannot remote to my sever :)14:51
dave-mccowannamnh with "screen -x stack", I see two services.  with "ps -aux | grep barbican", I see 5 processes.14:52
dave-mccowanjaosorior ping ^^^14:54
dave-mccowanjaosorior do you have more insight into how barbican workers are started?14:54
jaosoriordave-mccowan: ??14:54
jaosoriorit really depends; in some deployments you might not even start workers at all.14:54
jaosoriorbut for devstack I don't knoiw14:54
dave-mccowannamnh is working on testing our upgrade path.  he's seeing different stuff comparing devstack and installing from packages.14:55
dave-mccowan /usr/local/bin/uwsgi --ini barbican-api.ini     <--- is that a worker process?14:56
namnhdave-mccowan: IMO, when worker is running, there is a exchange in rabbitmq releated to "barbican", could you run command: "sudo rabbitmqctl list_exchanges"14:57
dave-mccowan uwsgi --master --emperor /etc/barbican/vassals      <-----  this is an api process, right?14:57
namnhdave-mccowan: do you see a "barbican" name which is showed?14:57
namnhdave-mccowan: that's right14:58
namnhdave-mccowan: barbican-api is using uwsgi to start14:58
dave-mccowannamnh i do not see a "barbican" listed by name in the rabbitmqctl list14:59
*** tdink has joined #openstack-barbican14:59
namnhdave-mccowan: I believe that if worker is running, we should one or two exchanges releated to barbican/worker15:00
kfarrYeah, I just confirmed, I have two VMs, one with devstack, the other with barbican installed from package15:01
kfarron the one installed from package, I see the rabbitmq exchange15:02
kfarrbut not on the devstack one15:02
dave-mccowankfarr interesting.  is there a difference in barbican.conf?  it looks like the [queue] section may control worker tasks.15:03
namnhdave-mccowan: I also wrote a scripts to install barbican without keystone authentication https://github.com/NguyenHoaiNam/Setup-Barbican-without-Keystone15:04
*** strigazi has joined #openstack-barbican15:04
namnhdave-mccowan: if you want to fast test with package15:04
namnhkfarr: it means there is not worker on devstack, right?15:04
kfarrdave-mccowan, I used the default conf for both, both have [queue] enabled = False15:06
kfarrnamnh, I was trying to trace through what calls where made depending on whether you use devstack or package15:06
kfarrand it looks like devstack never creates a worker15:07
kfarrbut it still works, it seems to create the uwsgi app directly15:07
kfarrthough I'm not entirely clear on what a worker is15:08
namnhkfarr: I think this line show that: https://github.com/openstack/barbican/blob/master/devstack/lib/barbican#L18015:08
kfarrnamnh right, exactly15:09
kfarrand here's what's getting called when installed from a package: https://github.com/openstack/barbican/blob/master/barbican/cmd/worker.py#L52-L7015:09
namnhkfarr: you are right. I also need to make clean about worker.15:12
*** alee has joined #openstack-barbican15:13
namnhdave-mccowan, kfarr: How do you think about adding worker to devstack plugin?15:13
*** zz_dimtruck is now known as dimtruck15:14
*** chlong_ has quit IRC15:17
dave-mccowannamnh some barbicaneers who are most familiar with the architecture aren't online yet today.  i'll check with them later to find out about this difference and what should be done.15:17
*** agrebennikov has joined #openstack-barbican15:20
namnhdave-mccowan: I see, thanks. so tomorrow, I am going to make a bug related to this and wait for your decision on tomorrow. is that ok?15:24
dave-mccowannamnh yes.  thank you for finding this and bring it to our attention.  if you open a bug now, i will try to get our experts to add comments to it today (US Time Zones)15:26
namnhdave-mccowan: btw, could you please review this patch [1] for me, it's fixed to run barbican-api with python not uwsgi. it's usefull for debug15:27
namnh[1] https://review.openstack.org/#/c/442267/15:27
namnhdave-mccowan: ok, I can do it but I cannot add more description  for it now because I don't have sever to show log. is that ok?15:31
namnhdave-mccowan: now I am at home15:31
namnhdave-mccowan: For the link [1], I tested it also15:32
dave-mccowannamnh for the bug, that's OK.15:33
dave-mccowannamnh thanks for the patch to barbican-api.  i added redrobot to review it, since he wrote that script.15:34
dave-mccowannamnh thanks for staying up late with us tonight. :-)15:35
namnhdave-mccowan: here it is: https://bugs.launchpad.net/barbican/+bug/1671524 . I am going to add more description on tomorrow :)15:39
openstackLaunchpad bug 1671524 in Barbican "There is not barbican-worker service when running with Devstack" [Undecided,New]15:39
dave-mccowannamnh thank you!15:39
namnhdave-mccowan: No problem, I am glad to discuss with all of you15:39
namnhdave-mccowan: thanks for your time :-)15:40
dave-mccowanthank you for your time.15:40
dave-mccowanare you planning on coming Boston in May?15:40
namnhI really want it but I cannot. I also registered PTG, unfortunately I was not choosed15:43
namnhdave-mccowan:15:43
dave-mccowannamnh maybe next time then....15:44
namnhdave-mccowan: I hope so too. Now I have to off now. Have a good day.15:46
namnhkfarr: Have a good day :)15:47
kfarrnamnh have a good one!15:47
*** namnh has quit IRC15:50
*** KeithMnemonic has joined #openstack-barbican15:58
*** jaosorior has quit IRC15:59
*** chris_hultin|AWA is now known as chris_hultin16:00
*** jaosorior has joined #openstack-barbican16:19
*** andreas_s has quit IRC16:32
*** ngupta has quit IRC17:11
*** ngupta has joined #openstack-barbican17:12
*** ngupta has quit IRC17:18
*** ngupta has joined #openstack-barbican17:18
*** sapcc-bot2 has joined #openstack-barbican17:25
*** sapcc-bot has quit IRC17:25
*** jaosorior has quit IRC17:29
*** kfarr has quit IRC17:40
*** ngupta has quit IRC17:43
*** ngupta has joined #openstack-barbican17:43
*** KeithMnemonic has quit IRC17:47
*** ngupta has quit IRC18:36
*** ngupta has joined #openstack-barbican18:37
*** kfarr has joined #openstack-barbican19:03
kfarrdave-mccowan, have you heard back yet about the summit proposals?19:04
dave-mccowankfarr nope, nothing yet.19:04
kfarrI noticed the proposals are now listed on each of our speaker pages, but not sure if that means they've been accepted or not19:04
kfarrhttps://www.openstack.org/summit/boston-2017/summit-schedule/speakers/21019:04
dave-mccowankfarr :-O19:05
* dave-mccowan not sure if i really want have 4 sessions19:05
dave-mccowankfarr with an exact day and time, it looks they were accepted19:07
kfarrYeah I haven't gotten any emails yet either, was afraid I had missed something19:07
kfarrmaybe those are just all proposals, not just the ones that have been accepted19:07
kfarrOh!  But they've been assigned times19:08
kfarrso that means they're part of the schedule19:08
kfarrso you're part of 4 presentations dave-mccowan19:08
dave-mccowankfarr :-O19:09
dave-mccowanthere's one more too... i was asked if Barbican would like to do an "Onboarding Session" targeted to new contributors.19:10
*** david-lyle has quit IRC19:14
*** ngupta has quit IRC19:14
*** ngupta has joined #openstack-barbican19:15
*** jackie-truong has joined #openstack-barbican19:21
*** ngupta has quit IRC19:31
*** ngupta has joined #openstack-barbican19:32
*** ngupta_ has joined #openstack-barbican19:44
*** ngupta has quit IRC19:45
*** tdink_ has joined #openstack-barbican20:00
*** tdink has quit IRC20:04
*** kfarr has quit IRC20:09
*** chris_hultin is now known as chris_hultin|AWA20:14
*** kfarr has joined #openstack-barbican20:15
*** dave-mccowan has quit IRC20:30
*** jackie-truong has quit IRC20:33
*** tdink_ has quit IRC20:35
*** tdink has joined #openstack-barbican20:36
*** ngupta has joined #openstack-barbican20:44
*** dave-mccowan has joined #openstack-barbican20:45
*** dave-mcc_ has joined #openstack-barbican20:47
*** ngupta_ has quit IRC20:47
*** chlong_ has joined #openstack-barbican20:48
*** dave-mccowan has quit IRC20:50
*** dimtruck is now known as zz_dimtruck20:56
*** chris_hultin|AWA is now known as chris_hultin21:00
*** gyee has joined #openstack-barbican21:11
*** jaosorior has joined #openstack-barbican21:25
*** ngupta_ has joined #openstack-barbican21:27
*** zz_dimtruck is now known as dimtruck21:30
*** ngupta has quit IRC21:31
*** ngupta_ has quit IRC21:32
*** jaosorior has quit IRC21:33
*** dave-mcc_ has quit IRC21:36
*** dave-mccowan has joined #openstack-barbican21:45
*** gyee has quit IRC21:51
dave-mccowankfarr i just got the email21:54
*** gyee has joined #openstack-barbican22:24
*** tdink has quit IRC22:36
*** catintheroof has joined #openstack-barbican22:39
*** jamielennox is now known as jamielennox|away22:42
*** jamielennox|away is now known as jamielennox22:45
*** gyee has quit IRC22:48
dave-mccowanredrobot ping22:49
redrobotdave-mccowan o/22:49
dave-mccowanredrobot looks like we're going to be busy at summit this year.22:49
redrobotdave-mccowan yeah, I just saw the email22:50
dave-mccowanredrobot can you check https://review.openstack.org/#/c/442267/22:51
dave-mccowanit's a minor change to a script you wrote22:51
redrobotdave-mccowan k, i'll check it out22:52
dave-mccowanfor that bug you triaged w.r.t. workers and devstack.... that's really working as designed, right?22:54
redrobotdave-mccowan no, I think we should have an additional gate that tests the worker22:54
dave-mccowanis this controlled by a config option or the start up script?22:55
redrobotdave-mccowan config file controls what task processing class will handle the orders work22:56
redrobotdave-mccowan so the start up script needs to change to configure things correctly.22:56
dave-mccowandoes the script also need to start the workers?  or will barbican-svc do that in response to the config?22:59
*** gyee has joined #openstack-barbican23:00
*** alee has quit IRC23:00
*** gyee has quit IRC23:04
*** tdink has joined #openstack-barbican23:06
*** gyee has joined #openstack-barbican23:07
redrobotdave-mccowan yeah, the devstack plugin needs to start workers as well.23:08
dave-mccowanredrobot do we want to change to default behavior (for humans running barbican with devstack)?23:09
dave-mccowan(Nam starts his day in a couple hours.  He's interested in fixing this, if it should be fixed.)23:10
redrobotdave-mccowan I think it's important to exercise a lot of code at the functional gate, and I think it would be awesome if we could test the async order behaviors at the gate.23:11
redrobotdave-mccowan we could either do it as a separate gate23:11
redrobotdave-mccowan or change our existing gate to do it23:11
dave-mccowanit's weird that default behavior for devstack is different than default behavior in install from distro.23:12
redrobotdave-mccowan downstream doesn't use our scripts23:20
redrobotdave-mccowan my understanding is that they use the tarballs?23:20
redrobotdave-mccowan so anything that is not part of python setup.py bdist doesn't get packaged23:21
*** chlong_ has quit IRC23:21
*** ngupta has joined #openstack-barbican23:25
*** dimtruck is now known as zz_dimtruck23:28
*** gyee has quit IRC23:33
*** dave-mccowan has quit IRC23:43
*** zz_dimtruck is now known as dimtruck23:54

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