Monday, 2025-01-13

opendevreviewTakashi Kajinami proposed openstack/python-barbicanclient master: Update default envlist  https://review.opendev.org/c/openstack/python-barbicanclient/+/93902305:05
opendevreviewTakashi Kajinami proposed openstack/barbican master: Update default envlist  https://review.opendev.org/c/openstack/barbican/+/93903905:20
RajivHi, is there a meeting today ?14:17
xek#startmeeting barbican15:01
opendevmeetMeeting started Mon Jan 13 15:01:00 2025 UTC and is due to finish in 60 minutes.  The chair is xek. Information about MeetBot at http://wiki.debian.org/MeetBot.15:01
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.15:01
opendevmeetThe meeting name has been set to 'barbican'15:01
xek#topic Roll Call15:01
xekCourtesy ping for dmendiza[m] ade_lee d34dh0r53 Luzi tosky tobias-urdin jjung mharley lpiwowar15:01
xeko/15:01
xekAs usual our agenda can be found here:15:01
xek#link https://etherpad.openstack.org/p/barbican-weekly-meeting15:01
rajivHey15:03
dmendiza[m]🙋15:03
xek#topic Review Past Meeting Action Items15:04
xek#link https://meetings.opendev.org/meetings/barbican/2024/barbican.2024-12-16-15.01.html15:04
xekThere were no action items15:04
xek#topic Liaison Updates15:05
xekQA update - I added the patch to make the octavia job non-voting15:06
xek#link https://review.opendev.org/c/openstack/barbican/+/93822115:06
mharley[m]o/15:07
xekalthough https://review.opendev.org/c/openstack/octavia-tempest-plugin/+/937366 is merged15:08
xekso octavia should be passing15:08
xek#topic Open Discussion15:09
rajivHi, in my pursuit to support multi-vendor/device HSM devices, i was testing a POST API and was blocked by https://opendev.org/openstack/barbican/src/branch/master/barbican/model/models.py#L1576-L1581, if i remove this constraint, backend is not initialised15:10
rajivany suggestions on how to go forward ?15:10
xekdid you also add some entries breaking the initial constraint?15:13
xekI wouldn't expect it to fail if only these lines were removed15:14
rajivtesting with __table_args__ = () also failed15:14
xekbut maybe it's checking if the definitions are consistent with the database15:14
xekyou probably have to prepare a database migration to test this change15:14
rajivoh ok, a alembic procedure ? is there any docu on how to do it ?15:15
rajivas HSM devices communicate over pkcs11, i felt its better to enhance the existing functionality instead of writing a custom plugin, is this the best approach ?15:16
xekthere might be in other projects15:16
xekthe procedure should be the same or very similar15:16
rajivokay15:17
xekit probably mostly depends on whether you will want to propose it to be merged into barbican, or maintain it yourself15:18
rajivwould this functionality help others ? or worth creating a blueprint ?15:18
rajivlastly, to support this, creating a multiple secret stores is the ideal option right ? or is there any other approach ?15:19
xekI think it's better to propose it, you'll also can expect more feedback than when keeping it in house, ending up with a better implementation in the end15:20
rajivcool :)15:20
xekdmendizamaybe you have some pointers on that?15:21
rajivthis is my first proposal, it worked locally but further reviews are welcome : https://review.opendev.org/c/openstack/barbican/+/93818615:23
xekI see you've alreday got some feedback :)15:26
xekdon't be discuraged by the -1, it's just an annotation that changes are needed15:27
rajivsure :) 15:27
rajivdmendiza[m]: i also mailed the multi-device support query, it will be of great help if you could reply :) 15:28
* dmendiza[m] catches up on scrollback15:28
dmendiza[m]Barbican already has a way of instantiating multiple backends.  However, the StoreCryptoAdapter class is/was limited to a single instance.  I don't remember the details of the limitation.15:29
dmendiza[m]Removing that constraint may or may not work, you'll just have to test it.15:29
rajivremoving the constraint failed to initialise the backend15:30
dmendiza[m]Right, so you'll have to dig into why that happens.  ðŸ¤·15:30
dmendiza[m]I think the main issue will be with oslo config15:31
rajivoh ok15:31
dmendiza[m]because there is a 1-to-1 config for StoreCryptoAdapter to PKCS#11 device15:31
dmendiza[m]I think you can do two StoreCryptoAdapters with one using SimpleCrypto and the other one using PKCS#1115:32
dmendiza[m]but yeah, two with two PKCS#11 adapter will need to have different configuration stanzas and that's not currently possible15:32
rajivi see, seems to be more complicate than i expected.15:33
rajivlastly, is it better to create multiple secretstores to support this functionality or is there any other option ?15:34
dmendiza[m]the easier option is to have two deployments15:35
dmendiza[m]then the user can choose a deployment based on what HSM they want to use15:35
rajivtwo deployments of barbican in 1 openstack cloud ? this means more endpoints, more issues in k8s ingresses, right ?15:36
rajivis it possible to implement multiple barbican instances in 1 openstack deployment ? is there any documentation ?15:36
xekit might be possible, but I guess you would have to duplicate other services which depend on barbican, since they will each point to one instance15:38
rajivoh yes, keystone, nfs, etc seems to be more work than the above :( 15:39
dmendiza[m]https://docs.openstack.org/barbican/latest/configuration/plugin_backends.html#enabling-multiple-barbican-backends15:41
dmendiza[m]Oh, I misread your question 15:42
dmendiza[m]They link is probably not helpful. 😅15:42
rajivnp :) 15:42
xeklet's continue to the last topic15:47
xek#topic Bug Review15:48
xekThere were no new bugs reported since our last meeting15:48
xekThis concludes our first meeting in 2025 :)15:49
xekThat's it for today, see y'all next week!15:49
xek#endmeeting15:49
opendevmeetMeeting ended Mon Jan 13 15:49:51 2025 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)15:49
opendevmeetMinutes:        https://meetings.opendev.org/meetings/barbican/2025/barbican.2025-01-13-15.01.html15:49
opendevmeetMinutes (text): https://meetings.opendev.org/meetings/barbican/2025/barbican.2025-01-13-15.01.txt15:49
opendevmeetLog:            https://meetings.opendev.org/meetings/barbican/2025/barbican.2025-01-13-15.01.log.html15:49

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!