*** jph6 is now known as jph | 00:21 | |
*** mhen_ is now known as mhen | 02:43 | |
radhouene | hello everyone | 14:17 |
---|---|---|
radhouene | i'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 |
radhouene | i can't find the {barbican_home} l : {barbican_home}/bin/barbican.sh start -bash: {barbican_home}/bin/barbican.sh: No such file or directory | 14:21 |
radhouene | can anyone please assiste me with it? | 14:21 |
radhouene | i'm using ubuntu 20.04 and followed this link https://docs.openstack.org/barbican/yoga/configuration/keystone.html | 14:22 |
radhouene | anyone here? | 14:37 |
radhouene | i 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.html | 14:49 |
tkajinam | radhouene, 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.sh | 15:19 |
tkajinam | probably https://docs.openstack.org/barbican/yoga/install/install.html is the correct doc to follow, assuming you are using packages to install things | 15:19 |
radhouene | i used apt to install it i will follow the links you provided tkajinam and thank you so much !! | 15:32 |
radhouene | also the user barbican is system user i can't log as barbican , here's the user from passwd | 15:34 |
radhouene | root@controller:/etc/barbican# batcat /etc/passwd | grep barbican barbican:x:145:151::/var/lib/barbican:/bin/false | 15:34 |
radhouene | root@controller:/etc/barbican# batcat /etc/passwd | grep barbican the output is : barbican:x:145:151::/var/lib/barbican:/bin/false | 15:34 |
tkajinam | that's expected and correct | 15:34 |
radhouene | alright then i add the script under /etc/barbican and run it there as root? | 15:35 |
tkajinam | radhouene, if you install barbican by packages and follow the guide I shared then you don't use that script | 15:35 |
tkajinam | if you install barbicana-api package then it installs apache vhost to run barbican as a wsgi application. | 15:36 |
tkajinam | run barbican*-api* as a wsgi application, to be more precise | 15:36 |
radhouene | i ran barbican-wsgi-api and here's the output : https://github.com/radhouene101/openstack-debug/blob/main/barbican-output.sh | 15:46 |
radhouene | at this point i debug the service right? | 15:47 |
radhouene | tkajinam 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 |
radhouene | is there something i'm missing? | 15:59 |
tkajinam | radhouene, Idk why you are trying to execute barbican-wsgi-api | 16:00 |
tkajinam | is that explained in the doc I shared ? | 16:00 |
tkajinam | afair you are supposed to restart a few barbican services and apache2, if you follow the guide I shared | 16:01 |
radhouene | i 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 |
tkajinam | radhouene, no you don't have to follow that doc | 16:15 |
tkajinam | radhouene, the guide I shared already describes the options to enable keystone middleware, doesn't it? | 16:16 |
tkajinam | radhouene, ignore that configuration/keystone.html | 16:16 |
radhouene | okay thank you so tkajinam | 16:17 |
tkajinam | it's not for installation by packages. what is worse the doc contains too old way to configure keystonemiddleware | 16:17 |
tkajinam | we no longer have to add these options to paste.ini (just paste.filter_factory) and the options should be defined in barbican.conf | 16:18 |
tkajinam | the block after "Alternatively" is not really an alternative. that's the primary method. | 16:18 |
* tkajinam sighs | 16:18 | |
radhouene | alright thank you so much for clarifications i really appreciate your help thank you so much | 16:20 |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!