Wednesday, 2023-06-14

derekokeeffe85Morning all, I installed an AIO yesterday to test Barbcan with Thales HSM. All has gone ok so far, Instances with volumes and connectivity, Barbican seems to be installed, user, service, secret store all there when checked on cli. Do I now need to take the generated Chrystoki.conf and other files required per the docs and put them in the locations specified in on the container?? Any help would be appreciated07:38
jrosserderekokeeffe85: did you see this? https://docs.openstack.org/openstack-ansible-os_barbican/latest/07:54
jrosserspecifically https://docs.openstack.org/openstack-ansible-os_barbican/latest/configure-barbican.html#configuring-barbican-with-thales-luna-hsm-backend talks about those files07:54
derekokeeffe85jrosser, yep that's what I've been working from, have all I need just a little unsure if I did it right. I set up the lunaclient on the instance where I have my AIO. But do those files need to be on the barbican container or the instance?08:01
jrosser`barbican_user_libraries`lets you put things like the shared libraries and config file in your /etc/openstack_deploy directory on the deploy host08:03
jrosserthen they will be copied to the given locations on the barbican containers/hosts during the deploy08:04
jrosserbarbican uses PKCS11 to communitcate with the HSM so you need the vendor supplied pkcs11 shared library and a suitable config file08:05
jrosseryou don't need the vendor specific client / tools08:05
jrosseryou'll need those perhaps elsewhere to properly configure the HSM, but thats not really to do with the OSA deployment08:06
derekokeeffe85Ah ok, that helps. Thanks as always jrosser08:12
jrosserno problem - i think noonedeadpunk has used thales HSM so if you get stuck might be able to help out with specifics08:13
derekokeeffe85Perfect, thank you. I will probably give him a shout later so08:14
depasqualeciao everybody. regarding the problem I am facing in installing openstack with VLAN as provider network I am now in the situation reported here https://bugs.launchpad.net/openstack-ansible/+bug/200289708:46
depasqualeI tryed to investigate the message admin1 sent my yesterday (provider network will not work because I have a tagged lan 40 on br-vlan) but I am now also experiencing exactly the point reported in the bug mentioned08:47
depasqualethat's strange that if I use ovn I cannot indicate a flat net08:47
jrosserdepasquale: have you got an OVN all-in-one built?08:50
jrosserdepasquale: i'm a bit confused, that bug is "No type driver for tenant network_type: vxlan." but you are having trouble with the `flat` type?08:52
depasqualejrosser: I am still not able to deploy an AIO... I will work on it next week that I will be back in the office08:54
jrosserthe reason i ask, is that OVN is the default in the AIO and i think it sets up a flat network as well as a vlan one08:55
jrosserso you should have a working example there of exactly what you are trying to do08:55
jrosserAIO == reference design08:55
depasqualeuhm ok08:55
jrosserhaving said that you can and should customise what you see there to be appropriate for a real deployment08:56
jrosserand also, based on experience i would say that you should use a flat network only if you really have to08:56
depasqualeI will investigate. but this is happening because it seems that with zed linuxbridge that was my previously  used standard way of configuring network is marked as obsolete08:56
depasqualejrosser: I agree with you. I was trying to not use a flat net08:57
jrosserthe neutron team say it is now "experimental" type support08:57
depasqualebut I am not able to get internet from the vlan :)08:57
jrosseroh i am so confused then with the bug you posted :)08:58
depasqualethe servers are working via br-vlan interfaces, but when I link this interface to VMs they will not get internet access08:58
jrosserdid you fix the double vlan tagging?08:58
depasqualeI mean I am able to ping internet at baremetal level (ping -I br-vlan www.google.com) but not from the VMs08:58
depasqualejrosser: doube vlan tagging? please can you give me some pointer to this?08:59
jrosserok so for a `vlan` type network, neutron will tag/encapsulate the traffic in a .1q vlan tag on the interface09:00
jrosserso when you create your external network with neutron, you must say something like "segmentation_id: 1234"09:00
depasqualeokok I did this09:00
depasqualethis is my command for creating network09:01
jrosserthen on your network switch, you must make vlan id 1234 for the corresponding port be your external network09:01
depasqualeopenstack network create --share --external --provider-physical-network provider --provider-network-type vlan --provider-segment 49 provider-vlan4909:01
jrosserif you can ping google.com on br-vlan then that says that you've not done the switch side config?09:01
depasqualeI confirm that tag 49 is a tag for all the switch ports09:02
jrosseras it still appears to be a `flat` type network09:02
depasqualeuhm I have to better study this topic 09:03
jrosserping -I br-vlan www.google.com 09:03
jrosser^ do you think that should work?09:03
depasqualelet me check 09:03
depasqualefrom a controller node I am able to ping09:04
depasqualejrosser: by the way I will investigate further... unfortunately I can only work for short time per day because I am in a business travel with frequent meetings09:05
jrosserno problem09:05
depasqualesorry for being not so fast in providing feedbacks and answering back09:05
depasqualesee you later with some news (hopefully)09:06
jrossersure no worries09:06
admin1depasquale, can you post your new netplan with the br-vlan 09:25
admin1is it still on vlan40 or is it removed now ? 09:25
jrosseralso the thing is that i don't believe that br-vlan is even needed09:34
jrosserthe underlying interface/bond can be given to OVS09:34
admin1yes .. i just wanted to know if he is running on top of a tagged interface 09:53
admin1he could be trying flat with that , but added type vlan 09:53
admin1so if tagged is still there,  his command he pasted to create network on 49 will not work at all 09:54
derekokeeffe85jrosser, sorry I knew I had a question for you earlier. the libdpod.plugin plugin in the docs doesn't exist in my setup, there is however a libcloud.plugin is this just an updated version from the docs do you know or is the libdpod.plugin needed? noonedeadpunk might know if he's used it10:29
jrosserderekokeeffe85: i have no idea sorry, i've never used a thales hsm myself10:45
jrosserthey do have a product which is a "cloud HSM" so you might have a library for that as well, no idea if it also covers the physical device10:46
depasqualeadmin1, jrosser you have received my last messages? my web interface refreshed10:50
derekokeeffe85ok no worries jrosser10:57
admin1depasquale, is  it working now ( the network ) . .if not, want to see your config and netplan one more time 11:26
depasqualeadmin1 I have just completed the re-execution of ansible to rework with this set of configs https://paste.opendev.org/show/bOOo6TBQFz38gYxlufux/11:31
depasqualeneutron crashes 11:31
depasqualeon haproxy I see the service is not online11:31
admin1we need your netplan file in the compute/network nodes11:31
depasqualeok let me share compute11:32
depasqualeone second11:32
admin1this is like the ceiling is leaking .. but  we need to get the foundations right first .. and then move way up to the ceiling :) 11:32
admin1don't know how else to put it .. so its a crude example 11:32
depasqualehttps://paste.opendev.org/show/bDQrL67HPxgfb02JHcHB/11:32
depasqualehere one of the 3 computes11:32
admin1will not work :) 11:32
admin1your config, the way br-vlan is done, will only work if you use a flat network 11:32
depasqualeI have 3 controllers, 3 computes, and 3 ceph nodes11:32
admin1not br-vlan 11:32
admin1you cannot use a tagged interface for br-vlan and then add tagged network on top of it .. it will not work at all 11:33
depasqualeok good to know11:34
depasqualeso. even if I use vlan provider network I will not use a tagged vlan on switches11:34
depasqualeso I will assign the ip addresses directly to provider0 interface (in my config)11:35
depasqualeand leave br-vlan empty11:35
depasqualelet me rework netplan and ask you to confirm the config11:35
admin1in your netplan, you don't specify a provider network vlan ( like you are doing for provider0)  .. 11:35
admin1you can do this 11:35
admin1you add provider0 under br-vlan .. nothing else .. 11:35
admin1and then you can use the tag because openstack/neutron will add 49 there directly 11:35
depasqualeI mean is this a valid configuration for you? https://paste.opendev.org/show/bYuURK4v1FbE6JXoX1kT/11:36
admin1remove br.40 . and then under br-vlan interfaces, add provider0     and it will then work 11:36
admin1remove br.40 as well 11:36
admin1there is no need to that .. 11:36
admin1openstack will send tagged packets..s o it will add 40 .49 etc when you create the network 11:37
admin1you don't specify that in the netplan11:37
depasqualeok ok I understand now11:37
admin1so tomorrow  in future ,etc whne you want to add new provider, you just add a new ext-network on a diff vlan 11:37
admin1and not have to touch netplan again 11:37
admin1also , the IPs 11:38
admin1instead of provider0 ,  move it to br-vlan 11:38
admin1this config looks more like how i setup opentack  for hetzner servers 11:38
admin1where you get only 1 interface on eth0 and you need to run the whole osa with everything on top of it 11:39
depasqualedo you suggest something like this one https://paste.opendev.org/show/bn2D5wE8zXcXFCSONkdQ/11:39
admin1yes 11:39
depasqualethank you so much. very appreciated11:40
admin1now the provider0 , whereever it is connected to, need to allow tagged packets on the vlan you will add later on 11:40
depasqualeok11:40
admin1so if you in your earlier config added a vlan on id 49, the port where this provider0 is connected should allow tagged vlan 49 11:40
depasqualeyes yes the switches are configured to accept 40-49 tagged vlan11:41
depasqualeok last question before to start with executing ansible11:41
depasqualehttps://paste.opendev.org/show/bOOo6TBQFz38gYxlufux/11:41
depasqualein this confg part, I will remove the br-vlan with type "flat"11:41
depasqualerigh?11:41
depasqualebecause with ovn I have the error that the driver for flat does not exist11:42
depasqualesorry for bothering you :)11:42
admin1you have one provider network .. provider0 .. it can either be flat or vlan 12:08
admin1if ovh allows tagged vlans, then # out the flat part int he config 12:09
admin1but if ovh says you cannot use tagged, then you have to forget vlans and  add flat 12:09
ncuxodoes the playbooks check if selinux is in enforcing mode?12:37
ncuxomy goal is to install on centos 9 stream, I have 3 servers and want them to have everything on them,and with the future I'll scale them out with the resources I need. But the initial 3 servers need to have all the services.12:47
jrosserncuxo: there is info about selinux here https://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/targethosts-prepare.html#configure-centos-rocky13:05
jrosseras far as i know the playbooks do not do any checking13:05
jrosserncuxo: i would also think very very carefully before you base anything that you care about on centos stream13:06
ncuxojrosser: what you mean? not sure I follow13:09
jrosserin the past (before centos stream), centos was a rebuild of RHEL and had the same level of stability13:10
jrossernow that is not the case, centos is what will/might go into RHEL next, and as a result is not particularly stable and might get arbitrarily broken13:11
jrosserwe have seen this several times with the CI jobs we run for OSA where prospective changes land in centos and cause all sorts of breakage 13:11
ncuxohttps://docs.openstack.org/project-deploy-guide/openstack-ansible/latest/targethosts.html#configure-centos-rocky here they are talking about disabling selinux13:12
jrosseryes13:12
jrosseropenstack-ansible does not have support for running with selinux enables13:13
ncuxoif the playbooks are not checking for selinux then I can add the policies on another playbook to add them 13:15
jrosserncuxo: the reason there is no official selinux support is that we do not have a contributor who has worked on that13:22
jrosserif you are going to make that all work and are able to contribute support for selinux, that would be great13:22
ncuxoMost people hate SELinux and I've assumed the reason why it is not supported is because most people don't care about it 13:24
mgariepyi don't think ppl hate it so much, but most first steps in install guide is to disable it, i guess that's not helping for adoption.13:27
ncuxoexactly as soon as I see a guide like that I close the tab and search for another one 13:29
jrosserncuxo: in general we have fewer contributors using RH derived OS compared to debian derived13:29
ncuxonever used debian so if I do it will be a first :D13:30
jrosserbut at the same time the features that get added are those which we get contributions for13:30
jrosserso if you want to see selinux support in openstack-ansible and have the skills to make it work, that is interesting13:30
jrosserthere is no big vendor propping up openstack-ansible development, it's a tool mostly developed by operators, for operators13:31
ncuxojrosser: but as you've said stream is breaking openstack installations, so now I'm wondering should I just do debian like everybody and figure it out13:31
jrosseryou should look at Rocky Linux13:31
ncuxorackspace no longer contributing13:31
jrosserwe got some great input from NeilHanlon making that all work nicely13:31
ncuxofrom my understanding they have started the thing?13:31
jrosserthat is correct, openstack-ansible originated from rackspace and a few of the original folk still lurk here13:32
ncuxolol just 37 roles :D it will take a while to get where what is done ...13:41
jamesdentono/14:02
jrossero/ hello14:02
jamesdentonIRC lives on this other machine that I don't get to every day :|14:02
jrosserdoh14:02
jrosseri tried to by a connectx-714:03
jrosserthat is a very hilarious experience and i failed completely14:03
jamesdentonbut your debit card said no?14:03
jamesdentonHey, I managed to buy a BlueField-2 once14:03
jrosseroh well done14:03
jrosserseems they are so busy building big ML systems that everyone else comes second14:04
jamesdenton"supply chain issues"14:04
jamesdentoni'm busy with Tempest. Wish me luck14:05
jrosseroh indeed good luck :)14:05
mgariepyhttps://snapcraft.io/docs/keeping-snaps-up-to-date#heading--control14:18
mgariepyjrosser, you can now hold upgrade indefinitely14:18
mgariepywhich is nice :D 14:20
jrosserinteresting14:21
jrosserstill doesnt quite appear to let you specify a version to move to / from14:22
mgariepymicrosteps ;)14:22
jrosserthere are native .deb for LXD in debian now i think14:23
mgariepyi like being able to install different version on prod server vs my laptop14:24
mgariepyfor me the snap doesn't break too often.14:25
mgariepymost time it's on my laptop and it's usually caused by some other factor :D hahaha14:25
ncuxoafter cloning the https://opendev.org/openstack/openstack-ansible is there a script that should get the requirements or I have to use ansible-galaxy and point to the 3 requirement files in the base dir?14:58
jrosserncuxo: see this https://docs.openstack.org/openstack-ansible/latest/user/aio/quickstart.html15:02
jrosserscripts/bootstrap-ansible.sh prepares the ansible runtime, roles and collections to the correct versions15:03
jrosserscripts/bootstrap-aio.sh prepares a "reference configuration" for an "all-in-one" build that is the same as the one we use for our CI tests15:04
BobZAnnapolisminor nit question/issue - i might have missed the answer somewhere else but figured you'd folks would know, is there any plans to change various git ostack component/project repo stable/2023.1 branches to stable/antelope ?16:26
noonedeadpunkBobZAnnapolis: um, no, branches are intend to be stable/2023.1 from now on for all openstack projects16:43
noonedeadpunkJust in case - we're having hybrid ptg now: https://etherpad.opendev.org/p/vancouver-june2023-os-ansible16:45
noonedeadpunkjrosser: ^16:45
lowercas_noonedeadpunk: where?!16:50
lowercas_im here16:50
*** lowercas_ is now known as lowercase16:51
lowercaseI'll be there16:53
NeilHanlonBobZAnnapolis: check out https://governance.openstack.org/tc/reference/release-naming.html17:36
damiandabrowskihttps://docs.openstack.org/openstack-ansible/latest/reference/inventory/understanding-inventory.html#understanding-host-groups-conf-d-structure18:20
mgariepyfun how neutron-ovn-metadata-agent fills rootdisk when something goes wrong.19:51
mgariepyhttps://paste.openstack.org/show/bt8CoCPvgNKEWBLuceGV/19:53
mgariepymany many many times every few sec..19:53

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