os_ansible_tempest fails w/ create_network() got an unexpected keyword argument 'dns_domain'

Bug #1860810 reported by wes hayutin
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
tripleo
Won't Fix
High
Unassigned

Bug Description

2020-01-24 18:16:05.895993 | primary |
2020-01-24 18:16:05.896211 | primary | TASK [os_tempest : Ensure private network exists] ******************************
2020-01-24 18:16:05.940750 | primary | Friday 24 January 2020 18:16:05 +0000 (0:00:00.196) 1:35:35.079 ********
2020-01-24 18:16:12.004153 | primary | FAILED - RETRYING: Ensure private network exists (5 retries left).
2020-01-24 18:16:25.548731 | primary | FAILED - RETRYING: Ensure private network exists (4 retries left).
2020-01-24 18:16:38.986953 | primary | FAILED - RETRYING: Ensure private network exists (3 retries left).
2020-01-24 18:16:52.383842 | primary | FAILED - RETRYING: Ensure private network exists (2 retries left).
2020-01-24 18:17:06.006093 | primary | FAILED - RETRYING: Ensure private network exists (1 retries left).
2020-01-24 18:17:19.396391 | primary | An exception occurred during task execution. To see the full traceback, use -vvv. The error was: TypeError: create_network() got an unexpected keyword argument 'dns_domain'
2020-01-24 18:17:19.397265 | primary | fatal: [undercloud -> 127.0.0.2]: FAILED! => {
2020-01-24 18:17:19.397329 | primary | "attempts": 5,
2020-01-24 18:17:19.397397 | primary | "changed": false,
2020-01-24 18:17:19.397453 | primary | "rc": 1
2020-01-24 18:17:19.397484 | primary | }
2020-01-24 18:17:19.397501 | primary |
2020-01-24 18:17:19.397520 | primary | MSG:
2020-01-24 18:17:19.397535 | primary |
2020-01-24 18:17:19.397564 | primary | MODULE FAILURE
2020-01-24 18:17:19.397620 | primary | See stdout/stderr for the exact error
2020-01-24 18:17:19.397647 | primary |
2020-01-24 18:17:19.397672 | primary |
2020-01-24 18:17:19.397701 | primary | MODULE_STDERR:
2020-01-24 18:17:19.397716 | primary |
2020-01-24 18:17:19.397768 | primary | Traceback (most recent call last):
2020-01-24 18:17:19.397826 | primary | File "<stdin>", line 102, in <module>
2020-01-24 18:17:19.397885 | primary | File "<stdin>", line 94, in _ansiballz_main
2020-01-24 18:17:19.397953 | primary | File "<stdin>", line 40, in invoke_module
2020-01-24 18:17:19.398088 | primary | File "/usr/lib64/python2.7/runpy.py", line 176, in run_module
2020-01-24 18:17:19.398171 | primary | fname, loader, pkg_name)
2020-01-24 18:17:19.398275 | primary | File "/usr/lib64/python2.7/runpy.py", line 82, in _run_module_code
2020-01-24 18:17:19.398351 | primary | mod_name, mod_fname, mod_loader, pkg_name)
2020-01-24 18:17:19.398435 | primary | File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
2020-01-24 18:17:19.398483 | primary | exec code in run_globals
2020-01-24 18:17:19.398649 | primary | File "/tmp/ansible_os_network_payload_rPEMo_/ansible_os_network_payload.zip/ansible/modules/cloud/openstack/os_network.py", line 255, in <module>
2020-01-24 18:17:19.399531 | primary | File "/tmp/ansible_os_network_payload_rPEMo_/ansible_os_network_payload.zip/ansible/modules/cloud/openstack/os_network.py", line 232, in main
2020-01-24 18:17:19.399719 | primary | TypeError: create_network() got an unexpected keyword argument 'dns_domain'
2020-01-24 18:17:19.399763 | primary |
2020-01-24 18:17:19.439676 | primary |
2020-01-24 18:17:19.439861 | primary | NO MORE HOSTS LEFT ***************************************

Revision history for this message
Takashi Kajinami (kajinamit) wrote :

It seems that the error is caused by the bug in ansible openstack module [1].

[1] https://github.com/ansible/ansible/issues/64495

Revision history for this message
chandan kumar (chkumar246) wrote :
Revision history for this message
chandan kumar (chkumar246) wrote :

We need openstack (0.35.0) for the same

Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :

This is due to https://github.com/ansible/ansible/commit/6c74e29618a6872bc0da66e4992cfcd9cebf6acc which unfortunately did not include a bump of openstacksdk to be 0.29 at minimum.

Revision history for this message
Jesse Pretorius (jesse-pretorius) wrote :

I've pushed up https://github.com/ansible/ansible/pull/66944 to ensure that the upstream minimum is updated.

tags: added: alert
Revision history for this message
wes hayutin (weshayutin) wrote :

https://github.com/ansible/ansible/pull/66944 is the proposed merged patch. reopen if it comes back

Revision history for this message
wes hayutin (weshayutin) wrote :

oops.. not merged.. waiting on
https://github.com/ansible/ansible/pull/66952

wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
tags: added: promotion-blocker
Revision history for this message
Marios Andreou (marios-b) wrote :

looks like that merged https://github.com/ansible/ansible/pull/66952 are we still seeing this in upstream jobs? I am going to move to fix released please move back if you disagree @weshay @chandan thanks

Changed in tripleo:
status: Triaged → Fix Released
status: Fix Released → In Progress
Revision history for this message
Marios Andreou (marios-b) wrote :

14:44 < chandankumar> marios|ruck, keep it open, until we get a proper fix
14:45 < chandankumar> it depends on ansible 2.9 and latest openstack sdk version for stein

Revision history for this message
Alfredo Moralejo (amoralej) wrote :

This is affecting only stein or what releases?, note we can not update the version of openstacksdk to latest one from master in stein. In stein we follow stable/stein branch.

WRT ansible, to bump it to 2.9 in stein, check my mail in http://lists.openstack.org/pipermail/openstack-discuss/2020-March/013355.html we need to get https://bugs.launchpad.net/tripleo/+bug/1867608 fixed

wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.