Bug 2138108

Summary: OC+Octavia: External deployment Post Deploy tasks fail on Write group_vars file
Product: Red Hat OpenStack Reporter: Pavel Sedlák <psedlak>
Component: openstack-tripleo-heat-templatesAssignee: OSP Team <rhos-maint>
Status: CLOSED DUPLICATE QA Contact: Joe H. Rahme <jhakimra>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16.2 (Train)CC: mblue, mburns, ramishra
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-10-27 10:31:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavel Sedlák 2022-10-27 09:23:20 UTC
Overcloud deployment fails on Write group_vars file for octavia_ansible_group_vars.

Seems the issue appears only in setups with octavia
(  --environment-file /usr/share/openstack-tripleo-heat-templates/environments/services/octavia.yaml )

> 2022-10-26 14:22:31,499 p=593 u=mistral n=ansible | PLAY [External deployment Post Deploy tasks] ***********************************
> 2022-10-26 14:22:31,569 p=593 u=mistral n=ansible | 2022-10-26 14:22:31.569569 | 5254003d-0f0b-0137-186c-0000000000f4 |       TASK | External deployment Post Deploy tasks
> 2022-10-26 14:22:31,633 p=593 u=mistral n=ansible | 2022-10-26 14:22:31.633180 | 5254003d-0f0b-0137-186c-0000000000f4 |         OK | External deployment Post Deploy tasks | undercloud -> localhost | result={
>     "changed": false,
>     "msg": "Use --start-at-task \"External deployment Post Deploy tasks\" to resume from this task"
> }
> 2022-10-26 14:22:31,634 p=593 u=mistral n=ansible | [WARNING]: ('undercloud -> localhost', '5254003d-0f0b-0137-186c-0000000000f4')
> missing from stats
> 
> 2022-10-26 14:22:31,693 p=593 u=mistral n=ansible | 2022-10-26 14:22:31.693139 | 5254003d-0f0b-0137-186c-0000000000f8 |       TASK | Set up group_vars
> 2022-10-26 14:22:31,756 p=593 u=mistral n=ansible | 2022-10-26 14:22:31.755863 | 5254003d-0f0b-0137-186c-0000000000f8 |         OK | Set up group_vars | undercloud
> 2022-10-26 14:22:31,815 p=593 u=mistral n=ansible | 2022-10-26 14:22:31.814903 | 5254003d-0f0b-0137-186c-0000000000f9 |       TASK | Make needed directories on the undercloud
> 2022-10-26 14:22:32,182 p=593 u=mistral n=ansible | 2022-10-26 14:22:32.181432 | 5254003d-0f0b-0137-186c-0000000000f9 |    CHANGED | Make needed directories on the undercloud | undercloud | item=/var/lib/mistral/overcloud/octavia-ansible
> 2022-10-26 14:22:32,390 p=593 u=mistral n=ansible | 2022-10-26 14:22:32.390387 | 5254003d-0f0b-0137-186c-0000000000f9 |    CHANGED | Make needed directories on the undercloud | undercloud | item=/var/lib/mistral/overcloud/octavia-ansible/local_dir
> 2022-10-26 14:22:32,646 p=593 u=mistral n=ansible | 2022-10-26 14:22:32.646617 | 5254003d-0f0b-0137-186c-0000000000f9 |    CHANGED | Make needed directories on the undercloud | undercloud | item=/var/lib/mistral/overcloud/octavia-ansible/group_vars
> 2022-10-26 14:22:32,712 p=593 u=mistral n=ansible | 2022-10-26 14:22:32.711942 | 5254003d-0f0b-0137-186c-0000000000fa |       TASK | Write group_vars file
> 2022-10-26 14:22:33,078 p=593 u=mistral n=ansible | 2022-10-26 14:22:33.077666 | 5254003d-0f0b-0137-186c-0000000000fa |      FATAL | Write group_vars file | undercloud | error={"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}

Versions involved:
> ansible.noarch                                2.9.27-1.el8ae                               @rhosp-ansible-2.9                
> ansible-collections-openstack.noarch          1.8.0-2.20220513065417.5bb8312.el8ost        @rhelosp-16.2                     
> ansible-config_template.noarch                2.0.1-2.20220929005149.2ccc59f.el8ost        @rhelosp-16.2                     
> openstack-tripleo-heat-templates.noarch       11.6.1-2.20221010235131.e0d438c.el8ost       @rhelosp-16.2                     
> tripleo-ansible.noarch                        0.8.1-2.20221005190228.f251fee.el8ost        @rhelosp-16.2

Comment 5 Rabi Mishra 2022-10-27 10:31:18 UTC

*** This bug has been marked as a duplicate of bug 2136489 ***