Thursday, 2020-06-18

*** cshen has joined #openstack-ansible00:14
*** cshen has quit IRC00:19
openstackgerritMerged openstack/openstack-ansible-os_murano stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73635600:34
openstackgerritMerged openstack/openstack-ansible-os_murano master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73420200:34
openstackgerritMerged openstack/openstack-ansible-os_ironic master: inspector: fix service catalog creation  https://review.opendev.org/73517700:38
openstackgerritMerged openstack/openstack-ansible-os_horizon stable/ussuri: Add octavia version to constraints  https://review.opendev.org/73594300:53
*** tinwood has quit IRC02:08
*** tinwood has joined #openstack-ansible02:10
*** cshen has joined #openstack-ansible02:15
*** cshen has quit IRC02:19
*** spatel has joined #openstack-ansible02:20
*** spatel has quit IRC02:55
*** spatel has joined #openstack-ansible03:16
*** markvoelker has quit IRC03:49
openstackgerritSatish Patel proposed openstack/openstack-ansible-os_horizon master: Add Centos-8 support  https://review.opendev.org/73609503:57
*** cshen has joined #openstack-ansible04:15
*** cshen has quit IRC04:20
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-ansible04:33
*** cshen has joined #openstack-ansible04:45
*** cshen has quit IRC04:49
*** spatel has quit IRC04:53
*** dpaclt has joined #openstack-ansible05:20
*** shyamb has joined #openstack-ansible05:33
*** udesale has joined #openstack-ansible05:42
*** markvoelker has joined #openstack-ansible05:51
*** markvoelker has quit IRC05:55
*** markvoelker has joined #openstack-ansible06:19
*** markvoelker has quit IRC06:24
*** yolanda has quit IRC06:31
*** shyamb has quit IRC06:31
*** miloa has joined #openstack-ansible06:34
*** yolanda has joined #openstack-ansible06:36
*** noonedeadpunk has joined #openstack-ansible06:41
*** rpittau|afk is now known as rpittau06:43
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-tests stable/train: Add pre-gate cleanup tasks  https://review.opendev.org/73646406:45
openstackgerritJonathan Rosser proposed openstack/openstack-ansible stable/train: Bump ansible version to 2.8.12  https://review.opendev.org/73646506:48
openstackgerritjiasirui proposed openstack/ansible-config_template master: Missing document start "---"  https://review.opendev.org/73646606:49
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-tests stable/train: Bump ansible version to 2.8.12  https://review.opendev.org/73646706:49
*** cshen has joined #openstack-ansible07:05
noonedeadpunkgixx: so repo for adjutant has been created https://opendev.org/openstack/openstack-ansible-os_adjutant07:24
*** tosky has joined #openstack-ansible07:25
gixxNice, now for the cleanup work and make it buildable in latest :)07:31
gixxI won't have much time to help this week (holiday in Sweden tomorrow, busy today). I'll try and put more focus next week07:36
openstackgerritMerged openstack/openstack-ansible-os_ironic stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73635107:47
openstackgerritMerged openstack/openstack-ansible-memcached_server stable/ussuri: remove ansible_python_interpreter  https://review.opendev.org/73620807:57
openstackgerritMerged openstack/openstack-ansible-os_glance stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73634807:58
openstackgerritMerged openstack/openstack-ansible-os_mistral stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73635507:59
openstackgerritMerged openstack/openstack-ansible-os_rally stable/ussuri: remove ansible_python_interpreter  https://review.opendev.org/73621108:02
openstackgerritMerged openstack/openstack-ansible-os_heat stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73635008:02
openstackgerritMerged openstack/openstack-ansible-os_designate stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73634708:05
openstackgerritMerged openstack/openstack-ansible-os_neutron stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73635708:07
openstackgerritMerged openstack/openstack-ansible-os_barbican stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73634108:11
*** shyamb has joined #openstack-ansible08:11
openstackgerritMerged openstack/openstack-ansible-os_tacker stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73636408:13
openstackgerritMerged openstack/openstack-ansible-os_blazar stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73634208:13
openstackgerritMerged openstack/openstack-ansible-os_cinder stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73634408:13
openstackgerritMerged openstack/openstack-ansible-os_placement stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73636108:13
*** jbadiapa has joined #openstack-ansible08:13
openstackgerritMerged openstack/openstack-ansible-os_octavia stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73635908:14
openstackgerritMerged openstack/ansible-role-systemd_mount stable/ussuri: remove ansible_python_interpreter  https://review.opendev.org/73620208:15
jrossergood morning08:15
openstackgerritMerged openstack/openstack-ansible-os_keystone stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73635208:16
jrossernoonedeadpunk: you remember we talked about config_template and needing to pin it08:16
noonedeadpunkyep08:17
jrosserdo you remember anything about it ? :)08:17
noonedeadpunkbut we ended up that we need to describe how ci works08:17
noonedeadpunkas it's the root cause08:17
*** arkan has joined #openstack-ansible08:17
jrosseryeah it did sort of spiral into that08:17
jrosserbut in the immediate term stable/train is totally not working08:18
jrosserand it would be nice just to check with you whats causing that08:18
noonedeadpunkeventually, just pinning not working at the moment, and there were several options to fix that...08:18
*** udesale_ has joined #openstack-ansible08:19
noonedeadpunkWe just use what's zuul is providing. and it provides us either with the same branch or with master08:20
openstackgerritMerged openstack/openstack-ansible-os_sahara stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73636208:20
openstackgerritMerged openstack/openstack-ansible-os_masakari stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73635408:20
jrosserdo you think it is possible to make config_template aware of the ansible version?08:21
jrosserand keep both code paths until we sort out the wider CI issue08:21
noonedeadpunkwe can remove it from required-projects I guess08:21
*** udesale has quit IRC08:21
noonedeadpunkbut then depend-os won't work08:21
noonedeadpunkos set url to github08:22
noonedeadpunkbut eventually...08:22
jrosserwell08:22
noonedeadpunkI think we should just fix ci asap...08:22
openstackgerritMerged openstack/ansible-role-systemd_networkd stable/ussuri: remove ansible_python_interpreter  https://review.opendev.org/73620108:22
openstackgerritMerged openstack/ansible-role-python_venv_build stable/ussuri: remove ansible_python_interpreter  https://review.opendev.org/73620008:22
noonedeadpunkas any of these options touches CI08:22
jrosserok thats cool - but you are right then we must do it asap08:23
openstackgerritMerged openstack/openstack-ansible-os_gnocchi stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73634908:23
noonedeadpunkok, then I'll take a look today on it08:26
*** maharg101 has quit IRC08:27
noonedeadpunkI was just kinda trying to understand if we _really_ want to get SHA's installed isntead of stable/train08:27
noonedeadpunkas from some point of view - it's handy that we don't need to bump shas every time08:28
openstackgerritMerged openstack/openstack-ansible-os_swift stable/ussuri: remove ansible_python_interpreter  https://review.opendev.org/73620708:28
noonedeadpunkor we want to do that only for branchless projects08:28
noonedeadpunkbut from other point, even on master, we're on bleeding edge, without any bumps and being able to controll services versions...08:31
jrosserspec sounds good08:33
openstackgerritMerged openstack/openstack-ansible-os_aodh stable/ussuri: remove ansible_python_interpreter  https://review.opendev.org/73620608:34
noonedeadpunkok, cool08:35
noonedeadpunkso patching train so it just works now and writing spec?08:36
openstackgerritMerged openstack/openstack-ansible-os_ceilometer stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73634308:36
jrossernoonedeadpunk: i guess that what i was interested in08:38
jrosserif we should just apply something to train right now, or revert / fix config_template, $other-thing08:39
sri_noonedeadpunk: quick question, does anyone tried  o-a in Centos8 ?08:39
openstackgerritMerged openstack/openstack-ansible-os_nova stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73635808:40
noonedeadpunkit's not ready yet, work in progress.. but spatel plays with it at least08:42
sri_noonedeadpunk: ack, thanks for the info08:44
*** maharg101 has joined #openstack-ansible08:49
openstackgerritChandan Kumar (raukadah) proposed openstack/openstack-ansible master: [WIP] improve ironic tempest testing  https://review.opendev.org/73650708:54
openstackgerritChandan Kumar (raukadah) proposed openstack/openstack-ansible-os_ironic master: [DNM] test patch  https://review.opendev.org/72706708:54
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Disable ceph-mgr-dashboard  https://review.opendev.org/73632809:02
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: Add Ubuntu Focal support  https://review.opendev.org/72359709:02
*** jawad_axd has joined #openstack-ansible09:09
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/ansible-config_template master: Make code compatible with older ansible versions  https://review.opendev.org/73651209:14
noonedeadpunkjrosser: ^ I hope that should do a trick09:15
jrosseri guess we can depends-on that for a stable/train patch09:16
openstackgerritMerged openstack/openstack-ansible-os_trove stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73636509:16
jrosseri'll take a look at that09:20
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-tests stable/train: Add pre-gate cleanup tasks  https://review.opendev.org/73646409:23
*** rgogunskiy has joined #openstack-ansible09:25
*** rgogunskiy has quit IRC09:27
openstackgerritJonathan Rosser proposed openstack/openstack-ansible stable/train: Remove pre-gate cleanup tasks for the new plain CI images  https://review.opendev.org/73578509:35
*** rpittau is now known as rpittau|bbl10:06
*** cshen has quit IRC10:10
chandankumarjrosser, Hello10:11
chandankumarjrosser, I have started working on improving tempest test coverage project by project https://review.opendev.org/#/c/736507/10:12
chandankumarand testing here https://review.opendev.org/#/c/727067/10:12
*** dpaclt has quit IRC10:15
*** isakgicu has joined #openstack-ansible10:23
isakgicuHi10:23
isakgicuhow can I add a storage host to my current infra ?10:24
isakgicuusing cinder10:24
isakgicuopenstack stein release10:24
isakgicusorry, not stein, I am using Train on this infra10:24
arkanisakgicu: I have installed ceph with ansible (I'm not a dev or geek in Openstack)10:43
arkanisakgicu: I associated with cinder10:43
arkanisakgicu: maybe I can help you setup your ceph with cinder if you need to10:44
jrosserchandankumar: sorry just in a meeting, back in a while10:49
openstackgerritMerged openstack/openstack-ansible-os_swift stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73636310:54
isakgicuI am not using ceph at the moment, but I am about to use this in close future, it would be gr8 to get some tips from some1 who have done this already10:57
arkanisakgiuc: if you need info about how to install ceph and connect it to OS, we can discuss privately in order not to clutter the chat here10:59
*** shyamb has quit IRC11:00
isakgicuagree11:05
nsmedsHey everyone. Question for y'all: when we first ran openstack-ansible we (accidentally) lacked the br-tenant interfaces on a number of servers. Even after re-adding them, they do not exist in `openstack_hostnames_ips.yml` or `openstack_inventory.json` for those servers. There's a warning to "Never edit or delete the files" - but I feel like we'll have to if we want to resolve this.11:08
nsmedsIs that true?11:09
nsmedse.g. right now every time we run setup-openstack, the `/etc/neutron/plugins/ml2/linuxbridge_agent.ini` has a parameter `local_ip` which resets to the wrong interface's IP11:10
*** udesale_ has quit IRC11:12
jrossernsmeds: that would normally be br-vxlan11:15
nsmedsJa, ours has different name (from legacy config... just never updated it before respinning recently)11:16
nsmedsWorks the same11:16
jrosserhow do you override the name?11:16
openstackgerritMerged openstack/openstack-ansible-os_panko stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73636011:17
*** arkan has quit IRC11:17
*** arkan has joined #openstack-ansible11:17
nsmedshttps://pastebin.com/3ma8bAkt11:18
nsmedsthat's the only reference to it tbh11:18
openstackgerritMerged openstack/openstack-ansible-repo_server stable/ussuri: remove ansible_python_interpreter  https://review.opendev.org/73620911:20
nsmedsI've inherited an environment that previously deployed openstack-ansible queens (project was on hold for 1+ year, and original guy left). We've used _mostly_ the same config to redeploy with Train11:20
jrosserok, so i would not expect those addresses to be in the inventory11:21
nsmedsthe br-tenant addresses?11:22
jrosserthere is a common playbook thats used as part of the neutron install https://github.com/openstack/openstack-ansible/blob/master/playbooks/common-playbooks/neutron.yml11:22
jrosserkey part being here https://github.com/openstack/openstack-ansible/blob/master/playbooks/common-playbooks/neutron.yml#L35-L4011:22
jrosserwhich then uses this https://github.com/openstack/openstack-ansible/blob/master/playbooks/common-tasks/dynamic-address-fact.yml11:23
*** markvoelker has joined #openstack-ansible11:24
jrosserand it's looking the bridge up with this find_bridge: "container_networks.{{ network_address }}.bridge"11:24
nsmedsSorry @jrosser - to clarify, you're worried that the br-tenant would never make it into `openstack_inventory.json`, or that we cannot add if we missed on initial deployment?11:25
jrosseri'm showing you how it works :)11:26
nsmedsOk, yep11:26
jrosserit's trying to look up the bridge in container_networks, and i think if that goes wrong its going to fall back to ansible_host11:26
jrosserwhich is what you see i think11:26
*** markvoelker has quit IRC11:29
nsmedsOkay. I realize I misspoke slightly when I first mentioned the issue. The `openstack_inventory.json` looks correct - e.g. https://pastebin.com/Zcu7Ppfx11:34
nsmedsIt's just missing from the `ansible_facts` for those hosts (which looks related to what you shared above)11:34
jrosserah ok, you can delete /etc/openstack_deploy/ansible_facts to get those refreshed11:36
jrosseron the deploy host11:36
nsmedsOk, makes sense. Thanks for clarifying - I realize the warning doesn't refer to the facts now11:37
nsmedsJust got a bit nervous about deleting anything in there :)11:37
jrosseryou can just rename the dir :)11:37
jrosserthere is a bit of magical stuff there which determines the local_ip11:38
openstackgerritChandan Kumar (raukadah) proposed openstack/openstack-ansible master: [WIP] improve ironic tempest testing  https://review.opendev.org/73650711:39
openstackgerritChandan Kumar (raukadah) proposed openstack/openstack-ansible-os_ironic master: [DNM] test patch  https://review.opendev.org/72706711:39
*** mgariepy has quit IRC11:43
*** cshen has joined #openstack-ansible11:55
openstackgerritMerged openstack/openstack-ansible master: Cleanup ansible_python_interpreter  https://review.opendev.org/73626312:08
openstackgerritMerged openstack/openstack-ansible-os_gnocchi master: Cleanup ansible_python_interpreter  https://review.opendev.org/73626512:09
*** arkan has quit IRC12:17
*** mgariepy has joined #openstack-ansible12:19
*** rpittau|bbl is now known as rpittau12:20
*** rh-jelabarre has joined #openstack-ansible12:28
*** arkan_ has joined #openstack-ansible12:34
openstackgerritMerged openstack/openstack-ansible stable/ussuri: auto-detect interpreter.  https://review.opendev.org/73619912:39
*** spatel has joined #openstack-ansible12:40
*** isakgicu has quit IRC12:43
*** arkan_ has quit IRC12:46
*** jawad_axd has quit IRC12:47
*** vakuznet has quit IRC12:52
jrossernoonedeadpunk: mgariepy i made some patches for ceph-ansible https://github.com/jrosser/ceph-ansible/commits/jrosser-fixes12:55
jrossernoonedeadpunk: one of those is for nfs which i guess will affect manila12:55
jrossermgariepy: do you still have the focal/ceph test VM around from yesterday?12:56
mgariepyyes i beleive12:56
mgariepyyep i have it.12:57
jrosseri was hoping that https://github.com/jrosser/ceph-ansible/commit/e92591045a2b01d77a045b67d2b2c78d1685ec40 would address the mgr installation12:57
*** noonedeadpunk is now known as noonedeadpunk_12:57
noonedeadpunk_jrosser: did you placed PR for these?12:57
jrossernot yet - i thought if we had the VM from yesterday it would be good to test drive before making a PR12:58
jrosserbut i had planned to do it ASAP12:58
mgariepyhttps://github.com/openstack/openstack-ansible/blob/master/ansible-role-requirements.yml#L273 ? overwrite this in a patch for zuul ?12:59
jrossercan you cherry pick my github patch and re-run the ceph install playbook with mgr enabled?12:59
jrossernoonedeadpunk_: seems we have nfs failure on focal even without manila :( https://zuul.opendev.org/t/openstack/build/2d94c87320c945a599cb03a4880c3918/log/job-output.txt#1632213:00
noonedeadpunk_ah....13:01
noonedeadpunk_these filters...13:02
noonedeadpunk_good that you have patch for this13:02
noonedeadpunk_but um...13:03
noonedeadpunk_why does it pass for bionic?13:03
noonedeadpunk_as ansible version shoud be the same?13:03
openstackgerritJonathan Rosser proposed openstack/openstack-ansible master: DNM test fixes to ceph-ansible  https://review.opendev.org/73670713:04
jrossernoonedeadpunk_: i have no idea how it works for bionic13:04
jrosserthat is very surprising, unless it's a different version of jinja13:04
jrosserbecasue its actually throwing a templating error rather than and error from inside ansible13:04
mgariepydeleting the containers to see if your patch fixes it.13:05
noonedeadpunk_we be have jinja inside venv as well13:05
noonedeadpunk_at least supposed to13:05
mgariepybut if it works the fastest path to having it is probably a fork until the pr are merged.13:06
jrossernoonedeadpunk_: maybe the template is executed on the target?13:06
jrosseri'm really not sure where its actually running that13:06
jrosservery very odd how it works for bionic13:07
noonedeadpunk_template is an action plugin, so it's supposed to run on controller...13:08
noonedeadpunk_(just talked today about it in #ansible-devel)13:08
mgariepyjrosser, maybe we need to remove https://review.opendev.org/#/c/736328/3 from the stack  to tests your patch :/13:09
jrosseri was thinking this was higher priority that the defaults https://review.opendev.org/#/c/736707/1/inventory/group_vars/ceph_all.yml13:10
mgariepymaybe.13:10
mgariepyprobably13:10
mgariepylet's see anyway.13:10
jrossereither way it looks like we need to restack the patches at some point13:11
mgariepyyep indeed.13:12
mgariepyrunning ceph-install now.13:19
mgariepylet's see how it goes.13:20
jrossersuper, thankyou13:20
*** sshnaidm is now known as sshnaidm|mtg13:23
*** jcath has joined #openstack-ansible13:33
openstackgerritMerged openstack/openstack-ansible-tests master: Remove python3 specific test job  https://review.opendev.org/73587513:35
mgariepyhttps://github.com/jrosser/ceph-ansible/commit/e92591045a2b01d77a045b67d2b2c78d1685ec40#diff-7d5a6ea1f75bd585af8e26ba6e9797baR313:37
mgariepyjrosser, ceph-mgr not ceph_mgr ;)13:37
jrosserops13:37
mgariepyprobably the same for all the other pkg names :D13:38
openstackgerritMerged openstack/openstack-ansible stable/ussuri: Use ansible openstack collection  https://review.opendev.org/73441913:40
openstackgerritOpenStack Proposal Bot proposed openstack/openstack-ansible-os_adjutant master: Updated from OpenStack Ansible Tests  https://review.opendev.org/73672313:44
jrossermgariepy: thanks for testing it, i've fixed that and will make a PR13:52
noonedeadpunk_why in the world this tasks creates directory with 700 mode https://opendev.org/openstack/ansible-role-python_venv_build/src/branch/master/tasks/python_venv_install.yml#L42-L45 http://paste.openstack.org/show/794944/13:53
mgariepynoonedeadpunk_, if you create a dir with mkdir on that system does it do the same ?14:07
noonedeadpunk_moreover, when I do http://paste.openstack.org/show/794945/ is goes well14:10
noonedeadpunk_but, all directories created with this task, have 70014:11
noonedeadpunk_or this role...14:11
noonedeadpunk_it's hold which gave me infra...14:11
noonedeadpunk_can put your keys there14:11
mgariepysure.14:11
noonedeadpunk_so there was mount to /openstack/ but I even unmounted and things are still the same...14:12
noonedeadpunk_root@104.239.168.12614:14
noonedeadpunk_easily reproducable with openstack-ansible /home/zuul/src/opendev.org/openstack/openstack-ansible/playbooks/os-keystone-install.yml14:14
openstackgerritMerged openstack/openstack-ansible-os_magnum stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73635314:18
mgariepyhmm.14:18
mgariepyit did fix the perm.14:18
mgariepyhttp://paste.openstack.org/show/794950/14:20
noonedeadpunk_I put there explicitly14:20
noonedeadpunk_but, virtualenv command, launched with command module, also does create with 700 perms14:21
noonedeadpunk_So it feels smth wrong with env at this role scope...14:22
noonedeadpunk_have no idea tbh what's going on there14:22
noonedeadpunk_mgariepy: I reverted to the upstream version14:23
mgariepylol14:23
mgariepyok14:23
noonedeadpunk_yeah, sorry was just testing if just changing that speciic thing will unbreak14:24
noonedeadpunk_but no14:24
*** pcaruana has quit IRC14:25
* jrosser wonders about umask14:25
noonedeadpunk_put your key as well14:29
*** noonedeadpunk_ is now known as noonedeadpunk14:29
noonedeadpunkmaybe I don't see smth pretty obvious14:30
noonedeadpunkbut getfacl /openstack has 75514:30
noonedeadpunkso I really don't understand where does this come from...14:31
noonedeadpunkumask is 002214:32
noonedeadpunkdunno maybe after some connection plugin it differs...14:33
*** pcaruana has joined #openstack-ansible14:38
*** jcath has quit IRC14:41
mgariepywhere does it take the mode from14:45
mgariepylol14:45
mgariepyand i put the extracted zip in /root14:49
mgariepy- /root/.ansible/tmp/ansible-tmp-1592490534.2674892-225138-25305769262155 is the script for the file task.14:49
mgariepy- /root/ansible_file_payload_wka07ehy14:49
spatelfolks, how do i find where it failed?  Zuul logs are massive to splunk  - https://review.opendev.org/#/c/736095/14:51
jrosserspatel: i usually search through for "RUN END" and stop at the one with failed: 1 just above it14:52
jrosserthen scroll back a little14:52
jrosserand there is also the ARA report in there too14:52
openstackgerritGeorgina Shippey proposed openstack/openstack-ansible-os_horizon master: Display name in IDP dropdown  https://review.opendev.org/73673914:52
spatelI am looking here .txt format - https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_042/736095/3/check/openstack-ansible-deploy-aio_lxc-centos-7/042b583/14:53
spatellet me know if any other format you guys using which help to find quickly.14:54
chandankumarjrosser, please have a look at https://review.opendev.org/736507 and https://review.opendev.org/#/c/727067/14:54
chandankumarironic tests are not triggering please have a look14:54
jrosserspatel: so ctrl-f or whatever14:54
jrosserenter "RUN END"14:54
jrosserand hit enter a few times till you find the one just after the failed task14:54
spateli did and found something14:54
jrosserchandankumar: looking14:55
spatelfound this one - http://paste.openstack.org/show/794952/14:55
jrosserspatel: thats just log noise from the log collection script14:56
spatelso this job isn't truly testing my patch right?14:56
jrosseryou need to go before that and find the ansible task with failed: on it14:56
jrosserspatel: try the ARA report14:58
jrosserhttps://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_042/736095/3/check/openstack-ansible-deploy-aio_lxc-centos-7/042b583/logs/ara-report/result/80a43f9e-9c40-4da2-a2a0-9866e08571dc/14:58
spatelI am also looking "failed: 1" keyword14:58
spateloh!! how did you find that..14:58
jrosserinstead of the job output txt file go in the logs directory14:58
jrosserthen ara-report dir, and hit the index file14:59
jrosserthen you see it failed on the top row of the report14:59
jrosserclick "1970 tasks"14:59
jrosserthen press the "elapsed" header at the top of the column to reverse the time order14:59
jrosserand bingo there you are15:00
jrosserif you press the "failed" red square at the right of the row with the task it it you get a popup with the details15:00
spatelGreat!!!! this is what i was looking for...15:01
openstackgerritGeorgina Shippey proposed openstack/openstack-ansible-os_keystone master: Add IDP display_name to defaults  https://review.opendev.org/73674115:01
jrosserand the link i gave you is accessible as a permalink from the top-right of the popup15:01
spatelGot it15:02
spatellet me see why it failed.. and try to fix it15:02
spatelrules is all job should pass right?15:02
jrosserwhen all the jobs pass then you get code review15:03
mgariepy need to go back home i'll be back in a few hours.15:03
spateljrosser: Thanks for the help.. let me try to fix and resubmit patch15:04
jrosserafter you get feedback and any updates also passing it needs two core reviewers to OK it then it has to all run again and pass in order to merge15:04
spateljrosser: question, if same patch passing in my lab box but zuul failed it in that case?15:06
spatelhow do i make sure my lab box is similar to zuul version?15:06
jrosservery good question indeed15:06
spatelthere is no way we can ssh into Zuul worker nodes right?15:07
jrosserthe CI images are custom built, so they are close, but not exactly like your lab15:07
jrosseri tend to do local development using a ubnutu or centos cloud image VM15:08
jrosserthats generally "close enough"15:08
spateljrosser: sounds good15:08
*** mgariepy has quit IRC15:08
jrosserand if you really do get hugely stuck then you can ask for failed job to be held rather than disposed of at failure, and your ssh keys inserted15:09
jrosserbut thats kinda last resort stuff as it requires someone to configure that manually in zuul and also to sort putting your key in by hand15:09
spateljrosser: good to know, i think you guys will rescue me before that :)15:10
jrosserchandankumar: you're not just missing a .tests like this are you https://github.com/openstack/openstack-ansible/blob/master/tests/roles/bootstrap-host/templates/user_variables_magnum.yml.j2#L54-L5515:14
jrosserand octiava is also more specific that just the plugin name https://github.com/openstack/openstack-ansible/blob/master/tests/roles/bootstrap-host/templates/user_variables_octavia.yml.j2#L13-L1415:14
chandankumarjrosser, sorry, https://review.opendev.org/#/c/736507/2/tests/roles/bootstrap-host/templates/user_variables_ironic_yml.j2@13 I think i have added that15:20
jrosserchandankumar: yes thats the name of the module15:20
chandankumarsorry got it15:20
jrosserah ok :)15:20
jrossernot sure if you want something specific out of that plugin, as it might cover an awful lot of stuff i guess15:21
openstackgerritChandan Kumar (raukadah) proposed openstack/openstack-ansible master: [WIP] improve ironic tempest testing  https://review.opendev.org/73650715:21
chandankumarjrosser, I will first see how much it passes without config15:21
chandankumarthen move forward15:21
jrossergreat, jamesdenton have you seen this ironic tempest stuff?15:21
jamesdentoni have not.15:23
jrosserjamesdenton: chandankumar is working on making tempest actually do something useful for os_ironic15:24
jamesdentoni have some patches as well that might/might not be useful: https://review.opendev.org/#/q/status:open+branch:master+topic:tempest-resource-breakout15:24
jamesdentonthere is also this old thing that might be revisited? https://review.opendev.org/#/c/381049/15:25
jamesdentoni think i have some similar patches on another machine, lemme fire it up and see if they are still there15:26
jrossernow thats interesting15:27
jrosserbecasue when that ealier patch was written the tests were done in the role repo15:27
jrosserso there was an obvious place to put the creation of all the ancilliary stuff15:27
jrosserso really related to the discussion we've had about where resource creation should go when the tests are coming from the integrated repo15:28
*** mgariepy has joined #openstack-ansible15:28
openstackgerritChandan Kumar (raukadah) proposed openstack/openstack-ansible master: [WIP] improve ironic tempest testing  https://review.opendev.org/73650715:28
openstackgerritMerged openstack/openstack-ansible master: Update default requirements_git_url for utility  https://review.opendev.org/73252815:29
jrossercould i get reviews on this https://review.opendev.org/#/c/73578515:30
openstackgerritJonathan Rosser proposed openstack/openstack-ansible stable/train: Bump SHAs for stable/train  https://review.opendev.org/73546915:30
*** sshnaidm|mtg is now known as sshnaidm|ruck15:41
*** cshen has quit IRC15:43
mgariepyjrosser, quick nit. update the commit message to remove the depends-on master ;)15:46
jrosseractually thats a good point, just maybe not as you intended :D15:47
jrosserconfig_template is branchless so only has master15:47
jrosserbut of course that does need to merge first, and is the thing that has unwedged stable/train for openstack-ansible15:48
jrosserso we need reviews on here as well https://review.opendev.org/#/c/736512/15:49
*** gyee has joined #openstack-ansible15:50
*** spatel has quit IRC15:55
*** spatel has joined #openstack-ansible15:55
*** also_stingrayza has joined #openstack-ansible15:58
*** cshen has joined #openstack-ansible15:58
*** stingrayza has quit IRC16:01
*** cshen has quit IRC16:03
openstackgerritJonathan Rosser proposed openstack/openstack-ansible stable/train: Suppress errors when ara is not installed  https://review.opendev.org/73128916:09
openstackgerritJonathan Rosser proposed openstack/openstack-ansible stable/train: Bump ansible version to 2.8.12  https://review.opendev.org/73646516:09
mgariepyjrosser, ok. lol good to know.16:18
mgariepyi'll probably forget in the near future anyway tho.16:18
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-tests stable/train: Add pre-gate cleanup tasks  https://review.opendev.org/73646416:24
*** cshen has joined #openstack-ansible16:37
openstackgerritMerged openstack/openstack-ansible-os_aodh stable/ussuri: Updated from OpenStack Ansible Tests  https://review.opendev.org/73634016:41
*** cshen has quit IRC16:42
*** sshnaidm|ruck is now known as sshnaidm|off16:52
*** rpittau is now known as rpittau|afk17:00
openstackgerritJonathan Rosser proposed openstack/openstack-ansible-tests stable/train: Add pre-gate cleanup tasks  https://review.opendev.org/73646417:06
openstackgerritSatish Patel proposed openstack/openstack-ansible-os_horizon master: Add Centos-8 support  https://review.opendev.org/73609517:12
jrossernoonedeadpunk: is this correct for centos? https://opendev.org/openstack/openstack-ansible/blame/branch/master/playbooks/common-tasks/ceph-server.yml#L52-L6017:14
jrosseri'm just looking at this https://zuul.opendev.org/t/openstack/build/d42294ce067145aab62c1f24474d3b49/log/job-output.txt#10110-1011417:15
noonedeadpunkyep python3-pyyaml is centos8 package17:15
jrosserok, so the first task fails and is rescued17:16
jrosserbut the rescue also fails17:16
*** arkan has joined #openstack-ansible17:32
noonedeadpunkwhaaaaat17:36
noonedeadpunkhttp://paste.openstack.org/show/794968/17:36
noonedeadpunkjrosser: rescue fails on centos8???17:37
noonedeadpunkon 7 I guess17:37
noonedeadpunkI think these days I tested it with manil role https://review.opendev.org/#/c/728578/ and it was passing...17:39
noonedeadpunkok, so why and how umask in ansible role differs from user under which role is launched...17:40
jrosserI saw the Manila fail on centos 717:55
jrosserdoes the unmask thing depend on if it’s a login shell or not?17:56
noonedeadpunkI don't know tbh...18:09
noonedeadpunkbut the thing is, that when I run just sample playbook, umask is 002218:12
spatelpossible umask is different for ansible or that specific bash process. may be worth dumping bash environment variable and see if its hardcoded18:14
noonedeadpunkspatel: so I created http://paste.openstack.org/show/794969/18:16
noonedeadpunk(but as root)18:16
noonedeadpunkand it gives me 002218:16
noonedeadpunkbut when I place that code into playbooks/os-keystone-install.yml as pre-task it's 007718:18
noonedeadpunkbut....18:18
noonedeadpunkit's run against keystone_all18:18
noonedeadpunkyes. that's it18:19
noonedeadpunkwhen run against localhost - 0022, when run against aio1 - 007718:19
spatelmay be inside container umask is different18:19
noonedeadpunk(while it's the same host eventually)18:19
noonedeadpunkit's bare metal...18:19
spatelmay be se shell: umask 022  before that task18:20
spatels/se/set18:20
spatelmake sure nothing inside ~/.ssh/environment18:21
noonedeadpunkthat's good call18:21
spatelmay be over SSH mask getting alter18:21
noonedeadpunkyeah, issue is when we ssh18:22
noonedeadpunkthis is when I run against localhost and aio1 http://paste.openstack.org/show/794970/18:23
noonedeadpunkbut when I manually ssh it's still 002218:25
noonedeadpunkand no environment files or smth present18:25
spatelanything here /etc/pam.d/common-session ?18:26
noonedeadpunkoh, hm18:28
spatelsomething is coming from session or ssh config18:28
noonedeadpunkI get 0077 for this ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=publickey -o PasswordAuthentication=no -o ConnectTimeout=5 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ServerAliveInterval=64 -o ServerAliveCountMax=1024 -o Compression=no -o TCPKeepAlive=yes -o VerifyHostKeyDNS=no -o ForwardX11=no -o ForwardAgent=yes 172.29.236.18:29
noonedeadpunk100 '/bin/sh -c '"'"'umask'"'"''18:29
noonedeadpunk* http://paste.openstack.org/show/794971/18:29
noonedeadpunkeventually even `ssh 172.29.236.100 '/bin/sh -c '"'"'umask'"'"''`18:30
noonedeadpunkspatel: if you give me your pub key I can place it18:30
spatelmay be ansible security stuff 0077 is more secure mask so ansible default using it until you specify18:31
spatellet me give you my key18:31
noonedeadpunkeventually I run this command manually and get 007718:32
noonedeadpunkbut ssh and running umask gives different result from ssh -c umask18:32
spatelmust be security reason ssh using 007718:33
spatelon my PC i did  ssh 10.30.1.141 umask  (i got 0022)18:35
spatelover SSH18:35
spatelI am using centOS18:35
noonedeadpunkmy centos 8 sandbox is ok18:36
noonedeadpunkbut our CI image.... has this behaviour...18:36
spatelcheck file /etc/login.defs18:36
spatelis this ubuntu?18:36
noonedeadpunkcentos 818:37
spatelhope SELinux is off18:37
noonedeadpunkit's permissive18:37
noonedeadpunkselinux packages on my sanbox and CI one are the same...18:37
*** cshen has joined #openstack-ansible18:38
noonedeadpunkin /etc/login.defs I have `UMASK           077`18:38
noonedeadpunkbut... it's the same for my sandbox which is ok...18:38
spatelhmm18:39
noonedeadpunkwill go and try my luck with infra folks18:42
spatelits very odd.. let me poke around and see18:44
*** cshen has quit IRC19:18
spatelit feels like security feature, i am looking for doc in redhat KB to see if i can find something.19:21
spatelI can see Ansible hardending in /etc/ssh/sshd_config file so may be that feature came from there somewhere19:22
mgariepyumask diffrent for ansible ?19:28
spatelnoonedeadpunk: read this - https://bugzilla.redhat.com/show_bug.cgi?id=177771819:29
openstackbugzilla.redhat.com bug 1777718 in shadow-utils "default umask for sshd process is 0077" [Unspecified,On_qa] - Assigned to ipedrosa19:29
spatelthat is our issue..19:29
spatelThe final solution should be to set the UMASK to 022 in login.defs and add support for HOME_MODE and set it to 077. I am reassigning the bug to shadow-utils as that is the component that contains login.defs.19:29
spatelIts like a bug (may be effected version is CentOS 8.2.x )19:30
jrosserthe infra images are built very often so could be 8.2?19:37
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: [WIP] Centos-8 support  https://review.opendev.org/68962919:39
noonedeadpunkthey were 8.1 unttil updated by us19:40
noonedeadpunkbut I upgraded 8.1 to 8.2 and it was ok19:41
noonedeadpunk(not 100% sure that in CI it realy wasn't 8.2 from the beggining19:41
noonedeadpunkbut19:41
noonedeadpunkhttps://review.opendev.org/#/c/689629/59/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 is going to fix that19:41
noonedeadpunkit's pretty nasty, but....19:41
noonedeadpunkinfra folks also helped to come up to this workaround19:42
noonedeadpunkit might open security breach though...19:43
noonedeadpunkbut in CI - whatever19:43
noonedeadpunkI'm about to ask to drop this hold node19:43
mgariepyok with me.19:44
noonedeadpunkand thank you for the help19:44
noonedeadpunkit was quite... weird thing19:44
noonedeadpunkspatel: if it pass keystone, I will include your patches as depends-on19:45
noonedeadpunkI'm also about to drop some changes from rabbitmq patch19:46
noonedeadpunkas I'm sure it's related19:46
*** arkan has quit IRC19:48
spatelnoonedeadpunk: thanks20:03
spatelnoonedeadpunk: RedHat community saying umask bug will get fix in which will be fixed in RHEL8.320:14
noonedeadpunkso it's a bug and they aware20:23
noonedeadpunklol20:23
noonedeadpunkbetter late then never20:24
noonedeadpunkspatel: any link to the bug itself?20:25
spatelhttps://bugzilla.redhat.com/show_bug.cgi?id=183366420:25
openstackbugzilla.redhat.com bug 1833664 in shadow-utils "Regression in default file permission in RHEL 8.x as compared to RHEL 7.x when file is generated via a a program ran via su" [Urgent,Closed: duplicate] - Assigned to ipedrosa20:25
spatelIker Pedrosa put that comments last month so look like they are aware of it and must be releasing fix in next version20:27
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible-rabbitmq_server master: Add Centos-8 support  https://review.opendev.org/73555220:34
openstackgerritDmitriy Rabotyagov (noonedeadpunk) proposed openstack/openstack-ansible master: [WIP] Centos-8 support  https://review.opendev.org/68962920:37
*** miloa has quit IRC21:01
*** cshen has joined #openstack-ansible21:14
*** mloza has quit IRC21:15
*** cshen has quit IRC21:18
openstackgerritSatish Patel proposed openstack/openstack-ansible-lxc_container_create master: Add Centos-8 support  https://review.opendev.org/73685021:49
*** spatel has quit IRC21:52
*** markvoelker has joined #openstack-ansible21:58
*** markvoelker has quit IRC22:02
*** tosky has quit IRC22:25
openstackgerritMerged openstack/openstack-ansible-os_tempest master: Fix tempestconf URL  https://review.opendev.org/73542923:05
*** cshen has joined #openstack-ansible23:14
*** cshen has quit IRC23:19

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