Monday, 2020-04-20

*** threestrands has joined #openstack-ansible00:35
*** jhesketh has joined #openstack-ansible02:56
*** cshen has joined #openstack-ansible03:45
*** cshen has quit IRC03:49
*** evrardjp has quit IRC04:23
*** udesale has joined #openstack-ansible04:38
*** evrardjp has joined #openstack-ansible05:41
*** shyamb has joined #openstack-ansible05:48
*** shyamb has quit IRC06:04
*** miloa has joined #openstack-ansible06:04
*** shyamb has joined #openstack-ansible06:05
*** fghaas has joined #openstack-ansible06:17
*** cshen has joined #openstack-ansible06:41
*** jbadiapa has joined #openstack-ansible06:49
*** shyamb has quit IRC06:53
*** shyamb has joined #openstack-ansible06:53
*** thuydang has joined #openstack-ansible06:59
*** shyamb has quit IRC07:03
*** pcaruana has joined #openstack-ansible07:12
*** rpittau|afk is now known as rpittau07:12
*** threestrands_ has joined #openstack-ansible07:18
*** threestrands_ has quit IRC07:18
*** threestrands has quit IRC07:21
masterpeI removed elasticsearch cluster with openstack-ansible /opt/openstack-ansible-ops/elk_metrics_6x/site.yml -e 'elk_package_state="absent"' --tags package_install07:31
masterpeLike described on https://github.com/openstack/openstack-ansible-ops/tree/master/elk_metrics_6x07:32
masterpeBut the groups are like elastic-logstash_hosts still exists07:33
masterpeHow to remove the groups?07:33
*** udesale_ has joined #openstack-ansible07:47
*** udesale has quit IRC07:50
jrossermasterpe: you need to remove the files in env.d which were added for the ELK hosts07:50
jrosserremove the host entries from openstack_user_config.yml07:50
jrosserthen use scripts/inventory_manage.py to remove the hosts and groups from the inventory07:50
kleiniI tried now to add python 3 library to uWSGI role. The deployment fails. I don't see the uwsgi playbook running anywhere at least not for Keystone: http://paste.openstack.org/show/792392/. There is a task in uwsgi/tasks/uwsgi_install.yml named "Create uWSGI system group". I can not find this task name in the run, therefore I don't think uwsgi playbook is used for Keystone. So how to proceed to fix the missing python 308:21
kleinilibrary for uWSGI based services?08:21
*** sshnaidm has joined #openstack-ansible08:22
*** shyamb has joined #openstack-ansible08:23
kleiniFound the import_role: name: uwsgi in some OS daemon deployments. Keystone is an exception.08:25
kleinihttps://review.opendev.org/#/c/720546/1 <- this is then required for me for Train08:26
masterpejrosser: I have done that, if I do a inventory-manage.py -r elastic-logstash_hosts, then a inventory-manage.py -G the group is still there08:33
*** cshen_ has joined #openstack-ansible08:45
*** shyam89 has joined #openstack-ansible08:45
*** cshen has quit IRC08:48
*** shyamb has quit IRC08:48
masterpeIf I start dynamic_inventory.py I get the error KeyError: u'elastic-logstash_hosts'08:54
*** tosky has joined #openstack-ansible09:01
jrosserhave you removed the hosts from the inventory as well as the group?09:03
masterpeThe group elastic-logstash_hosts is not empty09:19
masterpeIn this group it has the physical controllers09:20
*** shyam89 has quit IRC09:20
masterpeThis machine is also in use for cinder09:20
*** shyam89 has joined #openstack-ansible09:20
*** gregwork has quit IRC09:24
*** this10nly has joined #openstack-ansible09:29
kleinijrosser: adding libpython3.6 to the uwsgi_distro_packages still does not solve the problem for me. install method for uwsgi is still source for me an then this package list is not considered at all as python_venv_build is running. Unfortunately that does not install libpython3.6 on the target container. I will try to understand what python_venv_build does but some help maybe solves the issue faster for me.09:30
*** shyam89 has quit IRC09:32
*** shyamb has joined #openstack-ansible09:35
*** shyam89 has joined #openstack-ansible09:45
*** shyamb has quit IRC09:48
*** rpittau is now known as rpittau|bbl10:15
*** shyam89 has quit IRC10:33
jrosserkleini: have you tried replacing this with the python3 library? https://github.com/openstack/openstack-ansible-os_keystone/blob/master/vars/debian.yml#L2310:42
jrosserbecasue as i understand it this is specific to the keystone role10:43
kleiniI replaced that and keystone deployment works then. This topic is fine. I try now to fix all the other uWSGI based services with fixes in the ansible-role-uwsgi. That role still uses source install method and yet I have not clue, where to tell it to install libpython3.610:44
jrosseri am still surprised that it fails10:45
kleinistill the same problem as last week. uwsgi binary is missing libpython3.6m.so.1.010:45
jrosserwhich OS are you using?10:47
kleinihttp://paste.openstack.org/show/792404/, Ubuntu 18.04 LTS10:48
kleinihttp://paste.openstack.org/show/792393/ <- placement deployment log10:49
jrosseri have that library available http://paste.openstack.org/show/792405/10:50
jrosserthen when i look in the container base image libpython3.6m is present http://paste.openstack.org/show/792406/10:52
jrosserthis is why i am hesitating to just patch roles to fix this, i'd rather understand actually whats happening here10:53
kleiniI totally agree with you, that is is necessary to understand, what is the cause. My base container does not contain libpython3.6m.so.1.010:54
kleiniso there is the cause.10:54
jrosseri will test this in a VM10:58
jrosserkleini: this is train branch?11:00
kleinistable/train11:00
kleiniI would say, problem is here: https://opendev.org/openstack/openstack-ansible-nspawn_hosts/src/branch/master/vars/ubuntu-18.04.yml#L33 there only libpython2.7 is listed11:02
jrosseroh man - nspawn :(11:07
kleiniyes, nspawn, of course!11:07
kleininothing's better than that ;-)11:08
jrosserso none of this is to do with the uwsgi or other roles11:08
jrosserit needs fixing there11:08
kleinijust added libpython3.6 there and will test with placement now11:08
kleinidoes LXC use /var/lib/machines, too?11:09
jrosseryou'll need to force rebuilding of the base image, and delete the existing container11:09
jrosserthe OSA lxc role is set up to keep the container image in the same place11:10
jrosserif you really want to use nspawn then i'd recommend adding and maintaining a CI job using nspawn11:11
jrosserbecasue this is not getting any testing at all11:11
kleiniI have no idea, how to setup a CI job using nspawn? Maybe I need to switch to LXC. I see some _zfs playbooks in the LXC role. Does it support ZFS storage? That would be really nice!11:13
jrosseri use lxc + zfs11:14
kleinifor all productive target hosts - as long as they are physical hardware - I use Ubuntu 18.04 on ZFS root and all my filesystems, partitions, hardware failures are gone!11:14
jrosserdo you PXEboot those?11:15
kleininope, still USB stick and SSH console for initial setup11:15
kleiniwe're too small11:15
jrosserzfs + lxc http://paste.openstack.org/show/792407/11:16
kleiniand placement uWSGI stuff is up and running11:17
jrosserwell we should patch the nspawn role for that11:17
jrosserubuntu + pxeboot + zfsroot is sad situation - no real support in debian-installer for zfsroot11:18
jrosserso i use very small md raid1 for root then mount a raidz1 over the important bits11:19
kleiniroot ZFS with mirrored bpool and rpool satisfies all my needs11:23
*** thuydang has quit IRC11:24
kleinijrosser: lxc_hosts/var/ubuntu-18.04.yml lists python3-dev. So -dev packages are necessary as you said, no -dev packages on productive containers.11:28
kleini?11:28
*** this10nly has quit IRC11:31
*** this10nly has joined #openstack-ansible11:33
*** cshen_ has quit IRC11:35
jrosserkleini: ideally the -dev packages are not in the base image because they are not needed in most of the containers11:41
*** cshen has joined #openstack-ansible11:41
jrosseri have a patch from a very long time ago which was never merged that removes all that https://review.opendev.org/#/c/613078/19/vars/ubuntu-18.04.yml11:41
*** cshen has quit IRC11:46
*** rh-jelabarre has joined #openstack-ansible11:50
openstackgerritMarcus Klein proposed openstack/openstack-ansible-nspawn_hosts master: Python 3 library is needed for uWSGI.  https://review.opendev.org/72124611:51
kleini^^^ my most minimal fix11:52
*** rpittau|bbl is now known as rpittau12:03
*** cshen has joined #openstack-ansible12:14
*** udesale_ has quit IRC12:34
*** irclogbot_1 has quit IRC13:06
*** irclogbot_0 has joined #openstack-ansible13:07
*** thuydang has joined #openstack-ansible13:08
*** thuydang has quit IRC13:38
*** thuydang has joined #openstack-ansible13:54
*** miloa has quit IRC13:56
-openstackstatus- NOTICE: Zuul is temporarily offline; service should be restored in about 15 minutes.13:57
*** cshen has quit IRC14:25
*** this10nly has quit IRC14:28
*** cshen has joined #openstack-ansible14:45
*** rh-jelabarre has quit IRC14:58
Nick_AWe have nova_resume_guests_state_on_host_boot set to False for a specific compute host in our openstack_user_config.yml file. Should nova.conf on the compute host be changed to False after running playbooks? How do we confirm that value is correctly applied?15:01
*** mgariepy has joined #openstack-ansible15:03
jrosserNick_A: you should check this https://opendev.org/openstack/openstack-ansible-os_nova/src/branch/master/releasenotes/notes/removed-variables-ce24689e104e537c.yaml15:03
dmsimardjrosser, mnaser, noonedeadpunk: btw I tested the latest release of ara with https://review.opendev.org/#/c/696634/ -- data: https://api.trunk.demo.recordsansible.org/?name=&path=openstack-ansible&label=15:09
*** rh-jelabarre has joined #openstack-ansible15:09
dmsimardand in API form: https://api.trunk.demo.recordsansible.org/api/v1/playbooks?path=openstack-ansible15:09
Nick_Ajrosser thank you15:10
Nick_ASecond, unrelated question if anyone has time: what timeouts or other settings might we be overlooking that would sometimes cause errors like this when taking snapshots? http://paste.openstack.org/show/792417/15:13
*** mmethot has quit IRC15:19
*** redkrieg has joined #openstack-ansible15:25
redkriegIf I set a number of things in nova_nova_conf_overrides under a file called user_nova.yml and then set one specific key in that under host_vars for a host in my openstack_user_config.yml, will ansible merge those dictionaries for that host or do I need to specify each key modified in user_nova.yml under host_vars for the host I want to tweak?15:28
*** yolanda has joined #openstack-ansible15:28
*** mmethot has joined #openstack-ansible15:34
jrosseryou can only specify config overrides in one place15:35
jrosser^ bad choice of words :)15:36
jrosserif you define them in more than one place then the highest precedence in ansible terms will win15:36
jrosseruser_*.yml is passed on the ansible-playbook command line with the -e flag so that will always override anything you have in host/group vars15:37
*** gyee has joined #openstack-ansible15:40
*** gshippey has joined #openstack-ansible15:42
*** cshen has quit IRC15:45
-openstackstatus- NOTICE: Gerrit will be restarted to correct a misconfiguration which caused some git mirrors to have outdated references.15:46
*** ianychoi_ is now known as ianychoi15:53
redkriegthank you, I'll see if I can find another way to set this per-host then15:57
*** KeithMnemonic has joined #openstack-ansible16:00
*** rpittau is now known as rpittau|afk16:07
*** yolanda has quit IRC16:17
*** cshen has joined #openstack-ansible16:18
*** thuydang has quit IRC16:21
*** fghaas has quit IRC16:22
*** cshen has quit IRC16:23
*** yolanda has joined #openstack-ansible16:29
*** evrardjp has quit IRC16:35
*** evrardjp has joined #openstack-ansible16:35
*** jbadiapa has quit IRC16:37
jrosserredkrieg: you can define the config override in group_vars which itself could include a new variable you define for each host, or maybe use a default() as well16:41
*** sshnaidm is now known as sshnaidm|afk16:59
redkriegjrosser: is this the right way to do that?  http://paste.openstack.org/show/792423/17:05
redkriegassuming the nova_nova_conf_overrides contained the rest of what I want in there as well17:06
noonedeadpunkdmsimard: so we're supposed to use recordansible instead of ara_report folder to look for the results?17:18
noonedeadpunkor it's just a dnm part?17:19
dmsimardnoonedeadpunk: I don't have the funding to host an openstack-wide instance :p17:19
dmsimardthat was just a dnm/test17:20
noonedeadpunkah, ok:)17:20
dmsimardthere's nothing preventing you from standing up your own within OSA, though17:20
noonedeadpunkso yeah, at least now we now what playbook we're talking about, which is nice. And it seems the reverted order is pretty ok too17:20
noonedeadpunkI think at this time we're probably comfortable with storing with test results... As I'm not sure that this overall format is somehow informatve.17:21
noonedeadpunkLike we mostly need to look at report at specific job against specific distro17:22
dmsimardnoonedeadpunk: right, so if you look at https://api.demo.recordsansible.org/ you'll see there are labels that can be used to categorize things17:22
dmsimardper project, per job, could have per zuul buildset too17:23
dmsimardor per patchset/change17:23
noonedeadpunkyeah, I see, just not sure how handy it is, unless there's possibility to get direct link from zuul results page to this17:26
noonedeadpunkAnd also hosting question is quite interesting as well :p17:26
*** yolanda has quit IRC17:26
*** cshen has joined #openstack-ansible17:40
*** evrardjp has quit IRC17:44
*** cshen has quit IRC17:45
jrosserhmm neutron-tempest-plugin...... now that needs python >= 3.617:48
jrosserlots and lots of broken stable branches now17:48
*** evrardjp has joined #openstack-ansible17:49
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_tempest stable/train: Pin neutron-tempest-plugin to 0.9.0 for Train branch.  https://review.opendev.org/72131917:57
openstackgerritJonathan Rosser proposed openstack/openstack-ansible stable/train: Bump SHAs for stable/train  https://review.opendev.org/72109017:58
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_tempest stable/stein: Pin neutron-tempest-plugin to 0.9.0 for Train branch.  https://review.opendev.org/72132018:00
openstackgerritJonathan Rosser proposed openstack/openstack-ansible stable/stein: Bump SHAs for stable/stein  https://review.opendev.org/72109118:01
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Bump SHAs for master  https://review.opendev.org/72108918:03
openstackgerritMarcus Klein proposed openstack/openstack-ansible-nspawn_hosts master: Python 3 library is needed for uWSGI.  https://review.opendev.org/72124618:05
*** prometheanfire has quit IRC18:15
*** fghaas has joined #openstack-ansible18:21
*** jrosser has quit IRC18:41
*** jrosser has joined #openstack-ansible18:42
*** yolanda has joined #openstack-ansible18:46
*** yolanda has quit IRC18:46
*** prometheanfire has joined #openstack-ansible18:56
*** jmccrory has quit IRC19:08
*** jmccrory has joined #openstack-ansible19:09
*** fghaas has quit IRC19:19
*** cshen has joined #openstack-ansible19:40
*** cshen has quit IRC19:45
*** thuydang has joined #openstack-ansible19:47
*** gshippey has quit IRC19:47
*** gshippey has joined #openstack-ansible21:07
*** cshen has joined #openstack-ansible21:41
*** cshen has quit IRC21:45
*** cshen has joined #openstack-ansible22:18
*** tosky has quit IRC22:19
*** cshen has quit IRC22:23
*** mrda has quit IRC22:31
*** mrda has joined #openstack-ansible22:33
*** threestrands has joined #openstack-ansible23:18
*** gshippey has quit IRC23:27
*** thuydang has quit IRC23:48

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!