Monday, 2024-02-19

qwebirc68751Hi Guys, I'm trying to install Openstack Environment, Zed version - to train upgrade process with system upgrades to Bobcat (with upgrade to 2023.1 in the middle).00:02
qwebirc68751 Playebook setup-hosts and setup-infrastructure went without any errors. I've checked database cluster - up and running with 3 node's.00:03
qwebirc68751When I run setup-openstack it ends on task: openstack.osa.db_setup : Create database for service with error: failed: [dev-os-controller01_keystone_container-493f8d15 -> dev-os-controller01_utility_container-0319acf7(10.13.17.94)] (item={'name': 'keystone', 'users': [{'username': 'keystone', 'password': 'XXX'}]}) => {"ansible_loop_var": "item", "changed": false, "item": {"name": "keystone", "users": [{"password": "XXX", "00:04
qwebirc68751"msg": "unable to connect to database, check login_user and login_password are correct or /root/.my.cnf has the credentials. Exception message: Packet sequence number wrong - got 1 expected 2"}. 00:04
qwebirc68751Any ides what can be wrong?00:05
qwebirc68751I can see file my.cnf (/root/.my.cnf) on utility container and it contains "client" section with host, user, password00:06
qwebirc68751You can she full traceback here: https://owncloud.ohnsorge.pl/index.php/s/VDwYHzLkIqSalM0/download 00:12
qwebirc68751see*00:12
noonedeadpunkgood morning08:28
jrossermorning08:35
jrosserthere are still a couple of outstanding patches in the ops repo for capi https://review.opendev.org/c/openstack/openstack-ansible-ops/+/90636309:58
noonedeadpunkso for capi it seems that biggest questions is octavia and skipping tempest11:00
noonedeadpunkand I also promised to look at docs in ops...11:00
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: Allow general purpose resources to be created during setup-openstack  https://review.opendev.org/c/openstack/openstack-ansible/+/90941111:01
jrosser^ this is part 1 for skipping tempest11:04
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-os_magnum master: Add job to test Vexxhost cluster API driver  https://review.opendev.org/c/openstack/openstack-ansible-os_magnum/+/90519911:05
jrosserand in turn it needs https://review.opendev.org/c/openstack/openstack-ansible/+/90876611:05
jrossernoonedeadpunk: so the only thing i would like to point out on https://review.opendev.org/c/openstack/openstack-ansible/+/909411 is that there is kind of duplication between openstack-common-* and openstack-user-* variables11:06
jrosserand if this is valid/correct thing to do or not11:07
noonedeadpunkso when temepst wil try to create a public network, it should just pass with OK?11:07
jrosserto distinguish between things that created 'inline' during setup-openstack.yml from openstack-common-*11:07
jrosserand things that get created when you call playbooks/openstack-resource.yml directly from openstack-user-*11:07
jrosseri note that there is no way to run a single playbook to just create openstack-common-* things, and i'm not totally happy with that11:08
jrosserso about tempest, if i set tempest_run=false then it will never try to create that network11:10
jrosserhopefully as you say it will just be 'OK' and not do anything otherwise11:10
jrosserthen we have the option to totally remove public network creation from the tempest role, as that feels kind of odd place to do it11:11
noonedeadpunkWell, it also probably depends a bit, but potentially yes...11:13
jrosserandrewbonney: would be interested if you have a view on my comment here https://review.opendev.org/c/openstack/openstack-ansible/+/90941111:13
noonedeadpunkfor me - more options to define is better - might get handy under some conditions11:17
noonedeadpunkabout not being able to create all resources in same run - mostly I do find that tricky when you depend on "output" of the role before defining next set11:18
noonedeadpunkAnd also there's in fact no output....11:18
andrewbonneyA separate playbook does sound useful. I do often find myself commenting bits of setup-openstack, so that would avoid further need to do so11:27
jrossercurrently there is no running of playbooks/openstack-resources as part of setup-everything11:35
jrosserso thats why i've introduced a new set of vars to for automatically created things, vs operator chooses when to run openstack-resources.yml11:36
noonedeadpunkyeah, makes sense11:36
noonedeadpunkand quite handy as well11:36
jrosserok let me refactor this a bit and make a standalone playbook just like the others11:37
noonedeadpunkbut um. we already have a standalone playbook?11:44
noonedeadpunkI guess I misunderstood a bit11:44
jrosserok, so should i just call playbooks/openstack-resources.yml directly from setup-openstack before tempest?11:44
jrosserthat would be simpler, but was not what happened with the original patch introducing that11:45
noonedeadpunkoh, ok, now I guess got what you mean11:48
jrosseryeah so i kind of 'wrap' openstack-resources.yml right now but inside setup-openstack.yml11:49
noonedeadpunkyeah, so having 2 same playbooks is not ideal indeed11:49
jrosserso i could move that wrapping to setup-common-resources.yml which then includes openstack-resources but using different vars11:50
jrosserbtw vars: on import_playbook does indeed seem to work11:50
noonedeadpunkor do just combine user_resources with common_resources...11:52
noonedeadpunkBut that might have really interesting consequences11:52
jrosserso whole reason for this complexity is your original patch didnt automatically run openstack_resources11:53
jrosserand so i feel there is some important reason for that11:53
noonedeadpunkno, not at all11:53
noonedeadpunkI don't know in fact11:53
jrosseras where/when to run it is maybe dependant on situation11:53
jrosserso if we are happy to always run it, then this becomes all much simpler11:54
noonedeadpunkI did not put much thinking originally and decided that we can iterate on usecases.11:54
noonedeadpunkI guess there were some nits in a role, like images being always downloaded11:54
noonedeadpunkSo I guess I'm thinking about 2 options now - just use 2 tasks of openstack-resources.yml playbook, and adding conditions there11:55
noonedeadpunkie when: openstack_common_identity or openstack_common_compute or openstack_common_network...11:56
noonedeadpunkor, do combine them...11:56
noonedeadpunkAs having 2 playbooks probably overkill?11:56
noonedeadpunkdunno11:57
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Disable RPC configuration for Neutron with OVN in CI  https://review.opendev.org/c/openstack/openstack-ansible/+/90852115:24
ThiagoCMCHey folks! I just noticed that `ceph-ansible` is deprecated, so sad. I always loved to deploy Ceph together with OpenStack using the `openstack-ansible` CLI in one go, everything from Ubuntu repositories (no Ceph repos, only Ubuntu UCA). I have an outdated deployment based on Ubuntu 20.04 (Victoria and Ceph 15). What's the plan for Ubuntu 24.04? Will OSA still support deploying Ceph using its CLI? I do not want Docker.15:48
admin1ThiagoCMC hey 15:50
ThiagoCMCHeeey!  :-D15:50
admin1you can use cephadm to import that and then use cephadm to control the old one, and then use ceph as external in osa 15:50
admin1import old ceph -> cephadm and then continue it further as independent via cephadm ..  then give the conf and keys and configure osa to take the values from the config directly 15:51
ThiagoCMCHmmm, ok! Got it. 15:51
noonedeadpunkbut you'd still have docker... and centos in docker15:52
ThiagoCMCEwwww...15:52
ThiagoCMCI see Ceph is pushing container-only deployments, I honestly don't like that.15:52
opendevreviewMerged openstack/openstack-ansible-ops master: Add playbook to run functional test of magnum capi driver  https://review.opendev.org/c/openstack/openstack-ansible-ops/+/90636115:54
noonedeadpunkI mainly don't like part of higher vendor lock that I'd want to15:55
noonedeadpunkas you kind also depend on quay.io, as dockerhub doesn't have all versions/updates15:56
noonedeadpunkand then centos is not very reliable lately according to what we see in CI15:56
noonedeadpunkbut we don't have any plans now for replacement15:57
opendevreviewMerged openstack/openstack-ansible-os_swift master: Remove nobarrier mount option from docs  https://review.opendev.org/c/openstack/openstack-ansible-os_swift/+/90923316:01
ThiagoCMCDaammnn... lol - After a quick research, I see that Ubuntu Charms can deploy the latest Ceph (Charmed Ceph) on bare metal (MaaS). Perhaps there's a way!16:04
jrosserceph-ansible does still work for reef16:07
jrosserregardless of the deprecation notice16:07
jrosserand the official upgrade path for a ceph installation is to use the package manager, and we proved thats completely OK here for Q->R16:08
noonedeadpunkand supposedly ubuntu will still package ceph in their UCA...16:10
jrosserwhat we did was an in-place upgrade from Q->R on 20.0416:11
jrosserthen we re-pxe each node in turn and re-deploy R on 22.04 with ceph-ansible16:11
jrosserall straightforward and no surprised16:11
jrosser*surprises16:11
ThiagoCMCBut Ceph is packaged back in Debian... I'm seeing Debian dropping that work.16:14
ThiagoCMC*I'm NOT seeing*16:14
noonedeadpunkhttps://wiki.ubuntu.com/OpenStack/CloudArchive#Ceph_and_the_UCA16:16
noonedeadpunkbut yes, Debian is packaging as well for sure16:16
ThiagoCMCBTW, I do have Ceph OSDs running in LXD containers: https://discuss.linuxcontainers.org/t/ceph-osd-fails-to-start-in-lxd-container-after-upgrading-host-from-ubuntu-20-04-to-22-04/17290 - But as you guys can see here in my post, it's challenging. Each kernel upgrade can potentially break the thing, so I want to go metal only. Or LXD/Incus if it's stable across upgrades (but no Docker for me).16:19
admin1so you want to do your own and face the same situation again vs running whats tested and supported 16:29
admin1if the community is moving towards docker and is supporting it, why not use it 16:29
admin1why complicate your life further ? 16:29
noonedeadpunkit depends on the prespective I guess. As it could be simplifying your life in a long run migrating out of the docker afterwards16:42
ThiagoCMCThat's a very good question, admin1! lol - I just don't want any CentOS/Docker in my pristine Deb-based environment.  :-D16:43
noonedeadpunkI guess I've seen 3 or 4 changes of deployment tooling for Ceph specifically when one was superceeding another without really good migration path. Like cephadm is the first having it16:43
ThiagoCMCBack in 2019~2020, I thought LXD was quite cool, because the containers behave like VMs.16:43
noonedeadpunkBut for me personally it feels slightly as a vendor lock in the future, when some blue giant will back of on community efforts16:44
ThiagoCMCYeah...16:44
ThiagoCMCSo, then, challenges related to LXD started to popup when upgrading the host... So, now, I want a new deployment from scratch, and copy the data, but Ceph Ansible was deprecated... hehe16:45
ThiagoCMCAnyway, sounds like time to learn it again!16:45
ThiagoCMCBut, please, no Docker/CentOS garbage. :-P16:45
noonedeadpunkI actually also having same doubts for new deployment - if to use ceph-ansible and migrate later or get on cephadm which doesn't look super appealing...16:46
noonedeadpunkand yes, centos is very big factor against cephadm16:46
ThiagoCMCSame feelings! 16:46
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_neutron master: Add variable to control distributed FIP choice  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/90947017:04
opendevreviewMerged openstack/openstack-ansible-os_neutron master: Fix permissions for rootwrap files  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/90903417:56
ThiagoCMCBTW, the `ceph-ansible` `stable-8.0` branch is still being developed.18:12
*** NeilHanlon is now known as nhanlon19:00
*** nhanlon is now known as NeilHanlon19:02
admin1i run ubuntu and cephadm .. not had any issues so far 20:13
admin1management, logging, automation, monitoring etc is all included 20:13
admin1nice gui  ..   it feels like running an appliance 20:14
ThiagoCMCMeh, I want Debian packages, shared libraries.20:26
ThiagoCMCIn the Debian pipeline we trust!  :-P20:27
ThiagoCMCCheck this out: https://blogs.gentoo.org/mgorny/2021/02/19/the-modern-packagers-security-nightmare/ 20:28
ThiagoCMCI want a container with `systemd`, and `apt-get`. Not some weird CentOS blob (in my Ubuntu) which I can't upgrade when I need/want.20:30
opendevreviewJames Denton proposed openstack/openstack-ansible master: [Feature] Add skyline deployment capability  https://review.opendev.org/c/openstack/openstack-ansible/+/85944621:36

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