Monday, 2020-08-17

*** cshen has joined #openstack-ansible00:43
*** cshen has quit IRC00:48
*** yolanda has quit IRC01:26
*** yolanda has joined #openstack-ansible01:26
*** yolanda has quit IRC01:27
*** yolanda has joined #openstack-ansible01:27
*** spatel has joined #openstack-ansible01:31
spatelfolks, Just deployed k8s cluster using magnum and now trying to tun kubectl but asking for password and not sure what is this password, in process it never ask for password to enter01:32
-spatel- [root@aio1-utility-container-3cfca9fd my_k8s]# kubectl get pods01:32
-spatel- Please enter Username:01:32
*** cshen has joined #openstack-ansible02:43
*** dave-mccowan has quit IRC02:44
*** cshen has quit IRC02:48
*** spatel has quit IRC03:38
*** raukadah is now known as chkumar|rover04:20
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-ansible04:33
*** cshen has joined #openstack-ansible04:43
*** cshen has quit IRC04:48
*** jbadiapa has joined #openstack-ansible05:28
*** cshen has joined #openstack-ansible05:32
*** cshen has quit IRC05:37
*** miloa has joined #openstack-ansible06:08
*** sep has joined #openstack-ansible07:02
*** cshen has joined #openstack-ansible07:10
*** miloa has quit IRC07:12
jrossernoonedeadpunk: can you review this https://review.opendev.org/#/c/746366/07:18
noonedeadpunkI always forget to vote on backport patches I made :(07:18
noonedeadpunkLike I see myself as Owner and just go futher07:18
noonedeadpunkLike I opened that patch several times during weekends ;(07:19
jrosserdoh :)07:20
jrosserquite some things broken with the proposal bot patches07:20
jrossercentos/distro fails for magnum in a quite odd way https://zuul.opendev.org/t/openstack/build/0ffdff31c5e34b7bb68732794bbbdd24/log/logs/openstack/aio1-utility/tempest_run.log.txt#7007:23
jrosserand something bad happens with ceilometer-upgrade on all the telemetry jobs07:25
*** miloa has joined #openstack-ansible07:25
noonedeadpunkyeah, saw both. for magnum I think maybe there's some extar package that needs to be installed for centos 8....07:33
*** tosky has joined #openstack-ansible07:56
admin0morning08:06
*** oyrogerg has joined #openstack-ansible08:18
*** pcaruana has joined #openstack-ansible08:22
admin0hi all .. do you know of any quick thoughts on top of your head why on a ceph based cluster the instance stay at a Spawning state08:23
admin0debug of both neutron and nova does not produce anything with errors .. i can see in ceph that the disk is created08:24
masterpeI was looking into the following: https://review.opendev.org/#/c/739146/909:15
masterpeand was wondering how the test where working. But if I open the logs of the test of "openstack-ansible-deploy-aio_lxc-ubuntu-bionic" then it never teste the masakari changes.09:17
jrosserit won't test masakari with that patch, becasue it is a patch to the openstack-ansible repo itself rather than the os_masakari role09:18
jrosserthere would need to be a patch in the os_masakari repo which depends-on https://review.opendev.org/#/c/739146 in order to test it with masakari being deployed09:19
jrossermasterpe: here is such a patch actually https://review.opendev.org/#/c/744673/09:21
masterpebut that patch does not test the corosync changes.09:22
masterpebut that was ofcourse a different question09:23
jrossermasterpe: regarding your comment here https://review.opendev.org/#/c/739146/9/playbooks/os-masakari-install.yml shouldnt the previous play gather the facts?09:25
noonedeadpunk+109:25
masterpeI was playing with this and I got the failure fatal: The error was: error while evaluating conditional (ansible_os_family | lower == 'redhat'): 'ansible_os_family' is undefined when I played os-masakari-install.yml with the corosync patch09:28
*** shyamb has joined #openstack-ansible09:30
masterpeAh I see my problem, the task "- name: Gather masakari facts" is missing at my os-masakari-install.ym09:30
noonedeadpunkyeah, that is essential part) I think that if you run checkout command from Download dropdown, you'd get playbook as needed09:31
masterpeI'm running 19.1.0 and do not use master in the production :)09:33
*** SmearedBeard has joined #openstack-ansible09:35
noonedeadpunkok, yes:)09:37
noonedeadpunkthqat's fair09:37
*** shyamb has quit IRC09:41
*** shyamb has joined #openstack-ansible09:45
noonedeadpunkjrosser: is Andrew in IRC? So we could ping him for reviews :p09:45
jrosserI think today he is taking holiday09:46
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-os_barbican master: Updated from OpenStack Ansible Tests  https://review.opendev.org/74584009:47
* noonedeadpunk jealous09:48
*** shyamb has quit IRC09:53
*** shyamb has joined #openstack-ansible09:53
*** maharg101 has joined #openstack-ansible10:02
*** pcaruana has quit IRC10:15
admin0how do I troubleshoot (all) new instance stuck in build state .. this is a snippet from nova and neutron that I get: https://gist.githubusercontent.com/a1git/98bc43d6eda318f8ce5386fcc9dc6e62/raw/cb7b93d432f690c30223ee4452a0cd7a39b3fc00/gistfile1.txt    ..  the UUID is 35c2c021-5c1c-47ee-970d-52ffe62bceb210:18
admin0 [instance: 35c2c021-5c1c-47ee-970d-52ffe62bceb2] Claim successful on node h210:18
admin0this log is from h210:19
*** pcaruana has joined #openstack-ansible10:19
admin0the task i see is spawning .. virsh list --all on the hypervisor generates no output10:20
noonedeadpunkprobably check nova-scheduler or placement logs10:22
noonedeadpunkoh, hm, seems like placement has chosen candidate and resources are claimed10:23
admin0yes ..  the logs are from h2 ( the hypervisor)10:26
admin0and that is all the logs i have10:26
admin0the disk is also claimed in ceph , which i can see from rados -p vms ls | grep $uuid10:27
admin0also how is this journalctl supposed to work ..  i have specified a log server and i see a log container .. but inside the log container,there are no logs from anywhere else  .. journalctl --since "30 minutes ago" generates logs just from itself ?10:31
admin0or do more stuff needs to be used in variables/config to have this logging10:32
admin0after which i am hoping i can just do  journalctl -u nova* and get all nova logs10:32
noonedeadpunkso journalctl responsible for logs collection only on host/container where it's launched10:33
noonedeadpunkso like  journalctl -u nova* should show you all nova logs from that host/container out of the box10:34
admin0in older tags, i could specifiy a log container and all logs where automatically appearing there10:34
admin0log_host i meant10:34
noonedeadpunkI guess it was rsyslog?10:35
admin0yep .. but it did not neeed anything in the user_vars i mean10:35
admin0either way, what is the best way in the current tag to have all logs go in the logs_container10:35
noonedeadpunkeventually if you have graylog or elk - you can easily forward logs there10:35
admin0it can be rsyslog, or journalctl10:35
jrosserthe trouble with rsyslog is that over time stuff is logging more and more to systemd journal, so it' wouldnt necessarily end up on your log host anyway10:36
jrosserthere is a feature in journald to forward logs over http from one host to another, but thats currently disabled https://opendev.org/openstack/openstack-ansible/commit/1bd21d80e47a66be145911d6be80992dbe0cc7c210:37
noonedeadpunkthe best way is to have graylog or elk and forward logs there :)10:37
jrosseryes10:37
jrosserreally the log hosts / containers today are not really doing anything unless you happen to follow the ELK setup guide from the ops repo10:39
jrosserpersonally for a prod deployment i'd not put the ELK stack on the controllers either10:40
noonedeadpunk++10:40
admin0i will setup graylo g10:43
admin0from the logs i have, what else i can do to figure out why its stuck in spawning state ?10:43
openstackgerritamolkahat proposed openstack/openstack-ansible-os_tempest master: Added tempest ironic resources setup.  https://review.opendev.org/72070510:49
admin0hi .. where can i find logs for graylog integration ?11:08
admin0https://docs.openstack.org/openstack-ansible-rsyslog_server/latest/ is for rsyslog onluy11:08
noonedeadpunkadmin0: https://opendev.org/openstack/openstack-ansible-ops/src/branch/master/graylog11:09
admin0i already have external graylog11:10
admin0just that target line in user_graylog.yml is enough ?11:11
admin0nah11:11
noonedeadpunkthen you can just use that playbook https://opendev.org/openstack/openstack-ansible-ops/src/branch/master/graylog/graylog-forward-logs.yml11:11
admin0i have to replace graylog_target with a.b.c.d:1514  port format ?11:13
noonedeadpunkit will install journal2gelf and will forward logs in gelf format to your graylog server11:13
masterpeI have set to rsyslog_client_enabled to true and have set rsyslog_client_user_defined_targets11:13
noonedeadpunkyou should set graylog_targets list11:13
noonedeadpunkin that format yes11:13
masterpehttps://docs.openstack.org/openstack-ansible-rsyslog_client/stein/ is what I used as an example11:14
admin0will it be a gelf-tcp or a gelf-udp input in the graylog ?11:18
admin0in the playbook in the playbook, i see both https://opendev.org/openstack/openstack-ansible-ops/src/branch/master/graylog/graylog-forward-logs.yml, i see graylog_targets  .. and graylog_target .. i am assuming i need to change graylog_tareget to "a.b.c.d:15151" which is the input udp port for gelf/syslog ?    and again what do i change the graylog_targets to ? if i am running only that playbook ?11:21
admin0masterpe, in your case, is the input syslog input ?11:22
admin0syslog input ?11:22
admin0syslog udp11:22
noonedeadpunkregarding tcp vs udp that's really awesome question. From what I see in journal2gelf is using GELFHandler, which is not valid anymore for graypy module...11:25
noonedeadpunkor, I was looking at wrong repo lol11:26
noonedeadpunkit's UDP11:27
admin0:)11:27
noonedeadpunkAs I said, you should set graylog_targets as in doc https://opendev.org/openstack/openstack-ansible-ops/src/branch/master/graylog#user-content-sending-logs-to-graylog211:28
admin0noonedeadpunk, what do I replace graylog_targets in the playbook with ?11:30
admin0i see i have to override 2 variabels .. graylog_target ( which i think is the graylog input:port) , but graylog_targets is not clear11:30
*** cshen_ has joined #openstack-ansible11:31
admin0if i use masterpe method, is this enough? https://gist.github.com/a1git/5dc4912a43e7c5a6907cee84db8deab611:31
noonedeadpunkyou shouldn't set graylog_target - it's loop var11:32
noonedeadpunkgraylog_targets is a list of graylog server, where each element is ip:port format11:32
admin0got it11:33
*** cshen has quit IRC11:33
admin0noonedeadpunk, so i just run this 1 playbook: https://gist.github.com/a1git/21e6cf223f698b56dd319e8e1730e310  (my change in Line 25)11:34
admin0that port is gelf udp input11:35
admin0its running ..  that yaml ..11:37
admin0will know soon11:37
admin0all containers failed with "Unable to find any of pip2, pip to use.  pip needs to be installed."11:37
admin0i guess ansible all -m shell -a "apt install python-pip" is sufficient ?11:38
admin0or python -m ensurepip --default-pip ?11:39
*** dave-mccowan has joined #openstack-ansible11:39
admin0using apt method11:40
masterpeadmin0: yes that is enough.11:42
masterpethe syslog playbook is run at every setup-openstack .... role at the end.11:42
openstackgerritMerged openstack/openstack-ansible-os_designate master: Updated from OpenStack Ansible Tests  https://review.opendev.org/74584511:45
jrosserseems like some kind of systematic failure on lxc centos8 jobs https://zuul.opendev.org/t/openstack/build/ebf6a61a58e3472480e48ca524352b59/log/logs/host/lxc-cache-prep-commands.log.txt#53-5411:54
*** rh-jelabarre has joined #openstack-ansible11:58
*** miloa has quit IRC11:58
masterpehi noonedeadpunk about https://github.com/noonedeadpunk/ansible-pacemaker-corosync/blame/master/tasks/pacemaker.yml12:09
masterpesouldn't "when: pacemaker_corosync_use_logfile | bool is true" be "when: pacemaker_corosync_use_logfile == true"12:10
jrossera non empty string will evaulate as true12:12
jrosserwhich is quite likley not what the intention is12:12
masterpeah, with this line I get  error was: template error while templating string: no test named 'true'12:14
masterpeBut I use ansible 2.7.16, I don't if this behavior has been changed.12:15
noonedeadpunkyep, I'm pretty sure it is:(12:16
admin0graylog is working \o/12:17
admin0but i am still not getting any logs or indications as why my instances are stuck in spawn state :)12:17
noonedeadpunkmasterpe: but this can be made better12:18
*** rh-jelabarre has quit IRC12:18
noonedeadpunkmasterpe: I think that should do the trick https://github.com/noonedeadpunk/ansible-pacemaker-corosync/commit/7ae17fbd39885e0b37383e6d192d25e54d8554c812:20
masterpenoonedeadpunk: beter12:22
*** rh-jelabarre has joined #openstack-ansible12:25
noonedeadpunkjrosser: we have telemetry failing vbecause of this... https://review.opendev.org/#/c/746491/12:29
*** dave-mccowan has quit IRC12:32
*** shyamb has quit IRC12:39
*** dave-mccowan has joined #openstack-ansible12:41
*** SmearedBeard has quit IRC12:43
jrossernoonedeadpunk: should we pin gnocchi back to something before that change?12:49
noonedeadpunkeventually it's the fix12:52
noonedeadpunkneither gnocchi nor ceilometer changed12:53
noonedeadpunkI think we bumped upper-connstraints version12:53
noonedeadpunkand some library update made things broken12:53
noonedeadpunkI hope telemetry will merge it asap, as they goit their CI broken as well12:53
*** cshen_ has quit IRC13:04
*** cshen has joined #openstack-ansible13:06
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-os_neutron master: Make has_offline_migrations output predictable  https://review.opendev.org/74649613:07
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-os_neutron master: Make has_offline_migrations output predictable  https://review.opendev.org/74649613:07
openstackgerritMerged openstack/openstack-ansible-os_tempest master: Remove deprecated scenario image option  https://review.opendev.org/72024213:07
*** cshen has quit IRC13:11
*** spatel has joined #openstack-ansible13:22
*** nurdie has joined #openstack-ansible13:27
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-os_ceilometer master: Updated from OpenStack Ansible Tests  https://review.opendev.org/74584213:56
*** d34dh0r53 has joined #openstack-ansible13:57
noonedeadpunkjrosser: sorry, I kind of missed what've decided regarding https://review.opendev.org/#/c/73344313:59
*** cshen has joined #openstack-ansible14:00
noonedeadpunkshould I make patches for the rest of the roles and are we good with this concept?14:00
*** sshnaidm is now known as sshnaidm|MYG14:27
*** sshnaidm|MYG is now known as sshnaidm|mtg14:27
*** chkumar|rover is now known as raukadah14:45
*** gyee has joined #openstack-ansible14:58
*** cshen has quit IRC15:02
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Remove nova_api_placement from inventory  https://review.opendev.org/74653815:03
*** cshen has joined #openstack-ansible15:05
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Remove nova_api_placement from inventory  https://review.opendev.org/74653815:05
*** cshen has quit IRC15:09
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Return nova services reload  https://review.opendev.org/74654415:13
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Fix neutron-server default serial  https://review.opendev.org/74654615:28
*** cshen has joined #openstack-ansible15:41
*** cshen has quit IRC15:47
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: Fix neutron-server default serial  https://review.opendev.org/74654616:01
*** sshnaidm|mtg is now known as sshnaidm16:08
admin0so .. qemu-kvm is not installed by default my the playbooks :)16:24
admin0by*16:24
noonedeadpunkon.. compute hosts?16:33
openstackgerritMerged openstack/openstack-ansible-os_barbican master: Remove py2 packages  https://review.opendev.org/74635517:15
*** cshen has joined #openstack-ansible17:42
*** cshen has quit IRC17:46
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-os_barbican stable/ussuri: Remove py2 packages  https://review.opendev.org/74657417:48
*** cshen has joined #openstack-ansible17:54
openstackgerritCharles Farquhar proposed openstack/openstack-ansible stable/rocky: Ensure that global-requirement-pins.txt is applied  https://review.opendev.org/74658018:05
openstackgerritMerged openstack/openstack-ansible-os_keystone master: Use the utility host for db setup tasks  https://review.opendev.org/73344318:16
*** jopdorp has joined #openstack-ansible18:27
jopdorpUnregistered again?18:28
jopdorpThis irc app is a bit unclear, but I think this is openstack-ansible right?18:29
*** cshen has quit IRC18:32
openstackgerritamolkahat proposed openstack/openstack-ansible-os_tempest master: Added tempest ironic resources setup.  https://review.opendev.org/72070518:38
*** miloa has joined #openstack-ansible18:52
openstackgerritMerged openstack/openstack-ansible master: Remove mapping of gnocchi_dentity_only to swift  https://review.opendev.org/73934719:11
*** spatel has quit IRC19:15
*** jbadiapa has quit IRC19:21
jrosserjopdorp: yes, this is openstack-ansible19:23
openstackgerritMerged openstack/openstack-ansible master: Fix UPGRADE_SOURCE_BRANCH  https://review.opendev.org/74600420:00
openstackgerritMerged openstack/openstack-ansible-os_blazar master: Updated from OpenStack Ansible Tests  https://review.opendev.org/74584120:05
*** miloa has quit IRC20:20
*** cshen has joined #openstack-ansible20:27
*** cshen has quit IRC20:31
*** cshen has joined #openstack-ansible22:27
*** cshen has quit IRC22:32
*** tosky has quit IRC22:57

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