*** brinzhang has joined #openstack-oslo | 01:58 | |
*** rcernin has quit IRC | 03:10 | |
*** rcernin has joined #openstack-oslo | 03:18 | |
*** logan- has joined #openstack-oslo | 04:40 | |
*** brinzhang has quit IRC | 05:51 | |
*** brinzhang has joined #openstack-oslo | 05:51 | |
*** johanssone has quit IRC | 06:04 | |
*** johanssone has joined #openstack-oslo | 06:11 | |
*** moguimar has joined #openstack-oslo | 07:03 | |
*** rcernin has quit IRC | 07:07 | |
*** tosky has joined #openstack-oslo | 07:41 | |
*** tkajinam has quit IRC | 08:19 | |
*** brinzhang_ has joined #openstack-oslo | 11:05 | |
*** brinzhang has quit IRC | 11:08 | |
*** vishakha has joined #openstack-oslo | 11:26 | |
*** raildo has joined #openstack-oslo | 11:37 | |
*** brinzhang0 has joined #openstack-oslo | 12:14 | |
*** brinzhang_ has quit IRC | 12:18 | |
*** ianychoi has quit IRC | 12:40 | |
*** kgiusti has joined #openstack-oslo | 12:46 | |
*** dave-mccowan has joined #openstack-oslo | 12:57 | |
*** ianychoi has joined #openstack-oslo | 13:44 | |
bnemec | iurygregory: The two options I see would be to figure out how to make ProcessLimits serializable by msgpack or create that object on the privileged side so it doesn't have to be passed at all. | 14:01 |
---|---|---|
iurygregory | bnemec, not sure if understand the second option .-. | 14:07 |
*** kgiusti has quit IRC | 14:20 | |
*** brinzhang_ has joined #openstack-oslo | 14:27 | |
*** brinzhang0 has quit IRC | 14:30 | |
*** brinzhang has joined #openstack-oslo | 14:31 | |
*** brinzhang_ has quit IRC | 14:33 | |
bnemec | iurygregory: Instead of passing the limits to the privileged function, create them inside the privileged function. | 14:37 |
iurygregory | oh | 14:38 |
iurygregory | ok I will give a try to that o/ | 14:38 |
iurygregory | bnemec++ =) | 14:38 |
bnemec | The potential problem with that is the function that creates the limits isn't privileged, so I'm not sure you should call it from a privileged function. | 14:38 |
iurygregory | oh .-. | 14:38 |
bnemec | You could maybe move it to the privileged module. | 14:40 |
iurygregory | yeah I just saw in nova | 14:40 |
iurygregory | https://github.com/openstack/nova/blob/5b79ec8670619ece92ac8bb43d84d2412778a182/nova/privsep/qemu.py#L94 | 14:40 |
bnemec | Yeah, that's probably a good way to go. | 14:41 |
iurygregory | tks for the help! | 14:43 |
*** kgiusti has joined #openstack-oslo | 14:51 | |
*** kgiusti has quit IRC | 15:02 | |
*** kgiusti has joined #openstack-oslo | 15:45 | |
*** vishakha has quit IRC | 16:19 | |
iurygregory | bnemec, it worked =) now I'm facing a different error `PermissionError` when ironic is trying to copy the image, since this change is on ironic-lib ironic doesn't have privsep initialized, this could be the cause? | 16:22 |
*** harlowja has joined #openstack-oslo | 18:00 | |
*** vdrok_ has joined #openstack-oslo | 18:13 | |
*** knikolla_ has joined #openstack-oslo | 18:13 | |
*** vdrok has quit IRC | 18:20 | |
*** gouthamr has quit IRC | 18:20 | |
*** knikolla has quit IRC | 18:20 | |
*** knikolla_ is now known as knikolla | 18:20 | |
*** vdrok_ is now known as vdrok | 18:20 | |
*** gouthamr has joined #openstack-oslo | 18:21 | |
*** ebbex has quit IRC | 18:28 | |
*** ebbex has joined #openstack-oslo | 18:30 | |
*** hamalq has joined #openstack-oslo | 20:15 | |
*** kgiusti has left #openstack-oslo | 20:41 | |
bnemec | iurygregory: Could be. If the image is created privileged and then copied unprivileged that could be the problem. | 21:54 |
*** raildo has quit IRC | 21:57 | |
*** rcernin has joined #openstack-oslo | 22:43 | |
*** rcernin has quit IRC | 22:43 | |
*** rcernin has joined #openstack-oslo | 22:43 | |
*** tkajinam has joined #openstack-oslo | 22:57 | |
*** moguimar has quit IRC | 23:05 | |
*** tosky has quit IRC | 23:13 | |
*** harlowja has quit IRC | 23:40 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!