Thursday, 2021-06-10

*** spatel has joined #openstack-ansible02:05
*** spatel has quit IRC02:51
*** spatel has joined #openstack-ansible02:54
*** spatel has quit IRC03:22
*** opendevreview has quit IRC05:26
*** rpittau|afk is now known as rpittau06:54
*** tosky has joined #openstack-ansible07:03
*** frenzy_friday is now known as anbanerj|rover07:04
*** andrewbonney has joined #openstack-ansible07:20
*** luksky has joined #openstack-ansible07:29
*** opendevreview has joined #openstack-ansible08:58
opendevreviewMerged openstack/openstack-ansible-openstack_hosts master: Use PKI role to install CA certificates  https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/79043108:58
*** jnamdar has joined #openstack-ansible09:16
jnamdarhi all09:16
jnamdarI'm having some trouble with the murano dashboard in horizon https://pastebin.com/WAvqmPPL09:17
jnamdarit's happening at the TASK [os_horizon : Ensure static files are collected and compressed]09:17
jnamdarIs there any way I can disable murano dashboard install maybe?09:17
jnamdarok I commented out the murano line in openstack-ansible/inventory/group_vars/horizon_all.yml, that should do the trick09:22
*** frenzy_friday has joined #openstack-ansible09:51
*** frenzy_friday has left #openstack-ansible09:51
*** er-bot has joined #openstack-ansible09:52
*** er-bot has left #openstack-ansible09:53
noonedeadpunkjnamdar: you could also just set a variable `horizon_enable_murano_ui: false` in your user_variables09:53
noonedeadpunkjrosser: andrewbonney: would be great if you could take a look at https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/79567010:01
andrewbonneyWill do10:02
noonedeadpunkwill push roles freeze for RC later today (once https://review.opendev.org/q/topic:%22osa%252Fpki%22+(status:open) will be rechecked)10:09
*** ioni has joined #openstack-ansible10:37
noonedeadpunkbtw I wonder why centos8 upgrade is failing for infra (cluster) https://zuul.opendev.org/t/openstack/build/d0e1c62eb3904c6b894527197581d37a11:37
jrosserlogs are very slow to load for me :/11:42
noonedeadpunkso actually feels like mariadb fails to start after container start11:51
noonedeadpunkor it's not auto-started11:51
*** spatel has joined #openstack-ansible12:19
noonedeadpunkSeems like github may become a better thing with https://github.com/github/roadmap/issues/211 :)12:28
*** spotz has quit IRC13:26
*** spotz has joined #openstack-ansible13:27
opendevreviewMerged openstack/openstack-ansible-rabbitmq_server master: Use ansible-role-pki to generate SSL certificates  https://review.opendev.org/c/openstack/openstack-ansible-rabbitmq_server/+/78803213:30
opendevreviewMerged openstack/openstack-ansible-haproxy_server master: Use external PKI role to manage haproxy self-signed certificates  https://review.opendev.org/c/openstack/openstack-ansible-haproxy_server/+/79007813:38
opendevreviewMerged openstack/openstack-ansible-os_cloudkitty master: Cloudkitty role cleanup and config updates  https://review.opendev.org/c/openstack/openstack-ansible-os_cloudkitty/+/79419914:11
spateljamesdenton around?14:18
jamesdentonsorrta?14:26
spatelsomething is wrong with aio/metal deployment14:28
spateli am seeing two 6640 manager in ovs14:29
jamesdentonhmm14:29
jamesdentonwhat error are you seeing?14:29
spatelroot@aio1:~# ovs-vsctl get-manager14:29
spatelptcp:664014:29
spatelptcp:6640:127.0.0.114:29
jamesdentonwhat OS?14:29
spatelubuntu focal14:29
noonedeadpunkdoh, parallel clone still fails from time to time :( http://paste.openstack.org/show/806534/14:30
jamesdentonis it causing issues?14:30
spatelvm failed to build14:30
spateltrying to debug14:30
jamesdentonis this OVN?14:30
spatelYes OVN14:30
jamesdentonhas the AIO been restarted?14:30
spatelyou mean whole VM?14:31
jamesdentonsure14:31
spatelno i didn't but i can do that if its requirement14:31
jamesdentonno no14:31
jamesdentoncurious, can you post 'ovs-vsctl list open_vswitch' please14:31
spatelhttp://paste.openstack.org/show/806535/14:32
spateli have also match hostname is correct without FQDN14:32
jamesdentonkk. i think the fix for that will be to set hostname in nova.conf, btw14:33
jamesdentonhave you tried deleting one of the managers?14:33
spatelbefore my ovsdb was complaining that port already in use so i have delete one of manager and that error is gone14:34
spatelwhere should i set hostname in nova.conf (i remember in past i didn't do anything and it just worked) not sure what change this time..14:35
jamesdenton[default]14:35
spatelonly change is i have applied my cluster patch14:35
jamesdentonsure14:35
jamesdentoni don't think that's it in this case14:35
jamesdentonbut can you show me 'openstack hypervisor list'?14:35
spatelhttp://paste.openstack.org/show/806536/14:37
jamesdentonok, so it may actually be that mismatch causing the issue14:37
opendevreviewMerged openstack/openstack-ansible-os_nova stable/train: config: add region_name to neutron  https://review.opendev.org/c/openstack/openstack-ansible-os_nova/+/79546714:37
spatelyou want to set host = aio in nova.conf?14:38
jamesdentonnot yet14:38
mgariepyspatel, did you tried with : https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/79552814:38
jamesdentontry: ovs-vsctl set open_vswitch . external-ids:hostname='aio1.openstack.local'14:38
opendevreviewMerged openstack/openstack-ansible-os_neutron stable/train: config: add region_name to nova  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/79546814:38
spatelmgariepy i removed manager by hand14:39
jamesdentonmgariepy good find on that, too. i guess OVS is setting up it's own manager now?14:39
jamesdentonspatel OVS seems to set hostname to long name, which is why i did this: https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/79300914:39
jamesdentonbut nova defaults to shortname, in my experience, thus the recommendation to set long in nova.conf14:40
spateljamesdenton no luck14:41
spatelsame error "message": "Exceeded maximum number of retries. Exhausted all hosts available for retrying build failures14:41
spateli think something else going on14:43
spatellet me reboot host and see14:44
jamesdentonalso check nova-compute logs14:48
spatelseeing error in neutron-log14:51
spatelhttp://paste.openstack.org/show/806537/14:51
spatelfeel like still host name related issue somewhere14:52
jamesdentonyes, can you send me 'openstack host list'?14:55
spatelhold on, i have rebooted my host vm after setting up hostname14:55
spateljamesdenton here you go http://paste.openstack.org/show/806538/14:57
jamesdentonthat vm it's complaining about - old or new?14:58
spatelold or new??14:58
jamesdentoncan you spin up a new vm? and see if you get the same error in neutron log14:59
spatelok14:59
spatelnow neutron not showing any error and i can see error code is change to  {"code": 500, "created": "2021-06-10T15:00:42Z", "message": "No valid host was found. There are not enough hosts available.", "details": "Traceback (most recent call last)15:02
spatelafter reboot i am seeing two Hypervisor15:03
spatelhttp://paste.openstack.org/show/806539/15:03
jamesdentonyeah, nova service-list probably shows aio and aio.openstack.local15:03
jamesdentonwhich is fine15:03
jamesdenton(for now)15:04
spatelnova logs throwing error - "Conflict", "detail": "There was a conflict when trying to complete your request.\n\n Conflicting resource provider name: aio1.openstack.local already exists.  ", "request_id": "req-49b5a70e-c4e5-4a73-989a-71fdc4235eab"}15:05
spatelnova is confused15:05
spateldo you want me to delete one?15:06
jamesdentonyes15:06
spateltry this to remove but it has same name so how do i remove using ID https://docs.openstack.org/openstack-ansible/newton/developer-docs/ops-remove-computehost.html15:08
spatellet me try openstack compute service delete15:09
spateljamesdenton got this error http://paste.openstack.org/show/806540/15:12
spatelovsdb was dead, just started back15:15
spatelnow getting error - Failed to build and run instance: libvirt.libvirtError: Cannot get interface MTU on 'br-int': No such device15:15
spatelbut i can see it in ovs-vsctl show15:15
spatelit works now15:20
spatelafter restarting openvswitch-switch.service15:21
jamesdentonweird, but ok15:22
spatelnow i lost that where was the issue15:22
spatelduplicate manager or hostname chaos15:23
spateli think both15:23
spatelmgariepy patch is important to fix manager issue. (which i did by hand)15:23
spatelcurious why its failing here - https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/79552815:24
mgariepyseems like ovsdb is stopped for ${INSERT_FRUSTRATING_REASON_HERE}15:25
opendevreviewMerged openstack/openstack-ansible stable/ussuri: Disable magnum zero nodes test.  https://review.opendev.org/c/openstack/openstack-ansible/+/79513715:25
spatelhmm15:26
spatelyou patch failed at TASK [os_tempest : Ping router ip address]15:26
noonedeadpunkthis basically means that ovn is not working I guess15:31
*** anbanerj|rover has quit IRC15:32
*** frenzy_friday has joined #openstack-ansible15:33
mgariepyovsdb-server was off. and openvswitch-switch.service15:33
*** frenzy_friday is now known as anbanerj|rover15:33
mgariepywas also off.15:33
spatelnoonedeadpunk can we get access of that build VM so see what is the state of build?15:33
mgariepyafter starting both service the router goes up and can ping15:33
spatelmgariepy what do you mean by off?15:34
mgariepythey were stopped.15:34
spatelmay be ansible didn't started them or possible issue like i had (multiple manager)15:35
mgariepythe manager stuff was an issue.15:35
spatelbut you patch should fix that part15:35
spateli am going to re-build my aio again and see if in first short i spin up vm15:36
noonedeadpunkspatel: we can ask for a hold, then do recheck, and once that fails, we can ask for an access to the VM. Otherwise VM is deleted right after the CI is done15:36
mgariepyyes but still the services were not started.15:36
spatelnoonedeadpunk let me do couple of more test in my lab and if they works then we should ask for hold to see what is going on inside build VM15:37
noonedeadpunkfeels like mgariepy reproduced it?:)15:37
mgariepyaio with ovn scenario15:38
mgariepy+ the 2 patches for neutron15:38
mgariepyand it's reproduced.15:38
spatelhe did but i want to check if my ovsdb-server come up clean15:38
noonedeadpunkjrosser: yeah, mariadb is not enabled nowadays in centos15:40
mgariepyhttps://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/794266/9/tasks/providers/ovn_cluster_setup.yml#115:42
mgariepyoops line 35.. !15:43
mgariepyovsdb is stopped and never started i guess.15:43
spatelhmm i thought ovn-central start all the services including ovsdb-server15:53
spatelmay be i am wrong15:53
mgariepyhttp://paste.openstack.org/show/806542/15:54
spatelmgariepy you got it15:54
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-galera_server master: Ensure mariadb service is enabled  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/79583915:54
spatellet me fix that patch and add ovsdb-server exclusively15:54
mgariepycan you fix it ? inregrate my fix into your patch15:55
spatelyes fixing it now15:55
mgariepythanks15:55
spateldo you want me to make your patch changes in my patch ?15:55
spatelremove manager part15:55
spatelor add dependency15:56
mgariepyyes15:57
mgariepymerge it into yours15:57
mgariepyi'll abandon mine.15:57
spatelsounds good15:57
spatelmgariepy do you think we need to restart ovs-vswitchd.service also?16:00
opendevreviewMerged openstack/openstack-ansible-os_panko stable/ussuri: Fix wsgi_venv path for panko-api  https://review.opendev.org/c/openstack/openstack-ansible-os_panko/+/79504016:00
opendevreviewMerged openstack/openstack-ansible-os_panko stable/victoria: Fix wsgi_venv path for panko-api  https://review.opendev.org/c/openstack/openstack-ansible-os_panko/+/79503916:00
mgariepynot sure why it was stopped.16:00
mgariepy:/16:00
spatellets restart no harm in that16:01
spatelaio is all-in-one so hard to isolate services ( in multi-node i don't think we will see that issue)16:02
spatellets just do ovsdb at present and will see later16:02
jnamdardo I need to use the metal scenario if I want to deploy ironic in AIO? is that even possible? i'm kind of struggling to understand the role's doc https://docs.openstack.org/openstack-ansible-os_ironic/ussuri/configure-ironic.html, is the guide still relevan?16:04
jnamdarI tried to deploy with lxc, but nova seems messed up, I have no hypervisors16:04
opendevreviewSatish Patel proposed openstack/openstack-ansible-os_neutron master: Add ovn clustering support  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/79426616:05
mgariepydependency, ovsdb stops both ovsdb and opensvswitch stops, same with openvswitch,. but when i start openvswitch they all come back.16:05
mgariepynot the case with ovsdb-server.16:05
mgariepyso i guess we should use openvswitch-switch.service16:06
opendevreviewSatish Patel proposed openstack/openstack-ansible-os_neutron master: Add ovn clustering support  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/79426616:08
spateli can replace ovsdb-server with openvswitch-switch if that is correct way16:08
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible-galera_server master: Ensure mariadb service is enabled  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/79583916:09
mgariepyi think it is16:09
mgariepywhy does ovsdb needs to be stopped?16:09
spatelin my patch?16:10
mgariepyyes16:10
spateli just did for clean up other stuff before create cluster db16:11
mgariepyisn't the ovsdb for the ""local"" openvswith stuff and only the ovn nb and sb needs to be replicated?16:11
mgariepyreplicated/clusterd.16:11
mgariepyreplicated/clustered16:11
spatelnb/sb use ovsdb for database right?16:11
mgariepyyes but in their own files ? /var/lib/ovn/ovnnb_db.db ?16:13
mgariepyovsdb_server only serve for the local openvswitch-switch if I understand correctly16:14
mgariepyi might be mistaken tho.16:14
spatelfrankly speaking i stoped ovsdb-server just for safely16:14
spatelif you check ovn-northd you will see ovsdb-server is running there16:15
spatelwe can cut other patch where remove ovsdb-server stop line and see if that work or fail16:15
mgariepygive me 10 minutes i should have an answer, running setup-openstack without hthe ovsdb service management16:17
opendevreviewSatish Patel proposed openstack/openstack-ansible-os_neutron master: Add ovn clustering support  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/79426616:17
spatelok16:17
mgariepyi hope it works ! :D16:19
*** rpittau is now known as rpittau|afk16:24
mgariepyarf my server is not fast enough !16:26
spatelrebuilding aio_metal again to verify my patch16:34
mgariepyi'm at os-nova role :/16:34
mgariepyi got the manager in ovs-vsctl show !16:37
opendevreviewMerged openstack/openstack-ansible-openstack_hosts master: Update distro mirrors to match release  https://review.opendev.org/c/openstack/openstack-ansible-openstack_hosts/+/79567016:38
mgariepymoment of truth ! tempest is running !16:41
mgariepygreat success !16:43
mgariepyhttp://paste.openstack.org/show/806544/16:44
mgariepywe could drop the handler for ovsdb-server also.16:45
spatelmgariepy you are saying we don't need to touch ovsdb and just remove it from everywhere ?16:46
mgariepyyep16:48
spatellet me patch it16:49
opendevreviewSatish Patel proposed openstack/openstack-ansible-os_neutron master: Add ovn clustering support  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/79426616:50
spateldone16:50
spatelnoonedeadpunk just noticed my new aio failing here - http://paste.openstack.org/show/806545/16:51
spatellook like bad patch or something16:51
noonedeadpunklooks like you haven't bootstrtap ansible properly16:51
spatelhmm i think i did16:52
spatellet me try again16:52
noonedeadpunkyou should have https://review.opendev.org/c/openstack/openstack-ansible/+/788031/12/ansible-role-requirements.yml16:52
*** jnamdar has quit IRC16:56
spatel i did run scripts/bootstrap-aio.sh but still same error let me check that file16:58
spatelnoonedeadpunk pki section is missing16:59
spatelis this new change which i encountered suddenly17:00
noonedeadpunkthen you need to pull changes :)17:00
spatel:)17:00
spatelthats it17:01
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Freeze roles for Wallaby RC1  https://review.opendev.org/c/openstack/openstack-ansible/+/79584917:05
spatelnoonedeadpunk damn it now getting error here - TASK [Create CA certificates]17:10
spatellet me start over again17:12
noonedeadpunkyeah, might be best option...17:14
opendevreviewDmitriy Rabotyagov proposed openstack/openstack-ansible master: Unfreeze roles after RC1  https://review.opendev.org/c/openstack/openstack-ansible/+/79585117:14
*** raildo has joined #openstack-ansible17:18
noonedeadpunkwould be awesome to get this merged https://review.opendev.org/c/openstack/openstack-ansible/+/795849 asap17:24
mgariepydone my part :D17:40
spatelwhat is the difference between +2 vs +1 code-review ?17:59
spateljust curious17:59
*** ioni has quit IRC18:03
mgariepy+2 is approoved by core-reviewer18:04
spatelThanks!! may be one day :)18:05
opendevreviewMerged openstack/openstack-ansible-os_magnum stable/ussuri: Define region for Magnum trust  https://review.opendev.org/c/openstack/openstack-ansible-os_magnum/+/79504418:09
mgariepyspatel, added a few comments to fix ansible-lint stuff.18:20
spatelmgariepy thanks18:24
spateluse the service module and on L115 please  - (why?)18:24
spatelwhat is the advantage ?18:24
mgariepyit's more generic.18:30
mgariepyand it's what is used everywhere in osa.18:30
spatelok cool18:31
mgariepyfor now most distro uses systemd but if one would use sysvinit or *cought* upstart *cought* it would work with the service module18:32
mgariepyjust like using the package module instead of the apt one.18:33
opendevreviewSatish Patel proposed openstack/openstack-ansible-os_neutron master: Add ovn clustering support  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/79426619:22
spatelmgariepy look like after this patch all check will be green19:26
spateldid you verify ovn clustering on your PC ?19:28
noonedeadpunkspatel: jsut please, drop trailing whitespaces from license19:31
spatellet me see19:33
opendevreviewSatish Patel proposed openstack/openstack-ansible-os_neutron master: Add ovn clustering support  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/79426619:36
mgariepyspatel, testing it now into a vm.19:38
opendevreviewSatish Patel proposed openstack/openstack-ansible-os_neutron master: Add ovn clustering support  https://review.opendev.org/c/openstack/openstack-ansible-os_neutron/+/79426619:40
spatelmgariepy thanks19:40
mgariepyi'll most likely check it out next week tho.19:40
spatelsure no worry19:40
spatelenjoy your weekend19:41
*** ioni has joined #openstack-ansible19:59
*** andrewbonney has quit IRC20:00
*** spatel has quit IRC20:06
*** spatel has joined #openstack-ansible20:35
spatelnoonedeadpunk hey20:37
spatel"{{ groups[neutron_services['neutron-ovn-northd']['group']] | first }}"20:37
spatelyou want to do like this neutron_ovn_primary_cluster_node: "{{ groups[neutron_services['neutron-ovn-northd']['group']] | first }}"20:37
spatelwhat is the benefit here? or this is best practice thing?20:38
*** spatel has quit IRC20:52
*** spatel has joined #openstack-ansible21:47
*** spatel has quit IRC22:06

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