Monday, 2023-06-05

admin1\o08:17
jrosserhello08:20
noonedeadpunkmornings08:27
admin1hi . i have this error -- https://gist.githubusercontent.com/a1git/574abff786cd71a4b636492695e5a9af/raw/06ca4ebe5d03c06d3e59c9898cc242e518369968/gistfile1.txt  .. trying to get both ceph and nfs backend to work on cinder 08:32
admin1individually/independently they work just fine 08:32
noonedeadpunkadmin1: so one tricky thing when doing both nfs and ceph - is that you'd need to disable active/active mode, as NFS does not support that09:01
noonedeadpunkyou can do that by setting cinder_active_active_cluster: false09:02
noonedeadpunkbut frankl;y speaking, when we had both nfs and ceph, we just set up another set of cinder-volume containers, to get use of active/active for ceph09:03
noonedeadpunkSo I'd suggest to keep them separate...09:03
opendevreviewDamian Dąbrowski proposed openstack/openstack-ansible master: Update AIO config before performing an upgrade  https://review.opendev.org/c/openstack/openstack-ansible/+/88519009:36
admin1noonedeadpunk, how do I do a diff container ? 09:36
admin1cinder_active_active_cluster: false -- is there any downside to this ? 09:36
noonedeadpunkWell, without having a coordination (like zookeeper/etcd/redis), activeactive probably should not be used... But we had weird behaviour without active/active enabled, as backends were just ignoring requested actions, so volumes could just stop unmounting or smth like that09:39
admin1i wanted to use gluster initially, but saw that there is no driver for it anymore 09:41
noonedeadpunkregarding extra group - we created an env.d file, and made these cinder_volumes_nfs_container to be part of cinder_volumes and  cinder_all09:41
admin13x nvme on glutser ( no replication, just a big raid0 stripe) and then pass it to cinder 09:42
opendevreviewDamian Dąbrowski proposed openstack/openstack-ansible master: [WIP] Add 'tls-transition' scenario  https://review.opendev.org/c/openstack/openstack-ansible/+/88519409:47
admin1noonedeadpunk , like this ? https://gist.githubusercontent.com/a1git/58f00f62fb9e08d8b15662f5ce69f9a2/raw/a37d9574f76cc8c279455cbaf1cd58e0443714f3/gistfile1.txt09:54
noonedeadpunkadmin1: iirc smth like that https://paste.openstack.org/show/bOW1Xl4QGyIJmTH0SUM1/09:57
noonedeadpunkbut better backup inventory before trying :D09:58
noonedeadpunkah, missed `container_skel:` before `cinder_nfs_volumes_container`09:58
noonedeadpunkhttps://paste.openstack.org/show/bptD7vyaBoxfHdxo5EHp/09:59
noonedeadpunkAnother way around - you can set affinity: 2 for already existing `storage_hosts` - then new containers will be created. But then you'd need to have host_vars rather then group_vars which is less convenient10:01
noonedeadpunkalso don't forget to configure storage network to pass to this new group10:02
jrosseras usual AIO is good for messing with this stuff - you can check the inventory very early on10:05
jrosserthen see if you get the extra container after setup-hosts10:05
admin1i have cinder.yml in env.d with container_skel ....     is-metal: false .. do i add this to the same file ?10:06
admin1jrosser, good idea .. will spin up an aio for this10:06
noonedeadpunkyou can add there or create a new one - doesn't really matter10:44
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_cinder master: Add quorum support for service  https://review.opendev.org/c/openstack/openstack-ansible-os_cinder/+/87540811:32
noonedeadpunkwould be great to have some reviews on https://review.opendev.org/q/topic:bump_osa+status:open14:14
mgariepydone.14:28
NeilHanlonnoonedeadpunk: just confirming something - OVN setup should be available as of Zed?14:48
noonedeadpunkyup14:48
NeilHanlonI'm responding to a question[1] about OSA on Rocky 9.2 w/ Zed and they're having bridge troubles https://stackoverflow.com/questions/76404439/trouble-creating-a-bridge-device-for-openstack-rocky-linux-9-2-networking14:49
NeilHanlonbut seems like they should just use OVN ;) 14:49
jrossernot sure that is really an OVN / not-OVN type of problem they have15:05
jrosserindependant of the neutron driver, two things..... 1) br-mgmt does not particularly need to be able to access the internet 2) br-mgmt on all the different hosts (vm in their case) need to be able to communicate15:06
jrosserNeilHanlon: ^^15:06
NeilHanlonyeah, their issue is actually that NetworkManager already grabbed their ens16015:07
NeilHanlonso the bridge will never enslave the interface15:07
NeilHanlonI commented with a bunch of stuff and pointed them to the channel ;) 15:07
NeilHanlonalso: happy monday folks. hope everyone is having a good week so far15:08
jrossermy week is starting interestingly via https://www.theregister.com/2023/06/01/moveit_transfer_zero_day/15:11
jrosseremployer -> outsource -> outsource + crap software = DOH15:12
NeilHanlonOuch15:13
jrossergives me a reality check of how un-corporate my dayjob is to see that there are people buying bug-ridden products out there which are windows server + IIS + crap code which basically do what rsync is, badly, apparently15:15
NeilHanlonat my $lastjob, my team (infra/ops) would routinely receive tickets from Marketing with something like "There's this AMI we need you to run and also we bought 20 domain names and we're going live Monday, can we get this all ready?" - on a friday15:20
NeilHanlonand we'd be like "what do you mean 'there's this AMI"? We don't run workloads on AWS.."15:20
noonedeadpunkBtw, I think it would be great to land this doc change https://review.opendev.org/c/openstack/openstack-ansible/+/88348815:24
NeilHanlon👍15:27
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Start 2023.2 (Bobcat) development  https://review.opendev.org/c/openstack/openstack-ansible/+/88492415:48
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Start 2023.2 (Bobcat) development  https://review.opendev.org/c/openstack/openstack-ansible/+/88492415:56
jlabarre-rhI keep getting the error "'shell' is not a valid attribute for a Play" when I try to run commands in a playbook (such as trying to import a galaxy collection, using "ansible-galaxy collection install openstack.cloud")16:03
jlabarre-rhthe playbook is starting with:           ---16:03
jlabarre-rh- name: add Ansible Galaxy collection for openstack cloud16:03
jlabarre-rh  shell: |16:03
jlabarre-rh    ansible-galaxy collection install openstack.cloud16:03
jlabarre-rhtried with and without that pipe after "shell:", we have other playbooks in our system running both ways, so I don't know what the purpose of it is anyway.16:05
jrosserjlabarre-rh: you could paste the actual error output somewhere, very hard to read it as lines in IRC 16:07
jrosseralso this is the irc for the openstack-ansible deployment tool, which is not the same as the ansible collection16:08
noonedeadpunkjlabarre-rh: I think you should have also `hosts: localhost\n tasks:` or smth before using `shell`16:16
jlabarre-rhI just took out some of my tasks that are just supposed to list what I just added (for checking that it ran OK) and it got further (but failed with an Incompatible openstacksdk library found).  Hosts is defined in the playbook calling this one16:18
jrosserjlabarre-rh: you need to take pretty great care to set up an environment with compatible openstack collection and openstacksdk versions16:21
jlabarre-rhI'm probably going to have to rely on just shell commands for the user creation rather than a module for now16:23
opendevreviewMerged openstack/openstack-ansible master: [doc] Update upgrade guide to mention SLURP  https://review.opendev.org/c/openstack/openstack-ansible/+/88348818:12
depasqualeciao everybody I have a strange problem for the very first time in my life with OpenStack18:22
depasqualeinstalling via openstack ansible, when installing keystone I receive the following issue:18:23
depasqualeSQL connection failed. 10 attempts left.: oslo_db.exception.DBConnectionError: (pymysql.err.OperationalError) (2003, "Can't connect to MySQL server on '172.29.236.10' ([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate is not yet valid (_ssl.c:1131))")18:23
noonedeadpunkdepasquale: oh, that's interesting.18:24
noonedeadpunkAre you sure that your clocks are synchornized?18:24
depasqualeOn playbook setup-openstack.yml task os_keystone : Check current state of Keystone DB fails because exit code 1 from /openstack/venvs/keystone-20.1.0.dev9/bin/keystone-manage db_sync --check18:24
depasqualeI am running stable/zed 18:25
noonedeadpunkas that feels like deploy host date/time is not in sync with some other hosts18:25
jrosser"certificate is not yet valid" <- this is generated on the deploy host18:25
depasqualeuhm ok. let me check18:25
jrosserbut the check will be done on a host like the utility container18:25
noonedeadpunkthough we're installing chrony by default, except deploy host18:25
jrosserso any skew there in the wrong direction will be bad18:26
depasqualeok. do you have the command you wish to execute on utility container?18:26
jrosserdeploy host being in the future, there is no room for error18:26
noonedeadpunk`date`?:)18:26
jrosserbut deploy host being in the past won't be noticed18:26
depasqualeok makes sense18:26
noonedeadpunkwell, or one lxc hosts is in past18:27
depasqualebut I have no idea why it thinks to be in the past18:27
depasqualewe are talking about a fresh installation on formatted servers18:27
noonedeadpunkyeah, but server time is provided by bios18:27
depasqualeok let me check18:27
noonedeadpunkafter installation18:27
depasqualeI think it can be an issue on the OSA machine18:28
noonedeadpunkuntil time gets synchronized with chrony or smth like that18:28
depasqualeok my OSA is looking at future... :D Tue 13 Jun 2023 09:09:19 AM UTC18:28
depasqualelet me check if this solves the issue18:29
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible stable/2023.1: [doc] Update upgrade guide to mention SLURP  https://review.opendev.org/c/openstack/openstack-ansible/+/88525718:29
noonedeadpunkdepasquale: you can try running hardening role against OSA host I guess...18:30
noonedeadpunkAt very least just with a tag to setup a chrony18:30
jrosseri think also the certificate will not be re-issued, as it exists now18:32
noonedeadpunklike `openstack-ansible playbooks/security-hardening.yml -e security_host_group=localhost --tags V-72269`18:32
noonedeadpunknah, it won't18:32
jrosseri think `-e haproxy_pki_regen_cert=true` will be needed on the haproxy playbook to do that18:33
depasqualetime synched I am regenerating the certs and trying to update everything18:33
noonedeadpunkarhg18:34
noonedeadpunk`E:Failed to fetch https://ppa1.novemberain.com/rabbitmq/rabbitmq-server/deb/ubuntu/dists/jammy/main/binary-amd64/Packages.gz  File has unexpected size (8854 != 9044). Mirror sync in progress? `18:34
depasqualeIt will require few time. But thanks a lot for the help! Let's see if it is all18:34
noonedeadpunkYou can trigger certificates re-generation18:35
noonedeadpunkbut will need to run all playbooks from the beginning18:35
* noonedeadpunk having sooo bad connection, that pages barely load18:36
noonedeadpunkdepasquale: I think you will need to run `openstack-ansible setup-hosts.yml -e pki_regen_ca=true -e pki_regen_cert=true`18:41
noonedeadpunkand same for setup-infrastructure afterwards18:41
NeilHanlonnoonedeadpunk: i've been seeing that error a bunch, too. They need to fix how they are syncing the packages, I think...18:46
NeilHanlonI'm honestly debating just making my own mirror of them for us all18:46

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