Monday, 2024-01-29

farbodI am using stable/2023.2 branch06:50
farbodjrosser: How can i know why i am getting this?06:51
farbodAny idea?06:53
farbodCould be a problem with HAProxy?07:19
farbodhere is my user configuration: https://paste.opendev.org/show/bo1jwGVb4xG302VaEZpK/07:21
farbodand this is the user variables: https://paste.opendev.org/show/bXQ28f9DUOa77gMDRe9q/07:21
farbodAlso I am deploying on debian 1107:31
noonedeadpunkfarbod: so, what's the issue you have?:)08:14
farbodhttps://paste.opendev.org/show/bhMxyJTavEuxvV4sqZsT/08:15
noonedeadpunkok, I see. What's the content of /etc/apt/sources.list.d/MariaDB.list ?08:16
noonedeadpunkinside the galera container?08:16
noonedeadpunkAs it seems that you don't have access to mariadb repositories that are used by default08:21
noonedeadpunkCould be some regional restrictions, for instance08:21
hamidlotfi_noonedeadpunk: Maybe he used from VPN server and Mariadb servers blocked his connection.08:22
noonedeadpunkfarbod: can you curl https://downloads.mariadb.com/MariaDB/mariadb-10.11.2/repo/debian/dists/buster/Release for isntance? As that's the repo that's configured by default08:23
farbodLet me check08:24
noonedeadpunkyou can override the repository with variable galera_repo_url - like try to use some local mirror or smth...08:24
noonedeadpunkhamidlotfi_: oh, ok, didn't know that tbh08:25
noonedeadpunkthough never tried that08:25
hamidlotfi_noonedeadpunk: I hope you never need to use it. 😉08:26
noonedeadpunkyeah, true08:28
gokhangood morning noonedeadpunk , I am upgrading yoga to antelope, but I am getting warning like [WARNING]: Failed to reset connection:Control socket connect(/root/.ansible/cp/bfe4c07115): No such file or directory08:36
gokhanwhen upgrading keystone it throws error when creating database play. İt can not ssh to infra node. ı am suspicious about upper warning08:37
noonedeadpunkgokhan: well, usually this issue is intermittent and IIRC was related to SSH connection persistance settings08:40
noonedeadpunkSo I'd suggest try to re-run this individual playbook and see if issue is still there08:41
noonedeadpunkI think we landed https://opendev.org/openstack/openstack-ansible/commit/cbdba67ad0b5a3e29db390c8e6b66721719184c0 back in the days to address that at least partially08:42
gokhanI will try again 08:44
gokhannoonedeadpunk, https://paste.openstack.org/show/beYK0iMCdu56PSvG1LDW/ again same eror08:47
noonedeadpunkgokhan: it kinda feels that issue is different here08:50
noonedeadpunkand does `mysql` works/connects from the utility container?08:52
gokhanit is not working ERROR 2026 (HY000): TLS/SSL error: Broken pipe (32)08:55
noonedeadpunkok, so that's likely the reason08:57
gokhanthere need to be a variable which disables ssl I think 08:57
gokhanfor galera08:58
noonedeadpunkis running `update-ca-certificates` fixes the issue?08:58
noonedeadpunkor well. It kinda depends on the outcome you want - to have mysql connection encrypted or not08:58
gokhanhow can I update ca-certificates 09:02
noonedeadpunkum. did it work or not?:)09:03
noonedeadpunkSo it actually depends if root should be distributed or it's already there09:03
gokhanit didn't work 09:04
gokhanERROR 2026 (HY000): TLS/SSL error: wrong version number09:06
noonedeadpunkHm, ok, I mistreated error I guess...09:10
noonedeadpunkDo you have SSL settings in `/etc/mysql/mariadb.cnf` ?09:10
noonedeadpunkSo I'm actually trying to understand if SSL is configured for server at all and be used09:11
noonedeadpunkyou should be able to set `galera_use_ssl: False` explicitly to disable SSL09:12
gokhanthere is no ssl seettings in both server and client side 09:14
gokhandefault value is false https://github.com/openstack/openstack-ansible-galera_server/blob/stable/2023.1/defaults/main.yml#L239C1-L240C109:17
gokhanbut ssl verify is true 09:17
noonedeadpunkgokhan: well, there's an override in openstack_ansible/inventory/group_vars09:21
noonedeadpunkhttps://opendev.org/openstack/openstack-ansible/src/branch/master/inventory/group_vars/all/infra.yml#L5209:22
gokhanI see, I need rerun haproxy, galera and utility 09:25
gokhannow the error is ERROR 1130 (HY000): Proxy header is not accepted from 10.13.201.2109:28
*** tosky_ is now known as tosky10:19
noonedeadpunkgokhan: sorry had a meeting10:42
noonedeadpunk10.13.201.21 is not a VIP, is it?10:42
gokhannoonedeadpunk, no worries :) no it is not wip, it is infra1 ip 10:43
gokhanit is haproxy issue, when I changed ip to galera, it work  10:44
noonedeadpunkso... is it included in `proxy-protocol-networks` in /etc/mysql/mariadb.cnf?10:44
gokhanyes it is not inclued, ips in there are wrong, it needs to be br-mgmt ips, but ips in protocol network ips are public endpoints  10:49
noonedeadpunkum, yes, they should be br-mgmt ips10:50
noonedeadpunkand it should take mgmt ip: https://opendev.org/openstack/openstack-ansible/src/branch/master/inventory/group_vars/galera_all.yml#L43-L4910:50
noonedeadpunkor well.....10:50
noonedeadpunknot on yoga, but on antelope10:51
noonedeadpunkand if you're having management_address set to smth different then br-mgmt - that could be the reason....10:52
noonedeadpunkBut it comes from the inventory iirc10:52
gokhanyes, I have overrided it in user variables for before versions :( thanks noonedeadpunk :)10:56
jrosserhttps://github.com/ceph/ceph-ansible/commit/a9d1ec844d24fcc3ddea7c030eff4cd6c414d23d11:12
gokhannoonedeadpunk, where is management_address is assigned ? it is wrong in my deployment 11:13
noonedeadpunkit's coming from openstack_inventory. I think that inventory taking from `is_management_address: true` in provider_networks from openstack_user_config11:15
noonedeadpunkAgain?11:16
noonedeadpunkgokhan: or well, is_container_address: true should also work as fallback11:19
gokhannoonedeadpunk, https://paste.openstack.org/show/bvdVttJZxqsglndTfNCu/ it is in there but it didn't work 11:26
gokhanmanagement_adress is different in our inventory11:33
noonedeadpunkthat's weird11:35
noonedeadpunkgokhan: but, does host defenitions in openstack_user_config contain IP from the same subnet, or you're using a different one for SSH?11:38
noonedeadpunkas, for instance, we also doing smth like this here: https://opendev.org/openstack/openstack-ansible/src/branch/master/doc/source/reference/inventory/configure-inventory.rst#having-ssh-network-different-from-openstack-management-network11:40
noonedeadpunkwhen we want ansible to access hosts through different network rather then via management one11:41
noonedeadpunkso ansible_host != management_address11:41
gokhannoonedeadpunk, yes you are right, host definitions in openstack user config contains ip from different subnet, we are using a vm for deployment host. it seems we need to override it from user_variables12:01
jrosserit doesnt really matter about using a vm for a deployment host12:10
jrosseryou need connectivity / routing / bastion of some kind between the deployment host and the host definitions in openstack_user_config12:12
spatelFolks, looking for help to understand Ceph rgw eraser coding.. and bucket placement. I have 2 node with some HDD and I want EC pool to use HDD nodes. I did this - https://paste.opendev.org/show/bbk0QGA0zwpgTbsQLDFd/ 14:16
spatelAs per my understanding ahm.rgw.buckets.data should live on HDD right? 14:17
jrosserspatel: it depends what performance you need where you put the pools14:57
spatelI want to put pool on HDD nodes 14:57
jrosserif you only have two hosts for an hdd ec pool thats really not enough? not even enough for replica-314:58
spatelTomorrow adding one more node 15:00
spatelso I will total have 3 nodes 15:00
jrosserso you want ahm.rgw.buckets.data on the EC pool and leave everything else replicated i think15:04
spatelI want ahm.rgw.buckets.data on EC pool using HDD 15:04
jrosserand the index wants to be on the fastest thing you have15:04
spatelYou are correct index on SSD which is by default SSD 15:05
spatelHow do I tell ceph to use .data pool to HDD15:11
mgariepyit's defined by the crush rule for the pool.15:38
spatelMy my "ceph orch ps" command hanging after reboot mgr daemon :(15:40
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-hardening master: Use replace module instead of lineinfile for disabling dynamic motd  https://review.opendev.org/c/openstack/ansible-hardening/+/90709516:24
opendevreviewDmitriy Rabotyagov proposed openstack/ansible-hardening master: Use replace module instead of lineinfile for disabling dynamic motd  https://review.opendev.org/c/openstack/ansible-hardening/+/90709516:26
jrossernoonedeadpunk: i looked at how the mariadb repo setup script works, and it points to slightly different urls, like https://paste.opendev.org/show/b3t86KRzC1mT7aCqgTOI/16:52
jrosserdid you see that before16:53
jrosserand browsable version like https://dlm.mariadb.com/browse/mariadb_server/228/1915/16:53
noonedeadpunkSo, I think it leads to some kind of mirrors by default16:54
noonedeadpunkI had some talk with mariadb folks veeery long ago and they said kinda - whatever. But not 100% sure16:56
jrosseryeah it is very confusing about what the "right" repo url to use16:58
jrosserbecause also they give https://mirrors.xtom.nl/mariadb/repo/10.11/ubuntu/ as a mirror location16:58
noonedeadpunkWell. Kinda as long as we don't have any stability issues with original one, potentially there's no reason to switch...17:04
noonedeadpunkThe only very concerning thing is MariaDB was mariadb in rest places, which makes switching between mirrors very inconvenient17:05
noonedeadpunkas you need to have full url then17:05
jrosserindeed - i double checked due to someone earlier having repo trouble17:05
jrosserand interesting to see how many different places this can come from :/17:05
TheCompWizI'm stuck.  Neutron doesn't seem to want to start on my compute node with the error "ERROR neutron.plugins.ml2.managers [-] No type driver for tenant network_type: vxlan. Service terminated!" ... and if I take a look at "ml2_conf.ini" I can see that the vxlan is missing from "type_drivers".  This is all ansible deployed, but I cann't figure out why it would be missing the vxlan.  (it has geneve,vlan,flat)20:44
admin1TheCompWiz, you can pass it via neutron_ml2_drivers_type variable 21:01
admin1also on the user_config, you have type with vxlan and the range for the vxlan ids to be used21:02
jrosserwhat does it say in ml2_conf.ini for tenant_network_types?21:08
TheCompWizadmin1: Shouldn't the openstack-ansible be smart enough to add the vxlan to the drivers config?21:25
TheCompWizjrosser: tenant_network_types does include the vxlan21:25
TheCompWiztenant_network_types = vxlan,flat21:26
jrosserthis is all determined by what you put in openstack_user_config21:28
jrosserwith "modern" openstack the network uses ovn as the ml2 driver21:28
TheCompWizjrosser: what/where should the vxlan be placed?  the provider_networks for vxlan already has the type set to "vxlan"21:29
jrosserand in ovn the default for tunneled tenant networks is geneve rather than vxlan21:29
jrosserso the question really is if you are wanting vxlan at all21:29
TheCompWizjrosser: sadly, I don't know the difference in capabilities between vxlan and ovn21:30
jrosserthey are not comparable things21:30
jrosservxlan is an network overlay technique, similar but different to geneve21:30
jrosserovn is a framework for software defined networks21:31
jrosserhttps://www.ovn.org/en/21:31
TheCompWizok... so are you suggesting I should reconfigure to use geneve? 21:32
TheCompWizand just abandon vxlan?21:32
jrosserit depends21:32
jrosserbut lets say, if you were to build an openstack-ansible all-in-one today from the latest release, the default would be geneve21:33
jrosserbut you are free to use whatever you need21:33
TheCompWizok... so do you know of a reason why the vxlan wouldn't be included in the ml2 drivers?21:34
jrosservxlan might interoperate with some physical switches in certain use cases, but those are niche21:34
jrosserwhat ends up in the ml2 config file is determined by what you put in openstack_user_config21:34
jrosserand any variables you have overidden for neutron21:35
TheCompWizI have nothing overriden in neutron... that's what bugs me.21:35
jrosserthen can you share your openstack_user_config in a paste somewhere?21:36
TheCompWizhttps://paste.openstack.org/show/bIp5WearMO1rAXHF54qz/21:37
jrosserwell, this looks like a setup for ovs rather than ovn21:40
jrosserdue to specifying neutron_openvswitch_agent in places there21:41
jrosserwhich network driver would you like to use?21:41
TheCompWizHonestly, I don't know what I don't know.  I'm not even sure how to answer that.21:42
admin1if you use pvn, it defaults to geneve .. and its good and its what the industry is moving towards 21:42
admin1ovn*21:42
jrosserTheCompWiz: did you build an all-in-one?21:43
jrosser^ i think we may have discussed this before21:43
TheCompWizjrosser: I haven't.  21:43
TheCompWizI am hesitant to use the all-in-one... because I wouldn't learn much.21:44
TheCompWizmore than likely, I'll want OVN ultimately.21:45
jrosserif you can make a ~8 core 8G VM anywhere, you can build an all-in-one21:45
jrosserthe trouble with openstack is that it is a collection of software21:46
jrossereach part has <N> options for which driver or storage vendor or whatever21:46
jrosserso the matrix of all possibilties is gigantic, and really for practical purposes there are a set of choices that make the most sense21:46
TheCompWizjrosser: I  understand that.  but using a pre-built config to do an all-in-one skips all the "learning" part of "learning"21:47
TheCompWizand I'm still in the learning phase of the config.21:47
jrosserone of the things that the all-in-one does is make a bunch of those "sensible defaults" for you, and you get to a reference point in openstack-ansible terms very quickly21:47
jrosserthe config is unfortunately pretty infinite21:48
jrosseryou can put any key/value you like in any config file on any of your hosts21:48
TheCompWizjrosser: True.   Just out of curiosity... how difficult is it to take an all-in-one setup... and then later break it down into separate machines?21:48
jrosserit's possible21:48
jrosserone of the things that the all-in-one does is hide everything behind one interface and one ip21:49
jrosserprimarily to make it useful for CI and as a developer environment, rather than for actual deployments21:49
jrosserit is the very same thing that has to pass tests when we merge code21:49
TheCompWiz"possible" sounds more like... "yeah... you could, but you'd be shooting yourself in the face by the end of it."21:50
jrosserso there is some networking wierdness there with some NAT and iptables21:50
jrosserimho you should treat the AIO as a disposable reference environment21:50
TheCompWizjrosser: I can understand that.  That's what I assumed it was.21:50
TheCompWizsomething along the lines of "hey... see... it works.... now delete it and try it the better way"21:51
jrosserbut for example, you would get a known good openstack_user_config and see neutron working21:51
jrosserif you have access to a virtualisation environment of any kind then you can use that21:51
jrosserbut anyway - your openstack_user_config is currently setup for OVS21:52
jrosserand it defines vxlan type network21:52
jrosserbut the default in recent openstack-ansible is for OVN and geneve21:52
TheCompWizok.21:52
jrosserso i think thats probably the basis of the trouble here, that the default setup of the ansible roles does not match up with what openstack_user_config says21:53
TheCompWizjrosser: ok.  Time to nuke/pave once more.  ... this time with more gusto :D21:53
jrosserif you want to look at some config files, all the CI results are publically accessible21:54
TheCompWizthanks for your consult jrosser .21:54
jrosseryou would start here https://review.opendev.org/q/project:openstack/openstack-ansible+status:open21:54
jrosserthen we can pick the first thing in the list https://review.opendev.org/c/openstack/openstack-ansible/+/90675021:54
jrosseroh, bad example, thats just documentation update21:55
jrosserthird one https://review.opendev.org/c/openstack/openstack-ansible/+/90614821:55
jrosserpress "zuul summary" https://review.opendev.org/c/openstack/openstack-ansible/+/906148?tab=change-view-tab-header-zuul-results-summary21:55
jrosserpick the environment you are interested in, perhaps ubuntu jammy with LXC containers https://zuul.opendev.org/t/openstack/build/215d36c446644d489f8f91a00ffca1a021:56
jrosserchoose logs https://zuul.opendev.org/t/openstack/build/215d36c446644d489f8f91a00ffca1a0/logs21:56
jrosserthen we can navigate to the ml2_conf.ini https://zuul.opendev.org/t/openstack/build/215d36c446644d489f8f91a00ffca1a0/log/logs/etc/host/neutron/plugins/ml2/ml2_conf.ini.txt21:57
jrosseror see the openstack_user_config https://zuul.opendev.org/t/openstack/build/215d36c446644d489f8f91a00ffca1a0/log/logs/etc/host/openstack_deploy/openstack_user_config.yml.txt21:57
TheCompWizwouldn't the ml2_conf.ini be auto-generated by ansible?21:57
jrosseryes all these files are grabbed off the test node once the CI job finishes21:57
jrosserotherwise there is no way to debug :)21:58
jrosserbut these jobs all run the AIO21:58
jrosserso if you want to poke around the config / resulting files without running it yourself, it's all there to see21:58
TheCompWizmuch appreciated.22:03
TheCompWizon a side note... is there a bootcamp you would recommend or online tutorial for someone who has just started getting his feet wet with openstack?22:04
noonedeadpunkthere're quite some ops meetups and/or openinfra days during May22:24
noonedeadpunkTheCompWiz: I can also check on Cleura Academy - though not super cheap: https://shop.cleura.com/22:26
noonedeadpunkhm, it looks smth is off with tempest excludelist patterns....22:49
noonedeadpunkhttps://zuul.opendev.org/t/openstack/build/21874c048592450fb6582f8f363193fd/log/logs/etc/host/openstack_deploy/user_variables_ironic.yml.txt#922:49
noonedeadpunkBut then we apparently failing on supposedly disabled test: https://8a5247649d3115bcd2e6-5f55b49caeaffd6ebf7a83fc93de4834.ssl.cf1.rackcdn.com/906353/2/check/openstack-ansible-deploy-aio_metal-ubuntu-jammy/21874c0/logs/openstack/aio1-utility/stestr_results.html22:50
noonedeadpunkor smth off with tempest itself - I in fact can't find the include/exclude lists generated in logs :(22:51
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Restore Ironic test_chassis_node_list test  https://review.opendev.org/c/openstack/openstack-ansible/+/90715422:54
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_ironic master: Allow to extend default ironic_driver_types  https://review.opendev.org/c/openstack/openstack-ansible-os_ironic/+/90715522:54
noonedeadpunkI'm kinda sure that magnum fails due to the same reason eventually22:56
noonedeadpunkTests that are failing here: https://0f52ec42c8d2def0cbb2-9a428750761834a84d7f79789f3b4734.ssl.cf2.rackcdn.com/901185/7/check/openstack-ansible-deploy-aio_metal-ubuntu-jammy/25f4c0a/logs/openstack/aio1-utility/stestr_results.html22:57
noonedeadpunkare excluded https://opendev.org/openstack/openstack-ansible/src/branch/master/tests/roles/bootstrap-host/templates/user_variables_magnum.yml.j2#L56-L5922:57
noonedeadpunkfeels like we landed something.... but not sure...22:58
* noonedeadpunk spawning aio23:03
* noonedeadpunk and goes to bed :p23:03

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