Tuesday, 2020-06-16

*** spatel has joined #openstack-ansible-sig00:33
*** holser_ has joined #openstack-ansible-sig01:03
*** holser has quit IRC01:05
*** ysandeep is now known as ysandeep|away02:03
*** ysandeep|away is now known as ysandeep04:17
*** evrardjp has quit IRC04:33
*** evrardjp has joined #openstack-ansible-sig04:33
*** spatel has quit IRC05:23
*** gtema has joined #openstack-ansible-sig06:08
*** spatel has joined #openstack-ansible-sig06:15
*** spatel has quit IRC06:19
*** rpittau|afk is now known as rpittau06:57
*** dtantsur|afk is now known as dtantsur07:41
*** priteau has joined #openstack-ansible-sig08:45
*** ysandeep is now known as ysandeep|lunch08:46
*** gshippey has joined #openstack-ansible-sig09:30
sshnaidmfolks, please review/merge https://review.opendev.org/#/c/721746/09:33
sshnaidmdtantsur, gtema odyssey4me ^^09:42
odyssey4messhnaidm: looking09:43
odyssey4messhnaidm: just one question there09:49
sshnaidmodyssey4me, replied09:52
sshnaidmactually I had to remove "version_added" from other modules as well, because ansible-test saw it as errors09:53
odyssey4messhnaidm: in a collection context I guess it doesn't make sense any more - we might have to implement our own docs plugin for something like that to indicate which collection version something was added in09:54
odyssey4meanyway, nice to see tests getting added and better uniformity with the base class being used09:55
sshnaidmodyssey4me, thanks!09:57
*** gtema has quit IRC09:57
*** gtema has joined #openstack-ansible-sig09:58
*** baptistemm has joined #openstack-ansible-sig10:02
baptistemmHello, looking the openstack modules I cannot find a module to gather all volumes (something like os_volume_info), is it just that no one developped it, or there is no use for it ?10:03
baptistemmfor instance I want to find all volumes unattached.10:03
baptistemmI'm not openstack admim, I've been granted a project so I can automate labs lifecylecc10:04
*** ysandeep|lunch is now known as ysandeep10:05
baptistemmjrosser: sshnaidm: so you told me there is such module, but just wanted to know why.10:05
sshnaidmbaptistemm, I think because nobody wrote it yet..? :)10:06
baptistemmok10:06
baptistemmbut it would make sense10:06
*** dmellado has quit IRC10:18
*** rpittau is now known as rpittau|bbl10:34
*** dmellado has joined #openstack-ansible-sig10:41
*** gtema has quit IRC10:43
*** sshnaidm is now known as sshnaidm|afk10:45
*** gtema has joined #openstack-ansible-sig10:57
*** sshnaidm|afk is now known as sshnaidm11:40
*** priteau has quit IRC11:47
*** gtema has quit IRC11:48
*** gtema has joined #openstack-ansible-sig11:48
baptistemmas I'm here, it seems there is a bug in os_server module, deleting a node does not trigger a change12:08
*** spatel has joined #openstack-ansible-sig12:25
*** rpittau|bbl is now known as rpittau12:28
*** spatel has quit IRC12:30
*** ysandeep is now known as ysandeep|afk12:51
*** gtema has quit IRC12:58
*** spatel has joined #openstack-ansible-sig13:01
*** spatel has quit IRC13:04
*** gtema has joined #openstack-ansible-sig13:22
*** ysandeep|afk is now known as ysandeep13:27
*** gtema has quit IRC13:32
*** gtema has joined #openstack-ansible-sig13:54
*** dmellado_ has joined #openstack-ansible-sig14:12
*** mnaser has quit IRC14:14
*** zbr_ has joined #openstack-ansible-sig14:14
*** dmellado has quit IRC14:16
*** zbr has quit IRC14:16
*** dmellado_ is now known as dmellado14:16
*** zbr_ is now known as zbr14:16
*** mnaser has joined #openstack-ansible-sig14:16
*** holser_ has quit IRC14:18
*** holser has joined #openstack-ansible-sig14:22
baptistemmI wanted to open a issue on https://storyboard.openstack.org but using ubuntuone for login...15:35
openstackgerritSagi Shnaidman proposed openstack/ansible-collections-openstack master: Add volume_info module  https://review.opendev.org/73594915:46
sshnaidmbaptistemm, ^15:46
sshnaidmbaptistemm, if you have trouble with ubuntu login, just open the issue in github and paste here, we'll copy it to storyboard15:46
*** ysandeep is now known as ysandeep|brb15:51
*** gtema_ has joined #openstack-ansible-sig15:58
*** gtema has quit IRC16:01
openstackgerritSagi Shnaidman proposed openstack/ansible-collections-openstack master: Add OpenstackModule to os_server_action  https://review.opendev.org/72174616:05
*** rpittau is now known as rpittau|afk16:12
*** dtantsur is now known as dtantsur|afk16:14
*** gtema_ has quit IRC16:14
*** ysandeep|brb is now known as ysandeep16:23
baptistemmsshnaidm: I've actually an account :) but that's not the most usual id provider16:28
sshnaidmbaptistemm, yeah, login via github is in progress16:29
sshnaidmhope we'll have it soon16:29
mordredbaptistemm: hysterical raisins - we're actually working on an SSO system update16:29
baptistemmhysterical ?16:29
baptistemm:)16:29
mordred(historical reasons -> hysterical raisins)16:30
baptistemmgot it16:30
*** ysandeep is now known as ysandeep|away16:30
baptistemmsshnaidm: wow you wrote the volume_info module yet ?16:30
sshnaidmbaptistemm, yep, it's easy now: https://github.com/openstack/ansible-collections-openstack/blob/master/contrib/generate_module.sh#L516:31
baptistemmah so this is not compatible with the 2.8 openstack module ?16:31
sshnaidmbaptistemm, it's only in collection, you can install it and use with ansible 2.816:32
baptistemmho great16:32
sshnaidmansible-galaxy collection install openstack.cloud16:32
sshnaidmand then: openstack.cloud.volume_info: ...16:32
sshnaidmbaptistemm, after it will be merged and release, of course :)16:32
sshnaidmor just take it from a patch and copy to your collection folder16:33
baptistemmok16:35
baptistemmthanks you16:36
-openstackstatus- NOTICE: Zuul is being restarted for an urgent configuration change and may be offline for 15-30 minutes. Patches uploaded or approved during that time will need to be rechecked.16:37
sshnaidmmordred, seems like pip 2.7 is not installed in tox jobs anymore..16:38
sshnaidm:(16:39
mordredsshnaidm: that is right - we don't pre-install pip or virtualenv anymore - because the situation is an acutal nightmare. the tox jobs run ensure-tox which runs ensure-pip which will install pip3 on recent nodes16:39
sshnaidmmordred, is it possible to install pip2 as well?16:40
mordredbut also - why is ansible-test trying to do something with python2.7?16:40
sshnaidmmordred, because it can! :D16:40
mordredsshnaidm: I'd prefer if we got ansible-test to not be stupid here - we do not support ptyhon216:40
mordredbut we don't support it16:40
mordredliek - at all16:40
mordredzero support16:41
mordredwe should not be running python2 anything on this repo16:41
mordredfor any reason16:41
sshnaidmyeah, it tries to test with everything it finds, and apparently there is still python2 in this jobs available16:41
sshnaidmok, will try to limit it to one python version16:41
mordredyeah- this is where I really wish ansible-test and tox didn't fight16:41
mordredrunning ansible-test in a tox environment and having it do somethign with a different version of python is very unexpected16:42
mordredbut - shrug16:42
mordredI do unexpected things all the time :)16:42
sshnaidmmordred, what is the default python in jobs now? 3.6?16:44
sshnaidmor 3.716:44
openstackgerritSagi Shnaidman proposed openstack/ansible-collections-openstack master: Add volume_info module  https://review.opendev.org/73594916:50
openstackgerritSagi Shnaidman proposed openstack/ansible-collections-openstack master: Fixes for modules generation script  https://review.opendev.org/73596816:55
baptistemmsshnaidm: does the new volumes depends on a minimal openstacksdk version ?16:56
mordredsshnaidm: 3.6 is the min16:57
sshnaidmbaptistemm, no, should work with all from rocky for sure16:58
baptistemmI drop the patch in the openstack collection and did a test and I got this error: An exception occurred during task execution. To see the full traceback, use -vvv. The error was: UnboundLocalError: local variable 'result' referenced before assignment16:59
baptistemmsorry, rather AttributeError: 'VolumeInfoModule' object has no attribute 'results17:00
sshnaidmbaptistemm, I think you need to take a new file too: https://github.com/openstack/ansible-collections-openstack/blob/master/plugins/module_utils/openstack.py17:03
sshnaidmbaptistemm, drop it in module_utils in collection17:04
sshnaidmwe didn't release with it yet17:04
baptistemmok thanks17:06
baptistemmgreat that's working17:08
sshnaidmcool17:12
baptistemm🙏🏻🙏🏻17:16
openstackgerritSagi Shnaidman proposed openstack/ansible-collections-openstack master: Move action_group to runtime  https://review.opendev.org/73597717:27
*** holser has quit IRC17:46
*** holser has joined #openstack-ansible-sig17:47
jrosserbaptistemm: this is sooooo much better than having to wait for a new ansible release, or an ansible PR to ever get merged :)17:53
-openstackstatus- NOTICE: Zuul is back online; changes uploaded or approved between 16:40 and 18:00 will need to be rechecked.18:06
*** holser has quit IRC18:07
*** holser has joined #openstack-ansible-sig18:07
*** iurygregory has quit IRC18:33
baptistemmjrosser: lookig for the new openstack release to have the reviewed fix19:50
baptistemmI doubted how the split of ansible into sets of collections could improve the situation, at least developers seems happy19:51
baptistemmat least19:51
*** iurygregory has joined #openstack-ansible-sig19:59
mordredsshnaidm: I haz questions on https://review.opendev.org/735968 ...20:59
mordredsshnaidm: is the author: field required? if so - do we have to reference a github id? it's actually completely reasonable that a human can contribute to openstack without a github id. but to the first point - we don't really tend to have individual ownership around here, as opposed to team/group ownership21:00
mordredsshnaidm: so I'd love if we could just omit that - and in fact remove the author: line from all of our modules21:00
sshnaidmmordred, I think we can add like "Openstack Team" as an author21:04
sshnaidmmordred, ansible-test objects if we omit: "invalid-documentation: DOCUMENTATION.author: required key not provided @ data['author']. Got None"21:06
mordredsshnaidm: ok. so we do need author21:08
mordredsshnaidm: let's change it to "OpenStack Ansible SIG https://wiki.openstack.org/wiki/Ansible_SIG" :)21:08
mordred(I think that's the best url for the sig I can find)21:08
sshnaidmmordred, we can do "Openstack Team (@openstack)", github nickname is still required :)21:13
sshnaidmurls will break test I think21:13
openstackgerritSagi Shnaidman proposed openstack/ansible-collections-openstack master: Fixes for modules generation script  https://review.opendev.org/73596821:19
sshnaidmmordred, ^21:19
*** holser has quit IRC21:24
sshnaidmmordred, ansible-test wants to know what is exactly removal_date of os_* modules..21:26
sshnaidmlet's say 1 year..?21:26
mordredsshnaidm: ansible-test is nosy21:34
mordredsshnaidm: I'm going to submit a patch to ansible-test to remove the requirement for the github nickname21:34
sshnaidmhttps://github.com/ansible/ansible/blob/fc448ea54f1595e8d24e72abd9b5245ec6165842/test/lib/ansible_test/_data/sanity/validate-modules/validate_modules/schema.py#L2921:35
sshnaidmwe can use that, but it's very ugly in docs21:35
mordredI'm gonna try something21:36
mordredsshnaidm: https://github.com/ansible/ansible/pull/7010521:41
mordredlet's see where that goes - I'm willing to tilt at a windmill here for a bit21:41
mordredsshnaidm: \o/21:48
sshnaidmmordred, ++21:56
*** dtantsur|afk has quit IRC22:04
*** tobberydberg has quit IRC22:08
*** tobberydberg has joined #openstack-ansible-sig22:09
*** dtantsur has joined #openstack-ansible-sig22:12
*** dtantsur has quit IRC22:18
*** dtantsur has joined #openstack-ansible-sig22:18
*** gshippey has quit IRC22:31
*** holser has joined #openstack-ansible-sig22:31
*** iurygregory has quit IRC22:33
*** dmsimard has quit IRC22:33
*** ysandeep|away has quit IRC22:33
*** mwhahaha has quit IRC22:33
*** owalsh has quit IRC22:33
*** mnaser has quit IRC22:33
*** holser has quit IRC22:33
*** dmellado has quit IRC22:33
*** redrobot has quit IRC22:33
*** logan- has quit IRC22:33
*** EmilienM has quit IRC22:33
*** johanssone has quit IRC22:33
*** tobberydberg has quit IRC22:33
*** gundalow has quit IRC22:33
*** ChanServ has quit IRC22:33
*** odyssey4me has quit IRC22:33
*** sshnaidm has quit IRC22:33
*** openstackgerrit has quit IRC22:33
*** dtantsur has quit IRC22:33
*** zbr has quit IRC22:33
*** evrardjp has quit IRC22:33
*** jrosser has quit IRC22:33
*** noonedeadpunk has quit IRC22:33
*** rpittau|afk has quit IRC22:33
*** cyberpear has quit IRC22:33
*** mordred has quit IRC22:33
*** trident has quit IRC22:33
*** baptistemm has quit IRC22:33
*** ysandeep|away has joined #openstack-ansible-sig22:37
*** redrobot has joined #openstack-ansible-sig22:37
*** dmellado has joined #openstack-ansible-sig22:37
*** holser has joined #openstack-ansible-sig22:37
*** mwhahaha has joined #openstack-ansible-sig22:37
*** johanssone has joined #openstack-ansible-sig22:37
*** EmilienM has joined #openstack-ansible-sig22:37
*** mordred has joined #openstack-ansible-sig22:37
*** cyberpear has joined #openstack-ansible-sig22:37
*** rpittau|afk has joined #openstack-ansible-sig22:37
*** noonedeadpunk has joined #openstack-ansible-sig22:37
*** jrosser has joined #openstack-ansible-sig22:37
*** evrardjp has joined #openstack-ansible-sig22:37
*** zbr has joined #openstack-ansible-sig22:37
*** dtantsur has joined #openstack-ansible-sig22:37
*** logan- has joined #openstack-ansible-sig22:37
*** owalsh has joined #openstack-ansible-sig22:37
*** trident has joined #openstack-ansible-sig22:37
*** baptistemm has joined #openstack-ansible-sig22:37
*** ChanServ has joined #openstack-ansible-sig22:37
*** dmsimard has joined #openstack-ansible-sig22:37
*** tepper.freenode.net sets mode: +o ChanServ22:37
*** iurygregory has joined #openstack-ansible-sig22:37
*** sshnaidm has joined #openstack-ansible-sig22:38
*** openstackgerrit has joined #openstack-ansible-sig22:38
*** cyberpear has quit IRC22:38
*** odyssey4me has joined #openstack-ansible-sig22:38
*** tobberydberg has joined #openstack-ansible-sig22:38
*** gundalow has joined #openstack-ansible-sig22:38
*** mnaser has joined #openstack-ansible-sig22:39
*** holser has quit IRC22:39
*** mwhahaha has quit IRC22:39
*** jrosser has quit IRC22:40
*** gundalow has quit IRC22:41
*** mnaser has quit IRC22:41
*** mwhahaha has joined #openstack-ansible-sig22:43
*** gundalow has joined #openstack-ansible-sig22:43
*** jrosser has joined #openstack-ansible-sig22:43
*** holser has joined #openstack-ansible-sig22:44
*** cyberpear has joined #openstack-ansible-sig22:47
*** mnaser has joined #openstack-ansible-sig22:48
*** cyberpear has quit IRC22:49
*** cyberpear has joined #openstack-ansible-sig22:49
sshnaidmci/run-ansible-tests-collection.sh: line 101: tox: command not found22:59
sshnaidmmordred, tox is not included as well in tox jobs?23:00
sshnaidmfor some reason it's only for branchful jobs23:04
mordredsshnaidm: we might need to add ensure-tox role -- but I think I've seen sdk functional tests pass today - so I'm not sure what's wrong there23:07
sshnaidmmaster job pass..23:10
openstackgerritSagi Shnaidman proposed openstack/ansible-collections-openstack master: Add tox to requirements  https://review.opendev.org/73606223:12
openstackgerritSagi Shnaidman proposed openstack/ansible-collections-openstack master: DNM test jobs  https://review.opendev.org/73210023:13
mordredsshnaidm: oh - are all of those things using devstack from a stable branch?23:20
sshnaidmmordred, yes23:21
mordredthere's some issues with devstack on stable branches atm23:21
sshnaidmmordred, devstack installs finally, but job fails when trying "tox -ebuild" for building collection23:22
mordredyeah23:22
mordredso - base images in opendev changed and tox, pip and virtualenv are no longer installed by default23:22
mordredjobs need to add the ensure-tox role in a pre playbook if they need them23:22
mordredso somewhere in our chain we're likely missing that23:23
mordredsshnaidm: clarkb confirms there are fixes up for devstack that have died in the gate for other reasons ... so there may just be a thing we need to untangle that's related to all of this23:23
sshnaidmmordred, ack, then I'll let it fix itself :)23:24
mordredsshnaidm: we may still have to do something - but we should likely let the dust settle before we dig _too_ much :)23:24
*** spatel has joined #openstack-ansible-sig23:52
*** spatel has quit IRC23:57

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