Tuesday, 2020-11-24

*** qur70 has quit IRC00:03
*** spatel has joined #openstack-ansible-sig00:30
*** spatel has quit IRC00:35
*** spatel has joined #openstack-ansible-sig01:06
*** spatel has quit IRC02:01
*** iurygregory has quit IRC02:25
*** evrardjp has quit IRC05:33
*** evrardjp has joined #openstack-ansible-sig05:33
*** iurygregory has joined #openstack-ansible-sig07:02
*** spatel has joined #openstack-ansible-sig07:31
*** gtema has joined #openstack-ansible-sig07:32
*** spatel has quit IRC07:35
*** openstackgerrit has joined #openstack-ansible-sig08:57
openstackgerritMark Chappell proposed openstack/ansible-collections-openstack master: New Module: volume_type  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/75756208:57
openstackgerritMark Chappell proposed openstack/ansible-collections-openstack master: New Module: volume_type  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/75756208:59
sshnaidmgtema, tremble please review, moving to 2.10 as main release: https://review.opendev.org/c/openstack/ansible-collections-openstack/+/76383809:21
gtemaok09:22
* tremble has a look09:23
sshnaidmfor ansible devel 2.11 will fix later09:25
tremblesshnaidm, Dumb question why do the queens tests run against openstacksdk master, and the rocky-ussuri tests run against the relevant stable branches?  That's going to block testing things based on new features of the SDK is it not?09:31
sshnaidmqueens is a special because ansible modules don't support SDK of queens branch09:32
sshnaidmwe support from sdk .12, and it's after queens iirc09:32
sshnaidmnew features of sdk should check sdk version09:33
trembleOh and skip the tests if the SDK version is unsupported?09:34
trembleok, that makes more sense.09:34
sshnaidmhttps://opendev.org/openstack/ansible-collections-openstack/src/branch/master/plugins/module_utils/openstack.py#L320-L34009:35
sshnaidmyep ^09:35
sshnaidmtremble, because some users use old version of sdk that is delivered together with old version of openstack09:35
sshnaidmit's very difficult to explain that sdk of latest version can be used with older openstack versions09:36
trembleSo we need to make sure that existing things don't break, while still providing a mechanism for folks to test against master09:36
trembleOk, that makes sense09:36
sshnaidmmaybe because of that openstack SDK should be just branchless? :)09:36
sshnaidmgtema, ^09:37
*** iurygregory has quit IRC09:37
gtemawell, we can't simply go branchless09:37
sshnaidmif latest version is supposed to work with all versions below, why to use stable branches for it?09:37
gtemaone reason is that some components use SDK inside (nova, ironic)09:37
gtemaI would tend to say - we can stop testing those09:38
* tremble wishes the SDK was more complete, but from experience so far that's not going to be a small task09:38
gtemawith 0.8 guys working on it - sure09:39
trembleOuch, not even 1 FTE09:39
gtemaworking hard from my side09:39
gtemasurely not09:39
gtemamyself I do this also not as a dedicated person09:39
gtemahopefully this cycle we will get 100% nova coverage09:40
trembleWell I'll continue to throw things over when I need them.  It's good having a boss who lets me spend time on things like that rather than adding hacky shell scripts09:40
gtemaat least this is a target to achieve for OSC, but it depends on SDK09:40
gtemayeah, how right you are09:41
gtemahacking bash scripts is not cool09:41
tremblegtema, Any chance you could take a look at https://review.opendev.org/c/openstack/openstacksdk/+/756655 and https://review.opendev.org/c/openstack/openstacksdk/+/757891 I've tested them with https://review.opendev.org/c/openstack/ansible-collections-openstack/+/763838 and the unit tests are there, I have no idea where to start with any SDK functional tests09:42
gtemayes, I am trying09:43
gtemaI didn't forget those09:43
tremble:)09:43
*** iurygregory has joined #openstack-ansible-sig09:43
trembleTook me a while to realize what the unit tests were doing under the hood and how that interacted with the particular non-normal API I needed to interact with09:44
gtemaonce zuul verifies them I will proceed09:44
trembleThat's fair enough09:44
gtemayes, SDK tests are interesting. As the SDK as such09:44
tremble./openstack/tests/unit/block_storage/v3/test_proxy.py:92:80: E501 line too long (80 > 79 characters10:27
tremble        self._verify2("openstack.block_storage.v3.type.Type.delete_extra_specs",10:27
trembleBah!10:27
*** spatel has joined #openstack-ansible-sig10:31
*** spatel has quit IRC10:36
*** SiavashSardari has joined #openstack-ansible-sig10:59
openstackgerritMerged openstack/ansible-collections-openstack master: Move CI jobs to base on Ansible 2.10 release  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/76383811:06
openstackgerritShnaidman Sagi  proposed openstack/ansible-collections-openstack master: Add victoria stable branch job  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/76396211:20
*** gtema has quit IRC11:29
SiavashSardarihey guys, I have a question about subnet plugin in ansible collections. these lines here https://opendev.org/openstack/ansible-collections-openstack/src/branch/master/plugins/modules/subnet.py#L349-L350 cause me error for updating subnets, I wanted to create a story and upload a patch to resolve my issue, but I'd appreciate your input on this,11:51
SiavashSardarimaybe there are use cases here that I don't see11:51
sshnaidmSiavashSardari, we don't know what is the error you have, so better I think is to create a story11:53
sshnaidmSiavashSardari, https://storyboard.openstack.org/#!/project/openstack/ansible-collections-openstack11:54
SiavashSardariThanks11:54
*** gtema has joined #openstack-ansible-sig12:09
sshnaidmSiavashSardari, commented on bug12:10
sshnaidmyou can't just remove lines because they throw an error..12:11
sshnaidmit's not really how things are being fixed12:11
SiavashSardarisshnaidm you are absolutely right, I will provide more info asap12:15
openstackgerritShnaidman Sagi  proposed openstack/ansible-collections-openstack master: WIP fix Ansible devel jobs  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/76396612:28
SiavashSardarisshnaidm I updated the bug description.12:34
sshnaidmSiavashSardari, sorry, it doesn't male things more clear, you have only variables there and no any value. Can you please replace "item.." with real values?12:55
sshnaidmSiavashSardari, for reproducing it we need something real12:56
sshnaidmSiavashSardari, easy playbook for reproducing would be very appreciated12:58
SiavashSardarisshnaidm ok I will update the description, sorry for the inconvenience, I'm new here. but let me explain here too, the subnet module code will add new allocation pool to the old allocation pool, which is against the descriptive nature of ansible.13:02
sshnaidmSiavashSardari, what are pools you have before task?13:02
sshnaidmSiavashSardari, you are running subnet task on existing subnet, right?13:03
SiavashSardarisshnaidm I had 172.16.16.65,172.16.16.254 and I didn't change it. I just wanted to enable dhcp on my subnet. yep I'm running the task on an existing subnet which was created by the same task, before13:05
sshnaidmSiavashSardari, cool13:05
sshnaidmSiavashSardari, and is this new task exactly same as one that created subnet?13:05
sshnaidmI see that "need_update" is true, so I suppose something is changing..?13:06
SiavashSardarisshnaidm yes it is, only change is enable_dhcp13:06
sshnaidmSiavashSardari, great, can you please paste this task? But with real values, not variables13:07
sshnaidmI'll try to reproduce it13:07
SiavashSardariwill do13:07
SiavashSardarisshnaidm now that I'm writing it more simply, I remembered that I had the same issue with updating dns_nameservers on subnets too.13:16
sshnaidmSiavashSardari, ok13:16
sshnaidmSiavashSardari, add dns case as well13:17
SiavashSardariok13:18
SiavashSardarisshnaidm the description is updated. shall I go on and upload a patch regarding this issue?13:27
sshnaidmSiavashSardari, thanks I've reproduced it, I'm working on a fix13:28
sshnaidmSiavashSardari, can you add same for dns case?13:28
SiavashSardarisshnaidm I tried to explain how to reproduce the dns case in the description as well.13:29
openstackgerritSiavash Sardari proposed openstack/ansible-collections-openstack master: Remove adding allocation pool to existing allocation pool. updating subnet info should take care of allocation pools too, this will cause conflict exception and is against the descriptive nature of ansible, thus there is no need toadding new pool to the existing pool.  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/76397413:30
sshnaidmSiavashSardari, thanks13:30
sshnaidmSiavashSardari, please add empty line after first line in commit message13:59
SiavashSardariok14:00
openstackgerritSiavash Sardari proposed openstack/ansible-collections-openstack master: Remove adding allocation pool to existing allocation pool.  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/76397414:02
*** SiavashSardari has quit IRC14:37
-openstackstatus- NOTICE: The Gerrit service on review.opendev.org is being restarted quickly to troubleshoot an SMTP queuing backlog, downtime should be less than 5 minutes16:41
openstackgerritShnaidman Sagi  proposed openstack/ansible-collections-openstack master: Fix subnets update and idempotency  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/76404317:37
openstackgerritShnaidman Sagi  proposed openstack/ansible-collections-openstack master: Fix volume_info arguments for SDK 0.19  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/76404617:49
openstackgerritShnaidman Sagi  proposed openstack/ansible-collections-openstack master: Add tests for volume_info module  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/74641317:52
*** iurygregory has quit IRC17:59
*** gtema has quit IRC18:26
*** iurygregory has joined #openstack-ansible-sig18:27
*** gtema has joined #openstack-ansible-sig18:32
*** gtema has quit IRC18:34
openstackgerritMerged openstack/ansible-collections-openstack master: Add victoria stable branch job  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/76396218:56
*** qur70 has joined #openstack-ansible-sig20:10
*** qur70 has quit IRC20:15
openstackgerritAnanya Banerjee proposed openstack/ansible-collections-openstack master: Migrating server_volume from AnsibleModule to OpenStackModule  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/76406020:36
openstackgerritShnaidman Sagi  proposed openstack/ansible-collections-openstack master: Fix Ansible devel jobs  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/76396620:40
openstackgerritAnanya Banerjee proposed openstack/ansible-collections-openstack master: Migrating networks_info from AnsibleModule to OpenStackModule  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/76354321:01
openstackgerritAnanya Banerjee proposed openstack/ansible-collections-openstack master: Migrating server_volume from AnsibleModule to OpenStackModule  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/76406021:15
*** frenzy_friday has quit IRC23:04
openstackgerritShnaidman Sagi  proposed openstack/ansible-collections-openstack master: Add tests for volume_info module  https://review.opendev.org/c/openstack/ansible-collections-openstack/+/74641323:55
*** openstackgerrit has quit IRC23:59

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