Wednesday, 2024-02-28

*** jph6 is now known as jph00:21
*** mhen_ is now known as mhen02:43
radhouenehello everyone14:17
radhouenei'm using barbican service on openstack yoga i followed the docs  and i arrived to where i have to start the shell script of barbican as follows : {barbican home}/bin/barbican.sh start  Command '{barbican' not found, did you mean:    command 'barbican' from snap openstackclients (xena)   command 'barbican' from deb python3-barbicanclient (4.10.0-0ubuntu1)  See 'snap info <snapname>' for additional versions.14:19
radhouenei can't find the {barbican_home} l : {barbican_home}/bin/barbican.sh start -bash: {barbican_home}/bin/barbican.sh: No such file or directory14:21
radhouenecan anyone please assiste me with it?14:21
radhouenei'm using ubuntu 20.04  and followed this link https://docs.openstack.org/barbican/yoga/configuration/keystone.html14:22
radhoueneanyone here?14:37
radhouenei can't find the {barbican_home}  WHEN I RUN THE COMMAND: {barbican_home}/bin/barbican.sh start -bash: {barbican_home}/bin/barbican.sh: No such file or directory can anyone please assiste me with it? i'm using ubuntu 20.04  and followed this link https://docs.openstack.org/barbican/yoga/configuration/keystone.html14:49
tkajinamradhouene, I'm unsure what the doc is for. probably it's for dev purpose. iiuc the script is the one in the barbican repository but this installs software by pip, instead of packages https://github.com/openstack/barbican/blob/master/bin/barbican.sh15:19
tkajinamprobably https://docs.openstack.org/barbican/yoga/install/install.html is the correct doc to follow, assuming you are using packages to install things15:19
radhouenei used apt to install it i will follow the links you provided tkajinam and thank you so much !!15:32
radhouenealso the user barbican is system user i can't log as barbican , here's the user from passwd 15:34
radhoueneroot@controller:/etc/barbican# batcat /etc/passwd | grep barbican barbican:x:145:151::/var/lib/barbican:/bin/false15:34
radhoueneroot@controller:/etc/barbican# batcat /etc/passwd | grep barbican                                 the output is :           barbican:x:145:151::/var/lib/barbican:/bin/false15:34
tkajinamthat's expected and correct15:34
radhouenealright then i add the script under /etc/barbican and run it there as root?15:35
tkajinamradhouene, if you install barbican by packages and follow the guide I shared then you don't use that script15:35
tkajinamif you install barbicana-api package then it installs apache vhost to run barbican as a wsgi application.15:36
tkajinamrun barbican*-api* as a wsgi application, to be more precise15:36
radhouenei ran barbican-wsgi-api and here's the output : https://github.com/radhouene101/openstack-debug/blob/main/barbican-output.sh15:46
radhoueneat this point i debug the service right?15:47
radhouenetkajinam  sorry for askin alot but i have another question :  here's my output https://github.com/radhouene101/openstack-debug/blob/main/barbican-output.txt       15:59
radhoueneis there something i'm missing?15:59
tkajinamradhouene, Idk why you are trying to execute barbican-wsgi-api 16:00
tkajinamis that explained in the doc I shared ?16:00
tkajinamafair you are supposed to restart a few barbican services and apache2, if you follow the guide I shared16:01
radhouenei wanted to configure the middlware with keystone i followed all the steps in the link you sent , and then this guide  https://docs.openstack.org/barbican/yoga/configuration/keystone.html in the end of this guide i want to test if it is set correctly with keystone is it linked automatically ? just wanted to test it 16:07
tkajinamradhouene, no you don't have to follow that doc16:15
tkajinamradhouene, the guide I shared already describes the options to enable keystone middleware, doesn't it?16:16
tkajinamradhouene, ignore that configuration/keystone.html16:16
radhoueneokay thank you so tkajinam 16:17
tkajinamit's not for installation by packages. what is worse the doc contains too old way to configure keystonemiddleware16:17
tkajinamwe no longer have to add these options to paste.ini (just paste.filter_factory) and the options should be defined in barbican.conf16:18
tkajinamthe block after "Alternatively" is not really an alternative. that's the primary method.16:18
* tkajinam sighs16:18
radhouenealright thank you so much for clarifications i really appreciate your help thank you so much16:20

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