Thursday, 2022-03-17

*** arxcruz|off is now known as arxcruz07:50
*** dviroel|ruck|afk is now known as dviroel|ruck11:26
*** anbanerj is now known as frenzyfriday12:58
noonedeadpunkjamesdenton: MrClayPole_ that was the fix we had for the issue you found for V https://opendev.org/openstack/openstack-ansible-os_nova/commit/f15417aa316b6b94d5fc1988df8b71ea1bb5f24613:12
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_nova stable/victoria: Do not use imports inside included task  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/83413813:12
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-os_nova stable/victoria: Do not use imports inside included task  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/83413813:16
noonedeadpunkthis is backport ^13:16
MrClayPole_Thanks noonedeadpunk, I'll give it a test and report back.13:16
*** arxcruz is now known as arxcruz|ruck13:25
jamesdentonappreciate that!13:26
*** arxcruz|ruck is now known as arxcruz13:27
spatelis github is down ?14:21
spatelhope its not running on windows servers :(14:22
noonedeadpunkworks for me14:22
spatelgetting -> master -> master (Internal Server Error) with pushing code14:23
spatelmay be issue in US 14:23
spatelhttps://github.com/ also not working 14:23
*** tosky_ is now known as tosky14:27
mac189i have a question about installing xena if anyone has a chance...i'm failing at the 'os-keystone-install.yml' part of 'setup-openstack.yml'14:35
mac189I'm running into a problem at the part "Build wheels for the packages to be installed into the venv".  it wants to use "git+{{ keystone_git_repo}}..." in the 'keystone_pip_packages variable' found in /etc/ansible/roles/os_keystone/defaults/main.yml,  but it cannot clone http://<gitserver>/keystone.  I suspect this is due to the fact that my gitserver is actually a gitolite server and clones are done as "git clone 14:36
mac189ssh://gitolite3@<gitolite_server>"  I'm not sure how to manipulate the keystone_git_repo variable or the keystone_pip_packages variable so that this will work.  Any suggestions?14:36
noonedeadpunkmac189: and how have you defined keystone_git_repo? As ssh://gitolite3@<gitolite_server>/keystone?14:39
mac189or is there a way to have it work with gitlab (i.e. git@gitlab.server.com)?14:39
noonedeadpunkI don't think it matters?14:39
noonedeadpunkI mean - you can set any url for git repo, it can use ssh or http protocol14:40
spatelcurious why do you want to use different URL?14:40
noonedeadpunkas long as auth can be passed, actually14:40
* noonedeadpunk thinks it's about forked roles14:40
spateloh own repo 14:41
* noonedeadpunk thinks it's one of those who don't contribute back14:41
mac189hmm, ok...maybe i have a typo somewhere else in my config.  I'm trying to generate of alist of offline repos by set_fact ofline_openstack_services_repos and replacing the http://opendev url with the one i want to use14:41
mac189well we are in a disconnected environment, so have to copy all the outside repos in and then use those copies14:42
spatelnoonedeadpunk https://www.githubstatus.com/14:42
noonedeadpunkmac189: but you obviously haven't replaced https:// 14:42
mac189yes, as i'm typing this i realize that may be where my error is...sorry for the mistake14:42
noonedeadpunkmac189: and basically they're all here https://opendev.org/openstack/openstack-ansible/src/branch/master/playbooks/defaults/repo_packages/openstack_services.yml ?14:42
noonedeadpunkwell, not taking into account roles and collections14:43
noonedeadpunkmac189: um, and you can't have proxy to reach at least opendev.org?14:43
mac189no :(14:43
noonedeadpunkwell... and you already have local mirror of pypi?14:44
noonedeadpunkactually for `ansible-role-requirements.yml` you can have /etc/openstack_deploy/user_role_requirements.yml that should have prescedence over default one14:45
mac189ah ok, thanks14:45
noonedeadpunksame applies for collection requirements14:50
jrosserpypi mirror is no fun at all14:51
noonedeadpunkI kind of wonder if we still have option to configure pip.conf?14:51
noonedeadpunkI can recall dropping pip.conf in Q14:51
jrosseri would say that if you are in a disconnected environment then your host provisioning should already be responsible to doing $stuff to /etc/pip.conf14:54
jrosserit's not really an OSA concern at that point?14:54
jrossermac189: did you make a pip mirror?14:56
mac189the pip mirror we have is something i don't have access to in order to maintain...but it looks like it isn't as up to date as it needs to be so i'm going to reach out to those responsible for it14:57
jrosserah ok, thats good14:58
mac189thanks, i was so hung up in the "git clone" part of the error I was seeing that I missed the parts about pip14:58
mac189i appreciate the help and guidance with that14:59
jrosseryou *should* be OK - you might find other things like hatop that it tries to download from the internet and you need to provide a local version15:00
jrosserand set things like haproxy_hatop_download_url15:00
noonedeadpunkjrosser: but do we copy pip.conf to container?15:01
jrosserbased on my deployment i'd say yes15:02
jrosserbut would have to check where/how thats happened15:02
noonedeadpunkah, you need to set lxc_container_cache_files_from_host explicitly for that15:03
noonedeadpunkhttps://opendev.org/openstack/openstack-ansible/src/branch/master/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2#L24715:03
jrosseri have this https://paste.opendev.org/show/bEFxwgvFSfzahap8pdz2/15:04
mac189ah shoot, i do not have that variable override...thank you!15:05
jrosserhttps://paste.opendev.org/show/bXsDdBsh8CIg09SPOwdj/15:06
jrossermac189: i think it's pretty certain you will take a few attempts at this15:07
jrossercompletely offline install is possibly but theres a lot to deal with15:08
mac189that is the truth!15:08
MrClayPole_noonedeadpunk: I can confirm that the patch https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/834138 resolves my issue with nova_virt_type.15:18
noonedeadpunknice!15:19
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-lxc_hosts master: Replace systemd-mount template with role  https://review.opendev.org/c/openstack/openstack-ansible-lxc_hosts/+/83418315:24
noonedeadpunkif somebody was interested of the result of mysql issue I mentioned days back - it was keepalived ¯\(◉◡◔)/¯15:33
andrewbonneyWas that the single-region impacting issue? What about keepalived was causing it?15:38
noonedeadpunkSo, we appeared to have multicast being routed from another region. And we had same router IDs, but different pass. It appears that pass is not respected by slaves, so slaves were recieveing announce of VRRP from other region and promoting them as master for a 2 seconds several times an hour. So we got 2 VIPs and connections that arrived on slave were dead as in second IP was removed from it.15:41
noonedeadpunkAnd master was not affected at all15:41
noonedeadpunkAnd mysql is kind of most affected thing of that because of having too much connections that goes up and down15:42
andrewbonneyWell discovered. That sounds quite involved to debug15:44
noonedeadpunkwell, that master keepalived showed in logs nothing gave us false direction for several days....15:47
noonedeadpunkbut yeah, that was interesting :)15:48
*** dviroel|ruck is now known as dviroel|ruck|lunch15:56
jrosserah interesting, we've got haproxy_keepalived_*_virtual_router_id set to some value thats unique per deployment15:57
jrosseras i think we had something similar a long time ago with an AIO messing up a test lab deployment in the same subnet15:58
noonedeadpunkyeah and we left jsut defaults as thought that regions are fully separated...16:10
noonedeadpunkand it wasn't an issue until upgrade to Xena16:11
noonedeadpunkso upgrade to Xena likely triggered update of keepalived that raised the issue16:11
anskiyI'm using unicast, which looks kinda ugly in user_variables, because I have to override both whole instances :) Still haven't got time to debug my timeouts properly -_-16:12
noonedeadpunkanskiy: you can suggest patch to make things configurable ;)16:15
anskiyI was looking the other day to submit a fix for a typo in ksm tasks (which completely breaks playbook run) -- got lost in "how to contribute" :)16:17
noonedeadpunkanskiy: 1. register on review.openstack.org, set username and upload ssh key (and agree on some terms there). 2 install git-review 3. git clone; git commit; git review16:20
anskiynoonedeadpunk: that looks easy, thanks!16:28
noonedeadpunkso this doc for first 2 steps https://docs.openstack.org/contributors/common/setup-gerrit.html#individual-contributor-license-agreement16:32
noonedeadpunkthat is for 3 https://docs.opendev.org/opendev/infra-manual/latest/gettingstarted.html#proposing-a-change16:33
mgariepyquick one.. when all galera node do seqno: -1 and no safe_to_bootstrap how do you pick the right node ?16:40
mgariepyi guess i take the first one since that's the one that gets the write  :/16:42
noonedeadpunkI close to never see seqno other then -116:44
noonedeadpunkand yeah - that's the principle I use as well :)16:44
mgariepyhaha :)16:44
mgariepyi've seen some time that were not all seg_no: -1. 16:45
mgariepywell i think it was more safe_to_bootstrap : 1 at the end. 16:57
*** dviroel|ruck|lunch is now known as dviroel|ruck17:05
spatelnoonedeadpunk This is how i integrate my glance with glusterFS for image service - https://satishdotpatel.github.io/openstack-ansible-glance-with-glusterfs/17:09
jrosserthe mount at the end looks a little unusual, am i misunderstanding that?17:16
spateljrosser why unusal?17:27
jrossernow does it end up at /var/lib/glance in the container?17:28
jrosser*how17:28
spatelYes /var/lib/gance is bind to -> /openstack/os-infra-1_glance_container-0a4a378917:28
spatellxc.mount.entry = /openstack/os-infra-1_glance_container-0a4a3789 var/lib/glance/images none bind,create=dir 0 017:29
spatellxc.mount.entry = /openstack/os-infra-1_glance_container-0a4a3789 var/lib/glance/cache none bind,create=dir 0 017:29
spatelits already there OSA does that lax.mount17:29
jrosseris that a default?17:31
spatelyes.. it came with osa deployment. 17:32
spateli didn't touch anything except just mount gfs and copy all data to new mount point 17:33
spatelits working.. without any issue 17:33
jrosseroh yes from here https://github.com/openstack/openstack-ansible/blob/master/inventory/group_vars/glance_all.yml#L19-L2417:36
spatelI am thinking i can write playbook to do this integration if someone looking for this kind of solution. ofs openbstack-ansible-ops17:36
jrosseroh i see this https://github.com/openstack/openstack-ansible/blob/master/playbooks/os-glance-install.yml#L5717:37
spatel:)17:38
spatelI found this solution cheaper and easy compare to swift deployment 17:38
noonedeadpunkjrosser: I think we need align glance role with systemd_mount.... As since it's using it's own stanza that we convert later on, it makes things a bit weird imo...17:39
jrosseryes so those mounts only get made for the store being == file17:39
spatelah! 17:39
noonedeadpunktalkig about https://github.com/openstack/openstack-ansible-os_glance/blob/6bc829f2b2b9ab3bb192315398988f91e13ec764/tasks/glance_post_install.yml#L171-L17617:40
noonedeadpunkspecifically L17317:40
noonedeadpunkso if you want to use cephfs, as example, you can't do this because what format is kind of hardcoded17:41
jrosserah17:41
jrosserwell line 188 doesnt help there either17:41
noonedeadpunkyum, it's not17:41
noonedeadpunkwell, it's only naming though...17:42
noonedeadpunkbut yes....17:42
noonedeadpunkAnd last time I thought about that it was kind of hard to keep compatability17:42
jrosseryeah that needs a clean up17:42
jrosserlooks like it's too specific in the glance role17:43
jrosserand maybe just deprecating glance_nfs_client totally and having a new format variable would be the answer17:43
noonedeadpunkwell yes, by far I'd say that the only option17:44
jrosserseems we have lots of CI fail today17:45
jrosseri didnt get chance to look at it though17:45
noonedeadpunkon tempest plugins installation as git was failing checkout17:45
noonedeadpunkwe don't have them as dependant projects I believe17:45
noonedeadpunkso they got cloned from opendev17:45
noonedeadpunkso infra thing I believe, but we need to fix this eventually as well17:46
spateljrosser does my solution of glusterfs looks ok or any issue so i can take care right now before i go deploy everywhere17:49
jrosseri was just looking for how i made it take the services from the local git repos17:52
jrosserspatel: it looks fine - those mounts are only present for file backend which had me confused for a moment17:52
spatelcool! in my deployment i have backend is file everywhere :) 17:54
jrossernoonedeadpunk: this would need extending to cover the tempest plugins https://opendev.org/openstack/openstack-ansible/src/branch/master/scripts/get-ansible-role-requirements.yml#L95-L11217:55
jrosserwhich should be relatively straightforward as we already figure it out once17:55
opendevreviewDanila Balagansky proposed openstack/openstack-ansible-os_nova master: Fix missing quote  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/83421318:25
*** dviroel|ruck is now known as dviroel|afk20:55

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