Monday, 2017-07-17

*** wanghao has joined #openstack-zaqar00:38
*** lei-zh has joined #openstack-zaqar01:22
*** wanghao has quit IRC01:31
*** wanghao has joined #openstack-zaqar01:32
*** wanghao_ has joined #openstack-zaqar01:37
*** wanghao_ has quit IRC01:37
*** wanghao_ has joined #openstack-zaqar01:38
*** wanghao has quit IRC01:39
*** wanghao has joined #openstack-zaqar01:42
openstackgerritFeilong Wang proposed openstack/zaqar master: Support dead letter queue for MongoDB  https://review.openstack.org/33365701:44
*** wanghao_ has quit IRC01:45
openstackgerritMerged openstack/zaqar master: Fix mongodb list method's param note  https://review.openstack.org/48411401:55
*** lhx__ has joined #openstack-zaqar02:04
openstackgerritgecong proposed openstack/zaqar master: Fix message claim expires problem in swift storage  https://review.openstack.org/48410602:13
wxyHi, guys. During reviewing the Swift backend related patches, I found that maybe this function is useless https://github.com/openstack/zaqar/blob/master/zaqar/storage/swift/claims.py#L51-L64 . Any one know where it's used for?02:18
*** wxy- has joined #openstack-zaqar02:26
openstackgerritgecong proposed openstack/zaqar master: Support dead letter queue for swift  https://review.openstack.org/47912502:28
*** wxy- has quit IRC02:39
openstackgerritwanghao proposed openstack/zaqar master: Notification Delivery Policy  https://review.openstack.org/47772403:22
*** rajathagasthya has joined #openstack-zaqar03:47
*** lei-zh has quit IRC04:15
*** lei-zh has joined #openstack-zaqar04:15
*** lhx__ has quit IRC04:28
*** rajathagasthya has quit IRC04:38
*** lei-zh has quit IRC05:25
*** lei-zh has joined #openstack-zaqar05:25
*** yangzhenyu has quit IRC05:46
openstackgerritwanghao proposed openstack/zaqar master: Notification Delivery Policy  https://review.openstack.org/47772405:57
*** rcernin_ has joined #openstack-zaqar06:00
*** yangzhenyu has joined #openstack-zaqar06:04
openstackgerritgecong proposed openstack/zaqar master: Support dead letter queue for swift  https://review.openstack.org/47912506:26
*** yangzhenyu has quit IRC07:09
*** yangzhenyu has joined #openstack-zaqar07:22
*** tesseract has joined #openstack-zaqar07:32
*** lei-zh has quit IRC07:40
*** lei-zh has joined #openstack-zaqar07:40
*** lhx__ has joined #openstack-zaqar07:49
*** yangzhenyu has quit IRC08:13
openstackgerritgecong proposed openstack/zaqar master: Support dead letter queue for swift  https://review.openstack.org/47912508:17
*** yangzhenyu has joined #openstack-zaqar08:33
*** tesseract has quit IRC08:50
*** tesseract has joined #openstack-zaqar08:53
*** lhx__ has quit IRC09:17
*** wanghao has quit IRC09:34
*** lei-zh has quit IRC09:57
*** lhx__ has joined #openstack-zaqar10:05
*** lhx__ has quit IRC12:07
*** lei-zh has joined #openstack-zaqar13:50
*** zhurong has joined #openstack-zaqar13:59
*** zhurong has quit IRC13:59
*** rajathagasthya has joined #openstack-zaqar15:59
*** lei-zh has quit IRC16:00
*** rajathagasthya has quit IRC16:06
*** rajathagasthya has joined #openstack-zaqar16:07
*** rcernin_ has quit IRC16:19
*** tbarron has joined #openstack-zaqar16:46
tbarronbear with some naive questions, folks, but I want to check whether16:48
tbarronzaqar experience with "guest agents" may be useful for a problem16:49
tbarronthat I have in manila16:49
tbarronmy use case is a pair of manila "service VMs" that provide HA for one another, running pcs-corosync16:50
tbarronSVM2 may need to take over for SVM1 and fence it off16:51
tbarronSVM2 needs to "power cycle" SVM1 by getting nova to do the job16:51
tbarroninstead of an impmi or drac or whatever16:51
tbarronbut of course from OpenStack cloud admin POV SVM2 is "just a tenant VM" and we can't allow tenant VMs to kill one another off16:51
tbarronso I'd like SVM2 to just send a notification to manila (or perhaps someday a VBMC-like-thing)16:51
tbarronmanila will check that the fencing request is sane, get admin16:51
tbarronkeystone creds and invoke nova apis to get the job done16:51
tbarronall this presupposes that I can run some kind of "guest agent"16:51
tbarronin the SVMs that will enable them to send such notifications w/o16:51
tbarronactually having to run an OpenStack client & have keystone credentials themselves16:51
tbarron<EOF> :D16:51
*** harlowja has joined #openstack-zaqar17:17
*** tesseract has quit IRC18:01
*** rcernin has joined #openstack-zaqar18:26
*** tbarron has quit IRC19:09
*** tbarron has joined #openstack-zaqar19:11
*** harlowja has quit IRC19:32
*** boris-42__ has joined #openstack-zaqar19:48
thervetbarron, Zaqar can be the transport for your notification20:36
therveThough I don't get why it can't be a direct http request20:36
tbarrontherve: well maybe it can be direct http request but I was vaguely thinking that zaqar guest agents might20:43
thervetbarron, zaqar doesn't have guest agents20:43
tbarronhave some way of carrying an assurance that the request is from whom it appears to be20:43
tbarrontherve: ok, there was talk of those once though, right?20:43
therveMaybe, I don't know. Nothing emerged from those talks if they happened20:44
therveHeat for example has agents that can use Zaqar as a transport, is that what you're thinking about?20:45
tbarrontherve: I don't care that much about the type of transport, https would be fine probably,20:49
tbarrontherve: but if there was a way to stick an "agent" in a guest such that when it posted a notification there was a signature or something that assured me whom it was from20:50
tbarronor if they used some kind of pre-set-up url for that purpose20:50
therveYeah Zaqar doesn't have anything of that nature. Heat does, though.20:51
tbarronmy experience with Heat is pretty much limited to tripleo templates20:52
therveSo you got the worst out of it20:52
tbarronso a guest can trigger a workflow in heat that will message/notify back up to a service?20:53
tbarron:D20:53
tbarrontherve: rofl (though I do expect that you are totally serious)20:53
therveI have no idea how Manila works, but I guess it talks to Nova directly and does its own orchestration?20:53
therveHeat does stuff that creates a keystone user per Nova server, so that you have dedicated and isolated credentials per node20:54
tbarrontherve: yes, manila would just call nova apis directly after interacting with keystone to get auth20:54
therveYou could duplicate that mechanism, though it's not simple20:54
*** harlowja has joined #openstack-zaqar20:56
tbarrontherve: taking a step back, what I really want is a virtual-machine-power-cycler20:56
tbarrontherve: I want to be able to configure a pcs-corosync stonith fencer20:57
tbarrontherve: outside a cloud that would be a ipmi or drac or whatever with ssh credentials20:57
tbarronso one member of a HA cluster can fence off another by interacting with the power-cycler20:57
tbarronif my HA cluster consists of guest VMs (compute instances) then I need to call nova to start, down, restart instead of interacting with the power cycler20:58
tbarronbut I don't want to actually put nova and keystone clients in these service VMs20:59
tbarronsince among other things they run from pre-baked images with very little in the way of dynamic configuration20:59
tbarronjust a little bit of cloud-init20:59
tbarronand the security aspects of putting admin credentials for the cloud inside these service VMs seem, umm, considerable21:00
tbarrontherve: so i'm just looking for a way for the service VM to notify a more trusted party (manila in this case) who has full nova/keystone client capabilities21:01
therveYeah there are various ways to do that21:01
tbarronI had read something about zaqar guest agents (in some fable I guess) so was asking here ...21:02
therveThe Heat way is to have a specific Keystone domain, and a user per node, and deploying the creds of that user on the node21:02
therveZaqar has pre signed URLs too, so it can be a more lighweight mechanism, where you create a queue per node21:02
tbarronkeystone domain per compute node, or per sguest VM?21:02
tbarronguest21:02
tbarrontherve: probably signed URLs were what I was thinking of (dimly) w.r.t. zaqar21:03
tbarrontherve: when manila spins up a service vm it might be able to give it some signed URLs to work with ...21:04
therveYeah probably21:05
therveGot to go, but don't hesitate to send something to the ML21:07
tbarrontherve: thanks21:11
*** rcernin has quit IRC21:33
openstackgerritOpenStack Proposal Bot proposed openstack/zaqar master: Updated from global requirements  https://review.openstack.org/47812422:14

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