Unable to use overcloud extract network due to missing auth plugin

Bug #1943848 reported by Lance Bragstad
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
New
Undecided
Unassigned

Bug Description

I'm using RDO master packages and I get the following error when I attempt to extract my network data for the overcloud stack.

[stack@undercloud ~]$ openstack --os-cloud undercloud token issue
+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| expires | 2021-09-16T20:39:40+0000 |
| id | gAAAAABhQ3NM4MpWg8nVn_8hVbvjzh5ttRd05zjPakoieAqmGUVjvLwToQ95S2l6Q6uR97NSRyKy17-Jsw2R-aL4jKRqsmyYRTND9ZleT9Hg88fKF_y5zo44HZpJEAaGKHJ4xB16zzmVlBzA6cD69wTWZoJJL_L5M0PCD0jy-TSjzonD1Axe4kc |
| project_id | 44c9e871dd684d518c283749345e79bb |
| user_id | dbf3de110e4d478d82cf5d0c8fea01f5 |
+------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
[stack@undercloud ~]$ openstack --os-cloud undercloud overcloud network extract --stack overcloud -o net-data.yaml

PLAY [Overcloud Network Extract Networks] **************************************
2021-09-16 16:39:47.223377 | fa163e2f-4a52-930b-518e-000000000008 | SKIPPED | fail | localhost
2021-09-16 16:39:47.225470 | fa163e2f-4a52-930b-518e-000000000008 | TIMING | fail | localhost | 0:00:00.109902 | 0.04s
2021-09-16 16:39:47.266972 | fa163e2f-4a52-930b-518e-000000000009 | SKIPPED | fail | localhost
2021-09-16 16:39:47.268405 | fa163e2f-4a52-930b-518e-000000000009 | TIMING | fail | localhost | 0:00:00.152833 | 0.04s
2021-09-16 16:39:47.273131 | fa163e2f-4a52-930b-518e-00000000000a | TASK | Check if output file exists
2021-09-16 16:39:47.632293 | fa163e2f-4a52-930b-518e-00000000000a | OK | Check if output file exists | localhost
2021-09-16 16:39:47.635122 | fa163e2f-4a52-930b-518e-00000000000a | TIMING | Check if output file exists | localhost | 0:00:00.519545 | 0.36s
2021-09-16 16:39:47.678605 | fa163e2f-4a52-930b-518e-00000000000b | SKIPPED | fail | localhost
2021-09-16 16:39:47.680223 | fa163e2f-4a52-930b-518e-00000000000b | TIMING | fail | localhost | 0:00:00.564656 | 0.04s
2021-09-16 16:39:47.686275 | fa163e2f-4a52-930b-518e-00000000000d | TASK | Get network data from overcloud stack
2021-09-16 16:39:49.128138 | fa163e2f-4a52-930b-518e-00000000000d | FATAL | Get network data from overcloud stack | localhost | error={"changed": false, "error": "Auth plugin requires parameters which were not given: auth_url", "msg
": "Error getting network data from overcloud stack overcloud: %Auth plugin requires parameters which were not given: auth_url", "network_data": [], "success": false}
2021-09-16 16:39:49.129711 | fa163e2f-4a52-930b-518e-00000000000d | TIMING | Get network data from overcloud stack | localhost | 0:00:02.014145 | 1.44s

NO MORE HOSTS LEFT *************************************************************

PLAY RECAP *********************************************************************
localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=3 rescued=0 ignored=0
2021-09-16 16:39:49.133496 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-09-16 16:39:49.133859 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Total Tasks: 5 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-09-16 16:39:49.134302 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Elapsed Time: 0:00:02.018751 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-09-16 16:39:49.134642 | UUID | Info | Host | Task Name | Run Time
2021-09-16 16:39:49.135006 | fa163e2f-4a52-930b-518e-00000000000d | SUMMARY | localhost | Get network data from overcloud stack | 1.44s
2021-09-16 16:39:49.135385 | fa163e2f-4a52-930b-518e-00000000000a | SUMMARY | localhost | Check if output file exists | 0.36s
2021-09-16 16:39:49.135712 | fa163e2f-4a52-930b-518e-000000000008 | SUMMARY | localhost | fail | 0.04s
2021-09-16 16:39:49.136128 | fa163e2f-4a52-930b-518e-00000000000b | SUMMARY | localhost | fail | 0.04s
2021-09-16 16:39:49.136489 | fa163e2f-4a52-930b-518e-000000000009 | SUMMARY | localhost | fail | 0.04s
2021-09-16 16:39:49.136796 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ End Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-09-16 16:39:49.137190 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ State Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-09-16 16:39:49.137524 | ~~~~~~~~~~~~~~~~~~ Number of nodes which did not deploy successfully: 1 ~~~~~~~~~~~~~~~~~
2021-09-16 16:39:49.137834 | The following node(s) had failures: localhost
2021-09-16 16:39:49.138239 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ansible execution failed. playbook: /usr/share/ansible/tripleo-playbooks/cli-overcloud-network-extract.yaml, Run Status: failed, Return Code: 2
Exception occured while running the command
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/tripleoclient/command.py", line 34, in run
    super(Command, self).run(parsed_args)
  File "/usr/lib/python3.6/site-packages/osc_lib/command/command.py", line 39, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python3.6/site-packages/cliff/command.py", line 186, in run
    return_code = self.take_action(parsed_args) or 0
  File "/usr/lib/python3.6/site-packages/tripleoclient/v2/overcloud_network.py", line 77, in take_action
    extra_vars=extra_vars,
  File "/usr/lib/python3.6/site-packages/tripleoclient/utils.py", line 727, in run_ansible_playbook
    raise RuntimeError(err_msg)
RuntimeError: Ansible execution failed. playbook: /usr/share/ansible/tripleo-playbooks/cli-overcloud-network-extract.yaml, Run Status: failed, Return Code: 2
Ansible execution failed. playbook: /usr/share/ansible/tripleo-playbooks/cli-overcloud-network-extract.yaml, Run Status: failed, Return Code: 2

It appears the clouds.yaml is readable and the stack user can access it, but for some reason invoking it with overcloud network extract breaks.

This deployment is using heat in the undercloud and --heat-type installed in the overcloud deploy.

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.